Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.0117/0.0117, allocations: 108.5 kB / 15.06 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.2.mo): time 0.001395/0.001395, allocations: 181.3 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.081/2.081, allocations: 194.6 MB / 211.3 MB, free: 11.21 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3247/0.3247, allocations: 40.04 MB / 296.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006669/0.000667, allocations: 12 kB / 361.1 MB, free: 9.566 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1273, allocations: 54.89 MB / 416 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.03928/0.1666, allocations: 24.74 MB / 440.8 MB, free: 9.766 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01753/0.1842, allocations: 6.334 MB / 447.1 MB, free: 3.414 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004793/0.1891, allocations: 115.8 kB / 447.2 MB, free: 3.301 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004678/0.1938, allocations: 1.268 MB / 448.5 MB, free: 2.027 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3457/0.5395, allocations: 3.772 MB / 452.2 MB, free: 31.67 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.5418, allocations: 365.6 kB / 452.6 MB, free: 31.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004635/0.5464, allocations: 1.98 MB / 454.6 MB, free: 31.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003994/0.5505, allocations: 2.262 MB / 456.8 MB, free: 31.42 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.5524, allocations: 0.8892 MB / 457.7 MB, free: 31.42 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002532/0.555, allocations: 1.246 MB / 459 MB, free: 31.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007079/0.5557, allocations: 138.6 kB / 459.1 MB, free: 31.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.5577, allocations: 0.6517 MB / 459.8 MB, free: 31.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001696/0.5594, allocations: 1.385 MB / 461.2 MB, free: 31.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00283/0.5623, allocations: 0.7535 MB / 461.9 MB, free: 31.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.5731, allocations: 4.738 MB / 466.6 MB, free: 31.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.5732, allocations: 3.375 kB / 466.6 MB, free: 31.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.477e-06/0.5732, allocations: 0 / 466.6 MB, free: 31.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002671/0.5735, allocations: 0 / 466.6 MB, free: 31.05 MB / 378.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.009935/0.5835, allocations: 3.445 MB / 470.1 MB, free: 29.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.5835, allocations: 13.75 kB / 470.1 MB, free: 29.3 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002218/0.5858, allocations: 0.7189 MB / 470.8 MB, free: 29.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02271/0.6085, allocations: 3.722 MB / 474.5 MB, free: 28.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006586/0.6151, allocations: 2.144 MB / 476.7 MB, free: 28.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002469/0.6154, allocations: 190.8 kB / 476.9 MB, free: 28.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00161/0.6171, allocations: 253.6 kB / 477.1 MB, free: 28.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02699/0.6441, allocations: 10.41 MB / 487.5 MB, free: 27.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001877/0.6443, allocations: 28.66 kB / 487.6 MB, free: 27.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001675/0.646, allocations: 121.1 kB / 487.7 MB, free: 27.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008099/0.6541, allocations: 2.559 MB / 490.2 MB, free: 27.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02996/0.6842, allocations: 9.478 MB / 499.7 MB, free: 26.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06365/0.7479, allocations: 32.46 MB / 0.5197 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.758, allocations: 3.366 MB / 0.523 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001925/0.7599, allocations: 1.306 MB / 0.5243 GB, free: 9.211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/0.76, allocations: 47.88 kB / 0.5243 GB, free: 9.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=187): time 6.352e-06/0.7601, allocations: 4 kB / 0.5243 GB, free: 9.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=193): time 0.03732/0.7974, allocations: 10.32 MB / 0.5344 GB, free: 14.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.7975, allocations: 90.42 kB / 0.5345 GB, free: 14.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006109/0.8036, allocations: 2.736 MB / 0.5372 GB, free: 11.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004147/0.8041, allocations: 49.73 kB / 0.5372 GB, free: 11.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003543/0.8077, allocations: 2.729 MB / 0.5399 GB, free: 8.996 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001442/0.8091, allocations: 0.7135 MB / 0.5406 GB, free: 8.289 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005207/0.8097, allocations: 98.66 kB / 0.5407 GB, free: 8.195 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006027/0.8103, allocations: 0.5205 MB / 0.5412 GB, free: 7.672 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006123/0.8164, allocations: 1.532 MB / 0.5427 GB, free: 6.133 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009573/0.8261, allocations: 4.412 MB / 0.547 GB, free: 300 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009132/0.8353, allocations: 2.624 MB / 0.5495 GB, free: 13.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/0.8354, allocations: 28 kB / 0.5496 GB, free: 13.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.02262/0.8581, allocations: 5.862 MB / 0.5553 GB, free: 7.777 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.8583, allocations: 48 kB / 0.5553 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002116/0.8585, allocations: 100 kB / 0.5554 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006834/0.8592, allocations: 196.8 kB / 0.5556 GB, free: 7.438 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009006/0.8682, allocations: 1.084 MB / 0.5567 GB, free: 6.352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/0.8714, allocations: 1.703 MB / 0.5583 GB, free: 4.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006485/0.8779, allocations: 222.4 kB / 0.5585 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001224/0.8792, allocations: 303.5 kB / 0.5588 GB, free: 4.012 MB / 426.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.006742/0.886, allocations: 2.015 MB / 0.5608 GB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006938/0.8867, allocations: 248.7 kB / 0.561 GB, free: 1.738 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007394/0.8941, allocations: 2.529 MB / 0.5635 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.408e-05/0.8942, allocations: 24 kB / 0.5635 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.8942, allocations: 0 / 0.5635 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.44e-05/0.8943, allocations: 3.984 kB / 0.5635 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02444/0.9187, allocations: 8.148 MB / 0.5715 GB, free: 6.836 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/0.9188, allocations: 8 kB / 0.5715 GB, free: 6.828 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002277/0.9211, allocations: 258.7 kB / 0.5718 GB, free: 6.578 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000302/0.9214, allocations: 60.86 kB / 0.5718 GB, free: 6.516 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000301/0.9217, allocations: 39.98 kB / 0.5718 GB, free: 6.477 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.9238, allocations: 1.529 MB / 0.5733 GB, free: 4.816 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.916e-05/0.9239, allocations: 14.12 kB / 0.5734 GB, free: 4.805 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/0.9348, allocations: 4.872 MB / 0.5781 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/0.9369, allocations: 0.5055 MB / 0.5786 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008287/0.9378, allocations: 43.98 kB / 0.5786 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/0.9398, allocations: 54.61 kB / 0.5787 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005693/0.9405, allocations: 128.7 kB / 0.5788 GB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002172/0.9407, allocations: 62.7 kB / 0.5789 GB, free: 14.72 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005031/0.9458, allocations: 1.686 MB / 0.5805 GB, free: 13.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.9458, allocations: 0 / 0.5805 GB, free: 13.02 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006127/0.952, allocations: 0.823 MB / 0.5813 GB, free: 12.2 MB / 458.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.01247/0.9645, allocations: 8.189 MB / 0.5893 GB, free: 3.691 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01007/0.9746, allocations: 3.841 MB / 0.5931 GB, free: 15.87 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.847e-05/0.9747, allocations: 5.141 kB / 0.5931 GB, free: 15.87 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003339/0.978, allocations: 1.24 MB / 0.5943 GB, free: 14.62 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.9807, allocations: 304.1 kB / 0.5946 GB, free: 14.32 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3885/1.369, allocations: 95.11 MB / 0.6875 GB, free: 99.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007329/1.377, allocations: 3.275 MB / 0.6907 GB, free: 98.67 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007498/1.384, allocations: 1.727 MB / 0.6924 GB, free: 98.56 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004048/1.388, allocations: 1.75 MB / 0.6941 GB, free: 97.11 MB / 490.7 MB Notification: Performance of SimCode: time 2.184e-06/1.388, allocations: 0 / 0.6941 GB, free: 97.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1441/1.533, allocations: 56.8 MB / 0.7495 GB, free: 62.39 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/1.533, allocations: 195.4 kB / 0.7497 GB, free: 62.15 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.255/5.788, allocations: 0 / 0.7497 GB, free: 62.15 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat