Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove.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.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.397/2.397, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.53e-05/3.551e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3402, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.5308, allocations: 98.49 MB / 456.6 MB, free: 12.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.5312, allocations: 71.97 kB / 456.7 MB, free: 12.24 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.6485/1.18, allocations: 90.63 MB / 0.5345 GB, free: 33.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.18, allocations: 0 / 0.5345 GB, free: 33.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000279/1.18, allocations: 84 kB / 0.5346 GB, free: 33.77 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: 1594 * Number of variables: 1594 Notification: Performance of Generate backend data structure: time 0.01888/1.199, allocations: 4.758 MB / 0.5392 GB, free: 28.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/1.199, allocations: 8.031 kB / 0.5392 GB, free: 28.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01692/1.216, allocations: 2.236 MB / 0.5414 GB, free: 26.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01874/1.235, allocations: 5.071 MB / 0.5463 GB, free: 21.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/1.235, allocations: 136 kB / 0.5465 GB, free: 21.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002462/1.238, allocations: 256 kB / 0.5467 GB, free: 21.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01591/1.254, allocations: 6.799 MB / 0.5534 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02478/1.278, allocations: 10.13 MB / 0.5632 GB, free: 3.195 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002291/1.279, allocations: 55.47 kB / 0.5633 GB, free: 3.141 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001627/1.28, allocations: 32 kB / 0.5633 GB, free: 3.109 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00224/1.283, allocations: 1.155 MB / 0.5645 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08352/1.366, allocations: 49.3 MB / 0.6126 GB, free: 15.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009137/1.375, allocations: 4.412 MB / 0.6169 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006298/1.382, allocations: 3.059 MB / 0.6199 GB, free: 7.562 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001897/1.384, allocations: 1.343 MB / 0.6212 GB, free: 5.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007165/1.391, allocations: 3.118 MB / 0.6243 GB, free: 2.836 MB / 458.7 MB Notification: Performance of pre-optimization done (n=217): time 7.935e-06/1.391, allocations: 0 / 0.6243 GB, free: 2.836 MB / 458.7 MB Notification: Performance of matching and sorting (n=284): time 0.422/1.813, allocations: 24.97 MB / 0.6486 GB, free: 104.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.543e-05/1.813, allocations: 166.6 kB / 0.6488 GB, free: 104.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005983/1.819, allocations: 3.166 MB / 0.6519 GB, free: 104.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008489/1.82, allocations: 29.33 kB / 0.6519 GB, free: 104.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003187/1.823, allocations: 3.249 MB / 0.6551 GB, free: 102.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001743/1.825, allocations: 1.017 MB / 0.6561 GB, free: 102 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007827/1.826, allocations: 3.75 kB / 0.6561 GB, free: 102 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004074/1.826, allocations: 0.5943 MB / 0.6567 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006481/1.833, allocations: 3.057 MB / 0.6596 GB, free: 101.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009083/1.842, allocations: 6.765 MB / 0.6663 GB, free: 96.65 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009895/1.852, allocations: 4.485 MB / 0.6706 GB, free: 95.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/1.852, allocations: 37.39 kB / 0.6707 GB, free: 95.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.03391/1.886, allocations: 11.32 MB / 0.6817 GB, free: 92.03 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/1.886, allocations: 98.47 kB / 0.6818 GB, free: 92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001779/1.886, allocations: 131 kB / 0.6819 GB, free: 92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01256/1.899, allocations: 2.66 MB / 0.6845 GB, free: 91.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01278/1.912, allocations: 1.514 MB / 0.686 GB, free: 90.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05324/1.965, allocations: 20.38 MB / 0.7059 GB, free: 72.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01121/1.976, allocations: 311.4 kB / 0.7062 GB, free: 72.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001879/1.978, allocations: 401.9 kB / 0.7066 GB, free: 72.07 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,rod3.color[3],rod3.color[2],rod3.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (788): * Single equations (assignments): 780 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.002092/1.98, allocations: 452.7 kB / 0.707 GB, free: 71.62 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02191/2.002, allocations: 7.354 MB / 0.7142 GB, free: 65.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/2.004, allocations: 371.2 kB / 0.7146 GB, free: 65.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02092/2.024, allocations: 7.316 MB / 0.7217 GB, free: 59.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.898e-05/2.025, allocations: 37.28 kB / 0.7217 GB, free: 59.38 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-05/2.025, allocations: 10.31 kB / 0.7218 GB, free: 59.37 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-05/2.025, allocations: 12.19 kB / 0.7218 GB, free: 59.37 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03887/2.064, allocations: 13.53 MB / 0.735 GB, free: 48.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.106e-05/2.064, allocations: 4 kB / 0.735 GB, free: 48.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004007/2.068, allocations: 394.4 kB / 0.7354 GB, free: 48.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01083/2.079, allocations: 2.43 MB / 0.7377 GB, free: 46.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007216/2.079, allocations: 8 kB / 0.7377 GB, free: 46.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03632/2.116, allocations: 20.13 MB / 0.7574 GB, free: 25.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/2.116, allocations: 0 / 0.7574 GB, free: 25.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02124/2.137, allocations: 7.856 MB / 0.7651 GB, free: 17.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003281/2.14, allocations: 0.9295 MB / 0.766 GB, free: 16.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/2.141, allocations: 4 kB / 0.766 GB, free: 16.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004105/2.146, allocations: 171.6 kB / 0.7662 GB, free: 16.67 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001323/2.147, allocations: 193.5 kB / 0.7663 GB, free: 16.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003731/2.147, allocations: 68 kB / 0.7664 GB, free: 16.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005096/2.152, allocations: 2.116 MB / 0.7685 GB, free: 14.31 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.32e-07/2.152, allocations: 0 / 0.7685 GB, free: 14.31 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009229/2.162, allocations: 1.178 MB / 0.7696 GB, free: 13.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 181 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(2,100.0%) 14} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.02404/2.186, allocations: 9.222 MB / 0.7786 GB, free: 3.887 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02144/2.207, allocations: 8.149 MB / 0.7866 GB, free: 11.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/2.207, allocations: 3.938 kB / 0.7866 GB, free: 11.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01094/2.218, allocations: 3.715 MB / 0.7902 GB, free: 7.941 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003712/2.222, allocations: 327.2 kB / 0.7905 GB, free: 7.625 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3676/2.59, allocations: 11.52 MB / 0.8018 GB, free: 127.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008826/2.599, allocations: 3.669 MB / 0.8054 GB, free: 126.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005634/2.604, allocations: 2.085 MB / 0.8074 GB, free: 126.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.764e-06/2.604, allocations: 0 / 0.8074 GB, free: 126.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.645/7.249, allocations: 166.4 MB / 0.9699 GB, free: 3.465 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat