Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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) 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 ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01106/0.01107, allocations: 103.5 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001222/0.001222, allocations: 164.9 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.605/1.605, allocations: 170.9 MB / 187.5 MB, free: 1 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2529/0.2529, allocations: 38.08 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004885, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0893/0.08983, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.03734/0.1272, allocations: 24.72 MB / 397 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01791/0.1452, allocations: 6.313 MB / 403.3 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004814/0.1501, allocations: 111.8 kB / 403.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004591/0.1547, allocations: 1.264 MB / 404.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01542/0.1702, allocations: 3.775 MB / 408.5 MB, free: 8.559 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.1727, allocations: 375.4 kB / 408.8 MB, free: 8.191 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005005/0.1777, allocations: 1.984 MB / 410.8 MB, free: 6.203 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005055/0.1828, allocations: 2.253 MB / 413.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/0.1849, allocations: 0.8875 MB / 414 MB, free: 3.008 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002694/0.1876, allocations: 1.254 MB / 415.2 MB, free: 1.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008135/0.1885, allocations: 136 kB / 415.4 MB, free: 1.617 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002341/0.1908, allocations: 0.6514 MB / 416 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002174/0.193, allocations: 1.387 MB / 417.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001225/0.1943, allocations: 0.757 MB / 418.1 MB, free: 14.81 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007767/0.2021, allocations: 4.747 MB / 422.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2022, allocations: 0 / 422.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.115e-06/0.2022, allocations: 0 / 422.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001887/0.2024, allocations: 0 / 422.9 MB, free: 10.05 MB / 330.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.00916/0.2115, allocations: 3.45 MB / 426.3 MB, free: 6.531 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.2116, allocations: 12.02 kB / 426.4 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002184/0.2138, allocations: 0.7204 MB / 427.1 MB, free: 5.789 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02304/0.2369, allocations: 3.731 MB / 430.8 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2728/0.5097, allocations: 2.137 MB / 432.9 MB, free: 56.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005342/0.5104, allocations: 189.5 kB / 433.1 MB, free: 56.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001994/0.5124, allocations: 250.1 kB / 433.4 MB, free: 56.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02866/0.5411, allocations: 10.41 MB / 443.8 MB, free: 53.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001831/0.5414, allocations: 31.06 kB / 443.8 MB, free: 53.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001363/0.5427, allocations: 118.1 kB / 443.9 MB, free: 53.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007274/0.55, allocations: 2.553 MB / 446.5 MB, free: 52.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02844/0.5785, allocations: 9.479 MB / 456 MB, free: 46.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06294/0.6415, allocations: 32.46 MB / 488.4 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008825/0.6504, allocations: 3.363 MB / 491.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/0.6519, allocations: 1.311 MB / 493.1 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.652, allocations: 47.88 kB / 493.1 MB, free: 8.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=187): time 5.541e-06/0.652, allocations: 0 / 493.1 MB, free: 8.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=193): time 0.03651/0.6885, allocations: 10.32 MB / 0.4917 GB, free: 14.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.6886, allocations: 94.45 kB / 0.4917 GB, free: 14.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005713/0.6944, allocations: 2.734 MB / 0.4944 GB, free: 11.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003395/0.6948, allocations: 53.7 kB / 0.4945 GB, free: 11.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002976/0.6978, allocations: 2.737 MB / 0.4971 GB, free: 8.648 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001209/0.699, allocations: 0.7097 MB / 0.4978 GB, free: 7.945 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004559/0.6995, allocations: 96 kB / 0.4979 GB, free: 7.852 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004595/0.7, allocations: 0.5168 MB / 0.4984 GB, free: 7.328 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004389/0.7044, allocations: 1.536 MB / 0.4999 GB, free: 5.785 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007159/0.7116, allocations: 4.412 MB / 0.5042 GB, free: 15.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006672/0.7183, allocations: 2.617 MB / 0.5068 GB, free: 13.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001077/0.7185, allocations: 32 kB / 0.5068 GB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01687/0.7354, allocations: 5.871 MB / 0.5126 GB, free: 7.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.7355, allocations: 48 kB / 0.5126 GB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001824/0.7357, allocations: 108.8 kB / 0.5127 GB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005415/0.7363, allocations: 188.8 kB / 0.5129 GB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006746/0.743, allocations: 1.08 MB / 0.5139 GB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/0.7456, allocations: 1.706 MB / 0.5156 GB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004338/0.75, allocations: 215.9 kB / 0.5158 GB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000984/0.751, allocations: 300.6 kB / 0.5161 GB, free: 3.645 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * 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 (602): * Single equations (assignments): 595 * 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.005463/0.7565, allocations: 2.021 MB / 0.5181 GB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006135/0.7571, allocations: 248.7 kB / 0.5183 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006883/0.764, allocations: 2.534 MB / 0.5208 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-05/0.7641, allocations: 20 kB / 0.5208 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.7642, allocations: 0 / 0.5208 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.998e-05/0.7642, allocations: 11.91 kB / 0.5208 GB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02381/0.788, allocations: 8.151 MB / 0.5288 GB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.778e-05/0.7881, allocations: 15.97 kB / 0.5288 GB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002252/0.7904, allocations: 251.6 kB / 0.529 GB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/0.7907, allocations: 56.83 kB / 0.5291 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002812/0.791, allocations: 43.75 kB / 0.5291 GB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.793, allocations: 1.523 MB / 0.5306 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-05/0.7931, allocations: 16.31 kB / 0.5306 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/0.8038, allocations: 4.868 MB / 0.5354 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001809/0.8057, allocations: 0.5016 MB / 0.5359 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005673/0.8063, allocations: 43.98 kB / 0.5359 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.8078, allocations: 67.53 kB / 0.536 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003757/0.8082, allocations: 120.7 kB / 0.5361 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/0.8084, allocations: 63.98 kB / 0.5362 GB, free: 14.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004054/0.8125, allocations: 1.678 MB / 0.5378 GB, free: 12.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.002e-06/0.8125, allocations: 0 / 0.5378 GB, free: 12.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005487/0.818, allocations: 0.8292 MB / 0.5386 GB, free: 11.82 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * 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.01117/0.8292, allocations: 8.177 MB / 0.5466 GB, free: 3.324 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009928/0.8392, allocations: 3.858 MB / 0.5504 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/0.8393, allocations: 4 kB / 0.5504 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003177/0.8425, allocations: 1.233 MB / 0.5516 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/0.8449, allocations: 299 kB / 0.5518 GB, free: 13.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3521/1.197, allocations: 95.12 MB / 0.6447 GB, free: 81.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007119/1.204, allocations: 3.274 MB / 0.6479 GB, free: 79.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007369/1.212, allocations: 1.728 MB / 0.6496 GB, free: 79.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003662/1.215, allocations: 1.75 MB / 0.6513 GB, free: 78.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.522e-06/1.215, allocations: 0 / 0.6513 GB, free: 78.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1307/1.346, allocations: 56.79 MB / 0.7068 GB, free: 26.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/1.346, allocations: 195.4 kB / 0.707 GB, free: 25.96 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.821/6.167, allocations: 0 / 0.707 GB, free: 25.96 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat