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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.531/2.531, allocations: 235.1 MB / 243 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.668e-05/2.677e-05, allocations: 4 kB / 303.3 MB, free: 3.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.36, allocations: 54.87 MB / 358.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2049/0.5651, allocations: 94.72 MB / 452.9 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.5654, allocations: 79.95 kB / 452.9 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6478/1.213, allocations: 83.19 MB / 0.5236 GB, free: 75.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.415e-06/1.213, allocations: 8 kB / 0.5236 GB, free: 75.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000178/1.213, allocations: 67.2 kB / 0.5236 GB, free: 75.26 MB / 410.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.01243/1.226, allocations: 3.515 MB / 0.5271 GB, free: 71.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.226, allocations: 8.031 kB / 0.5271 GB, free: 71.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02622/1.252, allocations: 3.504 MB / 0.5305 GB, free: 68.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01572/1.268, allocations: 4.177 MB / 0.5346 GB, free: 63.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002735/1.268, allocations: 124 kB / 0.5347 GB, free: 63.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002608/1.271, allocations: 231.9 kB / 0.5349 GB, free: 63.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01642/1.287, allocations: 7.032 MB / 0.5418 GB, free: 56.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02526/1.313, allocations: 9.202 MB / 0.5508 GB, free: 46.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002098/1.313, allocations: 31.81 kB / 0.5508 GB, free: 46.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002359/1.315, allocations: 15.94 kB / 0.5508 GB, free: 46.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00281/1.318, allocations: 1.163 MB / 0.5519 GB, free: 45.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06188/1.38, allocations: 29.71 MB / 0.5809 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004727/1.385, allocations: 2.939 MB / 0.5838 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/1.387, allocations: 1.035 MB / 0.5848 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001495/1.389, allocations: 1.31 MB / 0.5861 GB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/1.389, allocations: 43.88 kB / 0.5862 GB, free: 9.734 MB / 410.7 MB Notification: Performance of pre-optimization done (n=189): time 5.912e-06/1.389, allocations: 0 / 0.5862 GB, free: 9.734 MB / 410.7 MB Notification: Performance of matching and sorting (n=195): time 0.02786/1.417, allocations: 8.012 MB / 0.594 GB, free: 1.625 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/1.417, allocations: 94.42 kB / 0.5941 GB, free: 1.516 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005294/1.422, allocations: 2.236 MB / 0.5963 GB, free: 15.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004056/1.423, allocations: 29.7 kB / 0.5963 GB, free: 15.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003248/1.426, allocations: 2.834 MB / 0.599 GB, free: 12.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00132/1.427, allocations: 0.7054 MB / 0.5997 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005446/1.428, allocations: 4.031 kB / 0.5997 GB, free: 11.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005556/1.428, allocations: 0.5379 MB / 0.6003 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004092/1.432, allocations: 1.486 MB / 0.6017 GB, free: 9.594 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00776/1.44, allocations: 4.609 MB / 0.6062 GB, free: 3.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007129/1.447, allocations: 2.682 MB / 0.6088 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001323/1.448, allocations: 32 kB / 0.6089 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01728/1.465, allocations: 5.447 MB / 0.6142 GB, free: 11.24 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/1.465, allocations: 53.09 kB / 0.6142 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003284/1.465, allocations: 112 kB / 0.6143 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/1.467, allocations: 200.8 kB / 0.6145 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008139/1.475, allocations: 1.181 MB / 0.6157 GB, free: 9.695 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/1.478, allocations: 1.627 MB / 0.6173 GB, free: 7.949 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004833/1.482, allocations: 131.8 kB / 0.6174 GB, free: 7.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001449/1.484, allocations: 328 kB / 0.6177 GB, free: 7.504 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 509 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (648): * Single equations (assignments): 641 * 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.001605/1.486, allocations: 384.3 kB / 0.6181 GB, free: 7.121 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005929/1.492, allocations: 2.139 MB / 0.6202 GB, free: 4.969 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007852/1.492, allocations: 244.8 kB / 0.6204 GB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006865/1.499, allocations: 2.432 MB / 0.6228 GB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-05/1.499, allocations: 20 kB / 0.6228 GB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/1.499, allocations: 7.953 kB / 0.6228 GB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/1.499, allocations: 3.984 kB / 0.6228 GB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02068/1.52, allocations: 6.91 MB / 0.6296 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.791e-05/1.52, allocations: 16.09 kB / 0.6296 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002246/1.522, allocations: 267.5 kB / 0.6298 GB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002815/1.523, allocations: 60.77 kB / 0.6299 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001999/1.523, allocations: 27.98 kB / 0.6299 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/1.525, allocations: 1.428 MB / 0.6313 GB, free: 9.223 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.984e-05/1.525, allocations: 19.88 kB / 0.6313 GB, free: 9.203 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/1.535, allocations: 4.869 MB / 0.6361 GB, free: 3.879 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001986/1.537, allocations: 0.4978 MB / 0.6366 GB, free: 3.359 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006336/1.538, allocations: 15.98 kB / 0.6366 GB, free: 3.344 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/1.54, allocations: 35.95 kB / 0.6366 GB, free: 3.309 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005092/1.54, allocations: 121 kB / 0.6367 GB, free: 3.191 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000212/1.541, allocations: 72.17 kB / 0.6368 GB, free: 3.121 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004283/1.545, allocations: 1.459 MB / 0.6382 GB, free: 1.652 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.545, allocations: 0 / 0.6382 GB, free: 1.652 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006576/1.552, allocations: 0.7076 MB / 0.6389 GB, free: 0.9453 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 137 * 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.01204/1.564, allocations: 8.348 MB / 0.6471 GB, free: 8.246 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009565/1.573, allocations: 3.707 MB / 0.6507 GB, free: 4.547 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/1.573, allocations: 4 kB / 0.6507 GB, free: 4.543 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002864/1.576, allocations: 1.189 MB / 0.6519 GB, free: 3.352 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/1.578, allocations: 216.9 kB / 0.6521 GB, free: 3.137 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4072/1.986, allocations: 8.784 MB / 0.6606 GB, free: 135.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01122/1.997, allocations: 3.27 MB / 0.6638 GB, free: 134.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004517/2.002, allocations: 1.806 MB / 0.6656 GB, free: 134.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.433e-06/2.002, allocations: 3.938 kB / 0.6656 GB, free: 134.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.379/6.38, allocations: 85.67 MB / 0.7493 GB, free: 76.2 MB / 474.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