Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.372/2.372, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006317/0.0006317, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3764, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1862/0.5627, allocations: 99.27 MB / 468.6 MB, free: 7.184 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.563, allocations: 79.95 kB / 468.7 MB, free: 7.105 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6905/1.254, allocations: 79.78 MB / 0.5356 GB, free: 36.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.779e-06/1.254, allocations: 3.984 kB / 0.5356 GB, free: 36.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001599/1.254, allocations: 75.94 kB / 0.5357 GB, free: 36.11 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: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.01246/1.266, allocations: 3.663 MB / 0.5393 GB, free: 32.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.266, allocations: 12.03 kB / 0.5393 GB, free: 32.36 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003577/1.27, allocations: 0.8118 MB / 0.5401 GB, free: 31.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0316/1.302, allocations: 3.375 MB / 0.5434 GB, free: 28.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007847/1.309, allocations: 2.336 MB / 0.5457 GB, free: 25.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003678/1.31, allocations: 304.1 kB / 0.546 GB, free: 25.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0026/1.312, allocations: 403.9 kB / 0.5463 GB, free: 25.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02788/1.34, allocations: 10.74 MB / 0.5568 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001913/1.341, allocations: 43.56 kB / 0.5569 GB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001907/1.343, allocations: 203.9 kB / 0.5571 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0023/1.345, allocations: 1.131 MB / 0.5582 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.024/1.369, allocations: 9.426 MB / 0.5674 GB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08476/1.454, allocations: 46.91 MB / 0.6132 GB, free: 2.062 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009971/1.464, allocations: 3.476 MB / 0.6166 GB, free: 14.31 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01628/1.48, allocations: 5.318 MB / 0.6218 GB, free: 8.844 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.425e-05/1.48, allocations: 47.06 kB / 0.6218 GB, free: 8.789 MB / 458.7 MB Notification: Performance of pre-optimization done (n=153): time 6.151e-06/1.48, allocations: 0 / 0.6218 GB, free: 8.789 MB / 458.7 MB Notification: Performance of matching and sorting (n=153): time 0.01362/1.494, allocations: 3.868 MB / 0.6256 GB, free: 4.805 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.494, allocations: 178.7 kB / 0.6258 GB, free: 4.594 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00998/1.504, allocations: 3.483 MB / 0.6292 GB, free: 1.121 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003329/1.504, allocations: 45.7 kB / 0.6292 GB, free: 1.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004092/1.509, allocations: 3.303 MB / 0.6324 GB, free: 13.72 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001261/1.51, allocations: 0.6175 MB / 0.633 GB, free: 13.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008902/1.511, allocations: 128 kB / 0.6332 GB, free: 12.97 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006925/1.512, allocations: 0.5916 MB / 0.6337 GB, free: 12.37 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005887/1.517, allocations: 1.941 MB / 0.6356 GB, free: 10.42 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01039/1.528, allocations: 6.193 MB / 0.6417 GB, free: 2.094 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3519/1.88, allocations: 3.469 MB / 0.6451 GB, free: 119.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001652/1.88, allocations: 50.53 kB / 0.6451 GB, free: 119.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.02091/1.901, allocations: 7.701 MB / 0.6526 GB, free: 118.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.901, allocations: 69.91 kB / 0.6527 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002222/1.901, allocations: 152.8 kB / 0.6529 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002498/1.902, allocations: 220.9 kB / 0.6531 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009003/1.911, allocations: 1.502 MB / 0.6545 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003464/1.911, allocations: 302.4 kB / 0.6548 GB, free: 118.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007196/1.918, allocations: 0.9307 MB / 0.6557 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001518/1.92, allocations: 402.8 kB / 0.6561 GB, free: 118.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (813): * Single equations (assignments): 807 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006207/1.926, allocations: 2.275 MB / 0.6583 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007773/1.927, allocations: 319.1 kB / 0.6586 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/1.929, allocations: 420.5 kB / 0.659 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001057/1.929, allocations: 36.73 kB / 0.6591 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/1.929, allocations: 0 / 0.6591 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/1.929, allocations: 7.844 kB / 0.6591 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0163/1.945, allocations: 5.763 MB / 0.6647 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.548e-05/1.945, allocations: 10.42 kB / 0.6647 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001861/1.947, allocations: 211.1 kB / 0.6649 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.181e-05/1.947, allocations: 10.47 kB / 0.6649 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/1.947, allocations: 33.95 kB / 0.665 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.671e-05/1.947, allocations: 15.06 kB / 0.665 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.986e-06/1.947, allocations: 11.19 kB / 0.665 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004876/1.952, allocations: 3.228 MB / 0.6681 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/1.953, allocations: 397.8 kB / 0.6685 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008571/1.954, allocations: 25.92 kB / 0.6685 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002215/1.956, allocations: 73.47 kB / 0.6686 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003977/1.957, allocations: 82.88 kB / 0.6687 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.957, allocations: 49.3 kB / 0.6687 GB, free: 115.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006154/1.963, allocations: 2.378 MB / 0.6711 GB, free: 115.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.21e-07/1.963, allocations: 0 / 0.6711 GB, free: 115.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007355/1.971, allocations: 1.132 MB / 0.6722 GB, free: 115.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * 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 (111): * Single equations (assignments): 105 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006158/1.977, allocations: 5.368 MB / 0.6774 GB, free: 111.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01005/1.987, allocations: 4.443 MB / 0.6818 GB, free: 110.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.987, allocations: 7.812 kB / 0.6818 GB, free: 110.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002053/1.989, allocations: 0.9594 MB / 0.6827 GB, free: 109.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/1.992, allocations: 337 kB / 0.683 GB, free: 109.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09762/2.089, allocations: 135.4 MB / 0.8152 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008465/2.098, allocations: 3.365 MB / 0.8185 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00525/2.103, allocations: 1.79 MB / 0.8202 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of SimCode: time 2.134e-06/2.103, allocations: 0 / 0.8202 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.412/6.516, allocations: 77.71 MB / 0.8961 GB, free: 124.6 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat