Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",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.01111/0.01111, 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.001198/0.001198, allocations: 171.3 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.627/1.627, allocations: 170.9 MB / 187.6 MB, free: 0.9648 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.2578/0.2578, allocations: 38.1 MB / 265.1 MB, free: 3.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004958, allocations: 8 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09781/0.09835, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.03492/0.1333, allocations: 21.61 MB / 393.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01761/0.151, allocations: 6.022 MB / 399.9 MB, free: 1.125 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004631/0.1557, allocations: 111.8 kB / 400 MB, free: 1.016 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004332/0.1601, allocations: 1.151 MB / 401.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01198/0.1721, allocations: 3.051 MB / 404.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003167/0.1753, allocations: 0.5616 MB / 404.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00583/0.1812, allocations: 2.024 MB / 406.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006521/0.1878, allocations: 2.814 MB / 409.6 MB, free: 7.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.19, allocations: 0.8486 MB / 410.5 MB, free: 6.488 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002641/0.1927, allocations: 1.117 MB / 411.6 MB, free: 5.367 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000839/0.1936, allocations: 132 kB / 411.7 MB, free: 5.238 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.1956, allocations: 0.5227 MB / 412.2 MB, free: 4.715 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002494/0.1982, allocations: 1.383 MB / 413.6 MB, free: 3.328 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.1995, allocations: 0.7803 MB / 414.4 MB, free: 2.539 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008239/0.2078, allocations: 4.969 MB / 419.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2079, allocations: 0 / 419.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.2079, allocations: 0 / 419.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002204/0.2081, allocations: 0 / 419.4 MB, free: 13.55 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: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.009933/0.2181, allocations: 3.474 MB / 422.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.2182, allocations: 16.02 kB / 422.9 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002158/0.2203, allocations: 0.7454 MB / 423.6 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02205/0.2424, allocations: 3.664 MB / 427.3 MB, free: 5.566 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006145/0.2486, allocations: 1.822 MB / 429.1 MB, free: 3.695 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002878/0.2489, allocations: 212.9 kB / 429.3 MB, free: 3.484 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/0.2504, allocations: 255.8 kB / 429.6 MB, free: 3.234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.301/0.5514, allocations: 10.5 MB / 440.1 MB, free: 53.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001923/0.5517, allocations: 29.84 kB / 440.1 MB, free: 53.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001408/0.5531, allocations: 132.3 kB / 440.2 MB, free: 53.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007786/0.5609, allocations: 2.433 MB / 442.7 MB, free: 52.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02718/0.5881, allocations: 9.359 MB / 452 MB, free: 49.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06955/0.6577, allocations: 38.86 MB / 490.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009004/0.6668, allocations: 3.499 MB / 494.4 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01562/0.6825, allocations: 5.478 MB / 499.9 MB, free: 1.203 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.6826, allocations: 47.06 kB / 499.9 MB, free: 1.148 MB / 330.7 MB Notification: Performance of pre-optimization done (n=153): time 6.402e-06/0.6826, allocations: 0 / 499.9 MB, free: 1.148 MB / 330.7 MB Notification: Performance of matching and sorting (n=153): time 0.01337/0.696, allocations: 3.872 MB / 0.492 GB, free: 13.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.6962, allocations: 170.8 kB / 0.4921 GB, free: 12.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0101/0.7063, allocations: 3.903 MB / 0.4959 GB, free: 9.066 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003537/0.7067, allocations: 43.58 kB / 0.496 GB, free: 9.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003842/0.7105, allocations: 3.305 MB / 0.4992 GB, free: 5.719 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001272/0.7119, allocations: 0.627 MB / 0.4998 GB, free: 5.098 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008392/0.7127, allocations: 125.5 kB / 0.4999 GB, free: 4.977 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0007747/0.7136, allocations: 0.5949 MB / 0.5005 GB, free: 4.375 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005894/0.7195, allocations: 1.969 MB / 0.5024 GB, free: 2.402 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01005/0.7296, allocations: 6.238 MB / 0.5085 GB, free: 10.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009211/0.7389, allocations: 3.508 MB / 0.512 GB, free: 6.516 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001803/0.7391, allocations: 47.94 kB / 0.512 GB, free: 6.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02235/0.7615, allocations: 7.852 MB / 0.5197 GB, free: 14.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.7617, allocations: 70.19 kB / 0.5197 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002742/0.762, allocations: 155.9 kB / 0.5199 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002985/0.7623, allocations: 228 kB / 0.5201 GB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009365/0.7717, allocations: 1.501 MB / 0.5216 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003968/0.7721, allocations: 294.8 kB / 0.5219 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007179/0.7793, allocations: 0.9363 MB / 0.5228 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001403/0.7808, allocations: 417.6 kB / 0.5232 GB, free: 11.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * 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 (816): * Single equations (assignments): 808 * Array equations: 8 * 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.006179/0.787, allocations: 2.275 MB / 0.5254 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008191/0.7878, allocations: 319.8 kB / 0.5257 GB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.7893, allocations: 416 kB / 0.5261 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001227/0.7894, allocations: 37.64 kB / 0.5261 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.7895, allocations: 0 / 0.5261 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/0.7895, allocations: 11.97 kB / 0.5261 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/0.8073, allocations: 5.681 MB / 0.5317 GB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-05/0.8074, allocations: 4 kB / 0.5317 GB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/0.8095, allocations: 219.7 kB / 0.5319 GB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.61e-05/0.8096, allocations: 12 kB / 0.5319 GB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002735/0.8098, allocations: 31.77 kB / 0.5319 GB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.442e-05/0.8099, allocations: 12.31 kB / 0.5319 GB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.291e-05/0.8099, allocations: 11.94 kB / 0.532 GB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006155/0.8161, allocations: 3.242 MB / 0.5351 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/0.8173, allocations: 396.4 kB / 0.5355 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/0.8183, allocations: 35.92 kB / 0.5355 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002434/0.8208, allocations: 63.52 kB / 0.5356 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005279/0.8214, allocations: 88.39 kB / 0.5357 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/0.8216, allocations: 44 kB / 0.5357 GB, free: 13.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.006829/0.8284, allocations: 2.379 MB / 0.538 GB, free: 11.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.8285, allocations: 0 / 0.538 GB, free: 11.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007595/0.8361, allocations: 1.124 MB / 0.5391 GB, free: 10.31 MB / 394.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.007515/0.8437, allocations: 5.377 MB / 0.5444 GB, free: 4.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01183/0.8556, allocations: 4.483 MB / 0.5488 GB, free: 300 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.59e-05/0.8556, allocations: 4 kB / 0.5488 GB, free: 296 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002593/0.8582, allocations: 0.9571 MB / 0.5497 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/0.861, allocations: 326.1 kB / 0.55 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3412/1.202, allocations: 123.8 MB / 0.6709 GB, free: 42.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006858/1.209, allocations: 3.353 MB / 0.6742 GB, free: 41.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01044/1.22, allocations: 2.271 MB / 0.6764 GB, free: 41.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003916/1.224, allocations: 1.738 MB / 0.6781 GB, free: 40.19 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/1.224, allocations: 4.531 kB / 0.6781 GB, free: 40.19 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1498/1.374, allocations: 64.59 MB / 0.7412 GB, free: 2.586 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003549/1.374, allocations: 186.8 kB / 0.7414 GB, free: 2.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.882/6.256, allocations: 0 / 0.7414 GB, free: 2.34 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat