Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_Surfaces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.659/1.659, allocations: 171.1 MB / 186.1 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003692, allocations: 12 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08259/0.083, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.359/0.4421, allocations: 82.3 MB / 354.4 MB, free: 7.176 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/0.4425, allocations: 94.44 kB / 354.5 MB, free: 7.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3031/0.7456, allocations: 66.47 MB / 421 MB, free: 10.03 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.7457, allocations: 0 / 421 MB, free: 10.03 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002286/0.7459, allocations: 64 kB / 421 MB, free: 9.969 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.01271/0.7586, allocations: 3.571 MB / 424.6 MB, free: 6.332 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.7587, allocations: 12.03 kB / 424.6 MB, free: 6.32 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002639/0.7614, allocations: 0.6386 MB / 425.3 MB, free: 5.672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01466/0.7761, allocations: 1.941 MB / 427.2 MB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007931/0.7841, allocations: 2.179 MB / 429.4 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003715/0.7845, allocations: 262.8 kB / 429.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001825/0.7863, allocations: 343.8 kB / 430 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2581/1.044, allocations: 8.084 MB / 438.1 MB, free: 75.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002478/1.045, allocations: 48.22 kB / 438.1 MB, free: 75.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00154/1.046, allocations: 170.2 kB / 438.3 MB, free: 75.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001885/1.048, allocations: 0.7828 MB / 439.1 MB, free: 75.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/1.065, allocations: 5.973 MB / 445 MB, free: 75.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04738/1.113, allocations: 39.9 MB / 484.9 MB, free: 46.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/1.117, allocations: 1.589 MB / 486.5 MB, free: 45.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006469/1.123, allocations: 2.838 MB / 489.4 MB, free: 43.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/1.123, allocations: 49.5 kB / 489.4 MB, free: 43.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=80): time 5.26e-06/1.123, allocations: 0 / 489.4 MB, free: 43.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=80): time 0.006505/1.13, allocations: 1.939 MB / 491.4 MB, free: 43.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/1.13, allocations: 190.8 kB / 491.5 MB, free: 42.85 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008925/1.139, allocations: 3.662 MB / 495.2 MB, free: 41.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000188/1.139, allocations: 29.7 kB / 495.2 MB, free: 41.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00288/1.142, allocations: 2.915 MB / 498.1 MB, free: 39.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006252/1.143, allocations: 368.4 kB / 498.5 MB, free: 39.22 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006138/1.143, allocations: 97.5 kB / 498.6 MB, free: 39.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003713/1.144, allocations: 0.5208 MB / 499.1 MB, free: 38.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00322/1.147, allocations: 1.245 MB / 0.4886 GB, free: 38.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0055/1.153, allocations: 4.8 MB / 0.4933 GB, free: 33.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005483/1.158, allocations: 2.416 MB / 0.4957 GB, free: 32.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001235/1.158, allocations: 36.81 kB / 0.4957 GB, free: 32.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01507/1.173, allocations: 5.724 MB / 0.5013 GB, free: 29.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/1.174, allocations: 63.33 kB / 0.5014 GB, free: 29.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001949/1.174, allocations: 129.2 kB / 0.5015 GB, free: 29.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001968/1.174, allocations: 187.1 kB / 0.5017 GB, free: 29.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006571/1.181, allocations: 1.167 MB / 0.5028 GB, free: 29.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000269/1.181, allocations: 247.7 kB / 0.503 GB, free: 29.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00604/1.187, allocations: 0.7614 MB / 0.5038 GB, free: 29.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001139/1.188, allocations: 332.6 kB / 0.5041 GB, free: 29.14 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 585 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (630): * Single equations (assignments): 627 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004597/1.193, allocations: 1.841 MB / 0.5059 GB, free: 28.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007796/1.194, allocations: 330.2 kB / 0.5062 GB, free: 28.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/1.195, allocations: 0.5274 MB / 0.5067 GB, free: 27.69 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-05/1.196, allocations: 8.859 kB / 0.5067 GB, free: 27.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/1.196, allocations: 4 kB / 0.5067 GB, free: 27.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/1.196, allocations: 7.375 kB / 0.5068 GB, free: 27.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009901/1.205, allocations: 3.419 MB / 0.5101 GB, free: 24.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/1.206, allocations: 4 kB / 0.5101 GB, free: 24.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009476/1.206, allocations: 105.9 kB / 0.5102 GB, free: 24.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.436e-05/1.207, allocations: 8 kB / 0.5102 GB, free: 24.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.828e-05/1.207, allocations: 15.94 kB / 0.5102 GB, free: 24.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/1.207, allocations: 4 kB / 0.5102 GB, free: 24.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.207, allocations: 4.281 kB / 0.5102 GB, free: 24.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003356/1.21, allocations: 2.443 MB / 0.5126 GB, free: 22.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/1.212, allocations: 0.5437 MB / 0.5131 GB, free: 21.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/1.213, allocations: 19.28 kB / 0.5132 GB, free: 21.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003137/1.216, allocations: 54.2 kB / 0.5132 GB, free: 21.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/1.217, allocations: 47.31 kB / 0.5133 GB, free: 21.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-05/1.217, allocations: 24 kB / 0.5133 GB, free: 21.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.009001/1.226, allocations: 2.628 MB / 0.5159 GB, free: 19.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.062e-06/1.226, allocations: 7.781 kB / 0.5159 GB, free: 19.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.008556/1.234, allocations: 0.8911 MB / 0.5167 GB, free: 18.62 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0176/1.252, allocations: 3.837 MB / 0.5205 GB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008663/1.261, allocations: 2.887 MB / 0.5233 GB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/1.261, allocations: 0 / 0.5233 GB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/1.262, allocations: 406.7 kB / 0.5237 GB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004289/1.266, allocations: 414.4 kB / 0.5241 GB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3449/1.611, allocations: 117.2 MB / 0.6385 GB, free: 19.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004777/1.616, allocations: 2.941 MB / 0.6414 GB, free: 18.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.007119/1.623, allocations: 1.629 MB / 0.643 GB, free: 18.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003325/1.627, allocations: 1.616 MB / 0.6445 GB, free: 18.85 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/1.627, allocations: 2.812 kB / 0.6445 GB, free: 18.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4425/2.069, allocations: 63.76 MB / 0.7068 GB, free: 94.93 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/2.069, allocations: 188 kB / 0.707 GB, free: 94.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.837/6.907, allocations: 0 / 0.707 GB, free: 94.7 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces_res.mat does not exist to compare? outputFormat=mat