Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.Prismatic.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.304/2.304, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004511/0.0004513, allocations: 20 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3494, allocations: 54.85 MB / 369.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2211/0.5706, allocations: 95.48 MB / 464.8 MB, free: 11.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003615/0.571, allocations: 83.95 kB / 464.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7048/1.276, allocations: 84.62 MB / 0.5367 GB, free: 34.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.235e-06/1.276, allocations: 0 / 0.5367 GB, free: 34.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001749/1.276, allocations: 68 kB / 0.5367 GB, free: 34.79 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.01362/1.29, allocations: 3.659 MB / 0.5403 GB, free: 31.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/1.29, allocations: 8.031 kB / 0.5403 GB, free: 31.05 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003747/1.293, allocations: 0.783 MB / 0.5411 GB, free: 30.26 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02626/1.32, allocations: 3.496 MB / 0.5445 GB, free: 26.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01534/1.335, allocations: 4.202 MB / 0.5486 GB, free: 22.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003755/1.336, allocations: 295.7 kB / 0.5489 GB, free: 22.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002557/1.338, allocations: 395.7 kB / 0.5493 GB, free: 21.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02862/1.367, allocations: 9.946 MB / 0.559 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002082/1.367, allocations: 31.72 kB / 0.559 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002174/1.369, allocations: 179.9 kB / 0.5592 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002554/1.372, allocations: 1.168 MB / 0.5603 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02726/1.399, allocations: 9.424 MB / 0.5695 GB, free: 0.625 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0763/1.476, allocations: 32.43 MB / 0.6012 GB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/1.487, allocations: 3.358 MB / 0.6045 GB, free: 11.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001995/1.489, allocations: 1.303 MB / 0.6057 GB, free: 10.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.525e-05/1.489, allocations: 59.86 kB / 0.6058 GB, free: 10.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=187): time 5.891e-06/1.489, allocations: 0 / 0.6058 GB, free: 10.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=193): time 0.04762/1.536, allocations: 10.29 MB / 0.6158 GB, free: 15.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.537, allocations: 94.42 kB / 0.6159 GB, free: 15.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007266/1.544, allocations: 2.346 MB / 0.6182 GB, free: 13.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004146/1.544, allocations: 49.7 kB / 0.6183 GB, free: 13.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003721/1.548, allocations: 2.73 MB / 0.6209 GB, free: 10.32 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0015/1.55, allocations: 0.7131 MB / 0.6216 GB, free: 9.594 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000609/1.55, allocations: 99.98 kB / 0.6217 GB, free: 9.496 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006681/1.551, allocations: 0.5254 MB / 0.6222 GB, free: 8.961 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006011/1.557, allocations: 1.532 MB / 0.6237 GB, free: 7.422 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009827/1.567, allocations: 4.413 MB / 0.628 GB, free: 1.566 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008944/1.576, allocations: 2.624 MB / 0.6306 GB, free: 14.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001078/1.576, allocations: 28 kB / 0.6306 GB, free: 14.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.02004/1.596, allocations: 5.801 MB / 0.6363 GB, free: 9.102 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.77e-05/1.596, allocations: 48 kB / 0.6363 GB, free: 9.055 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001627/1.596, allocations: 104 kB / 0.6364 GB, free: 8.953 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005101/1.597, allocations: 196.9 kB / 0.6366 GB, free: 8.758 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006601/1.603, allocations: 1.092 MB / 0.6377 GB, free: 7.664 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/1.606, allocations: 1.686 MB / 0.6393 GB, free: 5.844 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00439/1.61, allocations: 215.9 kB / 0.6396 GB, free: 5.633 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/1.611, allocations: 300 kB / 0.6398 GB, free: 5.34 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (601): * Single equations (assignments): 594 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005869/1.617, allocations: 2.016 MB / 0.6418 GB, free: 3.309 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006663/1.618, allocations: 248.7 kB / 0.642 GB, free: 3.062 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007089/1.625, allocations: 2.526 MB / 0.6445 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-05/1.625, allocations: 20 kB / 0.6445 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.625, allocations: 8 kB / 0.6445 GB, free: 496 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.029e-05/1.625, allocations: 7.969 kB / 0.6445 GB, free: 488 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3883/2.014, allocations: 8.173 MB / 0.6525 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/2.014, allocations: 10.47 kB / 0.6525 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/2.016, allocations: 267 kB / 0.6528 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002473/2.016, allocations: 57.2 kB / 0.6528 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002173/2.016, allocations: 43.05 kB / 0.6529 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/2.018, allocations: 1.507 MB / 0.6544 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.616e-05/2.018, allocations: 15.38 kB / 0.6544 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008775/2.027, allocations: 4.91 MB / 0.6592 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/2.028, allocations: 0.5003 MB / 0.6597 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006467/2.029, allocations: 38.86 kB / 0.6597 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/2.031, allocations: 60.95 kB / 0.6598 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003699/2.031, allocations: 121.9 kB / 0.6599 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/2.031, allocations: 66.42 kB / 0.6599 GB, free: 119 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003867/2.035, allocations: 1.602 MB / 0.6615 GB, free: 118.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.91e-07/2.035, allocations: 0 / 0.6615 GB, free: 118.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00578/2.041, allocations: 0.8187 MB / 0.6623 GB, free: 118.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (142): * Single equations (assignments): 135 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0104/2.051, allocations: 8.271 MB / 0.6704 GB, free: 114.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008389/2.06, allocations: 3.84 MB / 0.6741 GB, free: 113.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/2.06, allocations: 1.812 kB / 0.6741 GB, free: 113.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002561/2.063, allocations: 1.242 MB / 0.6753 GB, free: 113.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/2.065, allocations: 305.7 kB / 0.6756 GB, free: 113.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06665/2.131, allocations: 95.48 MB / 0.7689 GB, free: 27.94 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005864/2.137, allocations: 3.28 MB / 0.7721 GB, free: 26.69 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003727/2.141, allocations: 1.795 MB / 0.7738 GB, free: 25.22 MB / 474.7 MB Notification: Performance of SimCode: time 1.814e-06/2.141, allocations: 0 / 0.7738 GB, free: 25.22 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.403/6.544, allocations: 86.12 MB / 0.8579 GB, free: 137.5 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat