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/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.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.213/2.213, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.124e-05/2.122e-05, allocations: 0 / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3404, allocations: 54.86 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1727/0.5131, allocations: 98.51 MB / 456.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.5135, allocations: 87.88 kB / 456.7 MB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.578/1.091, allocations: 78.19 MB / 0.5224 GB, free: 46.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.794e-06/1.092, allocations: 0 / 0.5224 GB, free: 46.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001592/1.092, allocations: 72 kB / 0.5224 GB, free: 46.12 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.01203/1.104, allocations: 3.554 MB / 0.5259 GB, free: 42.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/1.104, allocations: 8.031 kB / 0.5259 GB, free: 42.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02458/1.128, allocations: 3.383 MB / 0.5292 GB, free: 39.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007738/1.136, allocations: 2.325 MB / 0.5315 GB, free: 36.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/1.137, allocations: 132 kB / 0.5316 GB, free: 36.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002337/1.139, allocations: 232 kB / 0.5318 GB, free: 36.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01532/1.154, allocations: 6.682 MB / 0.5384 GB, free: 29.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02421/1.178, allocations: 9.991 MB / 0.5481 GB, free: 18.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002082/1.179, allocations: 47.56 kB / 0.5482 GB, free: 18.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001876/1.181, allocations: 28 kB / 0.5482 GB, free: 18.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002268/1.183, allocations: 1.14 MB / 0.5493 GB, free: 17.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07391/1.257, allocations: 45.87 MB / 0.5941 GB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005463/1.262, allocations: 2.794 MB / 0.5968 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002585/1.265, allocations: 1.024 MB / 0.5978 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/1.265, allocations: 20.75 kB / 0.5979 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/1.265, allocations: 59.31 kB / 0.5979 GB, free: 13.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=179): time 5.921e-06/1.265, allocations: 4 kB / 0.5979 GB, free: 13.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=179): time 0.008159/1.274, allocations: 2.395 MB / 0.6003 GB, free: 11.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/1.274, allocations: 171 kB / 0.6004 GB, free: 11.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007757/1.281, allocations: 3.104 MB / 0.6034 GB, free: 8.203 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000368/1.282, allocations: 25.7 kB / 0.6035 GB, free: 8.172 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004048/1.286, allocations: 3.372 MB / 0.6068 GB, free: 4.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0014/1.287, allocations: 0.7021 MB / 0.6074 GB, free: 4.039 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007047/1.288, allocations: 0 / 0.6074 GB, free: 4.039 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006376/1.289, allocations: 0.6123 MB / 0.608 GB, free: 3.418 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005176/1.294, allocations: 1.9 MB / 0.6099 GB, free: 1.516 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009731/1.304, allocations: 6.438 MB / 0.6162 GB, free: 8.781 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008703/1.313, allocations: 3.583 MB / 0.6197 GB, free: 5.195 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001523/1.313, allocations: 51.94 kB / 0.6197 GB, free: 5.145 MB / 458.7 MB Notification: Performance of matching and sorting (n=925) (initialization): time 0.3606/1.673, allocations: 7.182 MB / 0.6268 GB, free: 107.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002673/1.674, allocations: 74.16 kB / 0.6268 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005336/1.674, allocations: 167 kB / 0.627 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007963/1.675, allocations: 237.8 kB / 0.6272 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01287/1.688, allocations: 1.615 MB / 0.6288 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003471/1.688, allocations: 316.5 kB / 0.6291 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006804/1.695, allocations: 0.814 MB / 0.6299 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/1.697, allocations: 441.7 kB / 0.6303 GB, free: 107.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 746 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (877): * Single equations (assignments): 871 * 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.001736/1.699, allocations: 494 kB / 0.6308 GB, free: 107.7 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005056/1.704, allocations: 2.151 MB / 0.6329 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007408/1.704, allocations: 307.9 kB / 0.6332 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004398/1.709, allocations: 1.897 MB / 0.635 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.889e-05/1.709, allocations: 42.56 kB / 0.6351 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/1.709, allocations: 5 kB / 0.6351 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/1.709, allocations: 5.953 kB / 0.6351 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/1.725, allocations: 5.744 MB / 0.6407 GB, free: 106.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.548e-05/1.725, allocations: 13.89 kB / 0.6407 GB, free: 106.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002207/1.727, allocations: 250 kB / 0.6409 GB, free: 106.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.753e-05/1.727, allocations: 16.62 kB / 0.6409 GB, free: 106.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/1.727, allocations: 11.56 kB / 0.641 GB, free: 106.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.822e-05/1.727, allocations: 22.48 kB / 0.641 GB, free: 106.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/1.727, allocations: 14.34 kB / 0.641 GB, free: 106.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005072/1.732, allocations: 3.609 MB / 0.6445 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009075/1.733, allocations: 382.9 kB / 0.6449 GB, free: 104.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006696/1.734, allocations: 7.562 kB / 0.6449 GB, free: 104.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002066/1.736, allocations: 52 kB / 0.6449 GB, free: 104.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000382/1.737, allocations: 103.1 kB / 0.645 GB, free: 104.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001577/1.737, allocations: 56.77 kB / 0.6451 GB, free: 104.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004484/1.741, allocations: 2.016 MB / 0.6471 GB, free: 104.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.741, allocations: 0 / 0.6471 GB, free: 104.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007336/1.749, allocations: 1.022 MB / 0.6481 GB, free: 104 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * 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.006068/1.755, allocations: 6.215 MB / 0.6541 GB, free: 99.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009446/1.764, allocations: 4.392 MB / 0.6584 GB, free: 99.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/1.764, allocations: 2.953 kB / 0.6584 GB, free: 99.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001993/1.766, allocations: 1.051 MB / 0.6594 GB, free: 99.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/1.769, allocations: 260.2 kB / 0.6597 GB, free: 99.62 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03791/1.807, allocations: 9.086 MB / 0.6686 GB, free: 97.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009782/1.817, allocations: 3.369 MB / 0.6719 GB, free: 95.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00601/1.823, allocations: 1.811 MB / 0.6736 GB, free: 94.36 MB / 458.7 MB Notification: Performance of SimCode: time 2.003e-06/1.823, allocations: 0 / 0.6736 GB, free: 94.36 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.885/5.708, allocations: 76.5 MB / 0.7483 GB, free: 30.09 MB / 458.7 MB 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