Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_PrismaticInit",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.01172/0.01172, allocations: 108.7 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.002141/0.002141, allocations: 180.5 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 1.92/1.92, allocations: 194.6 MB / 211.3 MB, free: 10.95 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.3142/0.3142, allocations: 40.04 MB / 296.5 MB, free: 6.215 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006407/0.0006408, allocations: 16 kB / 361.1 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.117, allocations: 54.88 MB / 416 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.03233/0.1494, allocations: 21.3 MB / 437.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.1655, allocations: 5.868 MB / 443.2 MB, free: 7.277 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003813/0.1693, allocations: 111.6 kB / 443.3 MB, free: 7.168 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00375/0.1731, allocations: 1.038 MB / 444.3 MB, free: 6.125 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0124/0.1856, allocations: 3.187 MB / 447.5 MB, free: 2.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.188, allocations: 439.2 kB / 448 MB, free: 2.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002654/0.1907, allocations: 0.9437 MB / 448.9 MB, free: 1.555 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3039/0.4946, allocations: 1.943 MB / 450.8 MB, free: 32.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009252/0.4956, allocations: 433.5 kB / 451.3 MB, free: 32.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008661/0.4965, allocations: 0.5651 MB / 451.8 MB, free: 32.17 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.4967, allocations: 56.44 kB / 451.9 MB, free: 32.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.4978, allocations: 427.2 kB / 452.3 MB, free: 32.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006494/0.4984, allocations: 0.553 MB / 452.9 MB, free: 32.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003451/0.4988, allocations: 301.9 kB / 453.2 MB, free: 32.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.5014, allocations: 1.864 MB / 455 MB, free: 32.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5015, allocations: 5.469 kB / 455 MB, free: 32.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5015, allocations: 0 / 455 MB, free: 32.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.468e-05/0.5016, allocations: 0 / 455 MB, free: 32.02 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004639/0.5063, allocations: 1.685 MB / 456.7 MB, free: 31.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.5063, allocations: 9.438 kB / 456.7 MB, free: 31.14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000652/0.507, allocations: 241 kB / 457 MB, free: 31.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.509, allocations: 272.7 kB / 457.2 MB, free: 31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003244/0.5122, allocations: 1.271 MB / 458.5 MB, free: 30.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.37e-05/0.5124, allocations: 84.66 kB / 458.6 MB, free: 30.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/0.5126, allocations: 122 kB / 458.7 MB, free: 30.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008376/0.521, allocations: 2.906 MB / 461.6 MB, free: 30.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-05/0.5212, allocations: 15.47 kB / 461.6 MB, free: 30.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/0.5214, allocations: 55.92 kB / 461.7 MB, free: 30.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008999/0.5223, allocations: 412.9 kB / 462.1 MB, free: 30.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00784/0.5301, allocations: 2.111 MB / 464.2 MB, free: 30.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01762/0.5478, allocations: 10.48 MB / 474.7 MB, free: 24.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006273/0.5541, allocations: 1.101 MB / 475.8 MB, free: 24.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00515/0.5593, allocations: 2.653 MB / 478.4 MB, free: 23.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.5594, allocations: 36.56 kB / 478.5 MB, free: 23.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.757e-06/0.5594, allocations: 0 / 478.5 MB, free: 23.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.01937/0.5788, allocations: 3.55 MB / 482 MB, free: 22.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.5789, allocations: 83.17 kB / 482.1 MB, free: 22.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.5815, allocations: 1.282 MB / 483.4 MB, free: 22.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.5817, allocations: 36.58 kB / 483.4 MB, free: 22.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008123/0.5825, allocations: 0.9161 MB / 484.3 MB, free: 21.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000343/0.5829, allocations: 199.2 kB / 484.5 MB, free: 21.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.583, allocations: 28.19 kB / 484.5 MB, free: 21.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.5832, allocations: 370.6 kB / 484.9 MB, free: 21.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.5844, allocations: 386.9 kB / 485.3 MB, free: 21.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.5862, allocations: 1.195 MB / 486.5 MB, free: 20.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.588, allocations: 0.6367 MB / 487.1 MB, free: 20.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-05/0.588, allocations: 7.656 kB / 487.1 MB, free: 20.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.004817/0.5928, allocations: 1.628 MB / 488.8 MB, free: 20.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.298e-05/0.5929, allocations: 21.47 kB / 488.8 MB, free: 20.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.529e-05/0.593, allocations: 32.38 kB / 488.8 MB, free: 20.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003721/0.5934, allocations: 89.47 kB / 488.9 MB, free: 20.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/0.5957, allocations: 338.5 kB / 489.2 MB, free: 20.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.598, allocations: 1.723 MB / 490.9 MB, free: 18.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.5998, allocations: 67.34 kB / 491 MB, free: 18.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/0.6, allocations: 86.05 kB / 491.1 MB, free: 18.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (180): * Single equations (assignments): 179 * Array equations: 0 * 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.001502/0.6015, allocations: 0.6231 MB / 491.7 MB, free: 18.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003247/0.6019, allocations: 115.5 kB / 491.8 MB, free: 18.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.6039, allocations: 0.654 MB / 492.5 MB, free: 18.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.604, allocations: 4.5 kB / 492.5 MB, free: 18.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.604, allocations: 6.203 kB / 492.5 MB, free: 18.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.604, allocations: 7.156 kB / 492.5 MB, free: 18.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005821/0.6099, allocations: 2.132 MB / 494.6 MB, free: 17.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.6099, allocations: 3.703 kB / 494.6 MB, free: 17.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006758/0.6106, allocations: 83.73 kB / 494.7 MB, free: 17.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003237/0.611, allocations: 64.86 kB / 494.8 MB, free: 17.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.611, allocations: 13.56 kB / 494.8 MB, free: 17.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.6131, allocations: 1.765 MB / 496.6 MB, free: 16.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/0.6131, allocations: 6.656 kB / 496.6 MB, free: 16.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.6156, allocations: 1.202 MB / 497.8 MB, free: 16.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006144/0.6162, allocations: 222.7 kB / 498 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.6164, allocations: 16.66 kB / 498 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000664/0.6171, allocations: 22.27 kB / 498 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.6173, allocations: 56 kB / 498.1 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.6173, allocations: 16.61 kB / 498.1 MB, free: 15.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001833/0.6192, allocations: 0.8333 MB / 498.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6192, allocations: 0 / 498.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002348/0.6215, allocations: 307.7 kB / 499.2 MB, free: 15.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (47): * Single equations (assignments): 46 * Array equations: 0 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003678/0.6253, allocations: 2.745 MB / 0.4902 GB, free: 29.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002812/0.6281, allocations: 1.021 MB / 0.4912 GB, free: 29.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.6282, allocations: 1.281 kB / 0.4912 GB, free: 29.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009186/0.6291, allocations: 390.3 kB / 0.4916 GB, free: 29.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.6306, allocations: 159.8 kB / 0.4917 GB, free: 29.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/0.6477, allocations: 24.44 MB / 0.5156 GB, free: 22.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001976/0.6498, allocations: 1.456 MB / 0.517 GB, free: 22.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001921/0.6517, allocations: 397.6 kB / 0.5174 GB, free: 22.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/0.6529, allocations: 0.56 MB / 0.5179 GB, free: 22.08 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/0.6529, allocations: 4 kB / 0.5179 GB, free: 22.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06525/0.7182, allocations: 22.22 MB / 0.5396 GB, free: 7.68 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000315/0.7186, allocations: 203.9 kB / 0.5398 GB, free: 7.434 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.404/4.122, allocations: 0 / 0.5398 GB, free: 7.434 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat