Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.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.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.0135/0.01351, allocations: 106 kB / 15.06 MB, free: 6.031 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.001276/0.001276, allocations: 174.5 kB / 15.93 MB, free: 5.965 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.755/1.755, allocations: 170.9 MB / 187.5 MB, free: 1.016 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.2659/0.2659, allocations: 38.1 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006402/0.0006406, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1016, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.03223/0.1339, allocations: 21.28 MB / 393.6 MB, free: 7.496 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01615/0.1501, allocations: 5.86 MB / 399.4 MB, free: 1.621 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00434/0.1545, allocations: 103.8 kB / 399.5 MB, free: 1.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004346/0.1589, allocations: 1.034 MB / 400.6 MB, free: 492 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01352/0.1724, allocations: 3.187 MB / 403.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.175, allocations: 451.2 kB / 404.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002738/0.1778, allocations: 0.94 MB / 405.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004097/0.1819, allocations: 1.961 MB / 407.1 MB, free: 9.898 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009676/0.1829, allocations: 426.5 kB / 407.5 MB, free: 9.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.1841, allocations: 0.5647 MB / 408.1 MB, free: 8.914 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002191/0.1843, allocations: 52 kB / 408.1 MB, free: 8.863 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.1855, allocations: 427.4 kB / 408.5 MB, free: 8.445 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008496/0.1864, allocations: 0.5572 MB / 409.1 MB, free: 7.887 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004305/0.1869, allocations: 300.8 kB / 409.4 MB, free: 7.586 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003029/0.1899, allocations: 1.867 MB / 411.3 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.19, allocations: 0 / 411.3 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.19, allocations: 0 / 411.3 MB, free: 5.715 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.681e-05/0.19, allocations: 0 / 411.3 MB, free: 5.715 MB / 314.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.005138/0.1952, allocations: 1.693 MB / 413 MB, free: 3.965 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.1953, allocations: 8.031 kB / 413 MB, free: 3.957 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006578/0.1959, allocations: 236.8 kB / 413.2 MB, free: 3.715 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/0.1979, allocations: 277.6 kB / 413.5 MB, free: 3.441 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003498/0.2014, allocations: 1.258 MB / 414.7 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.2015, allocations: 90.33 kB / 414.8 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/0.2019, allocations: 116 kB / 414.9 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009162/0.2111, allocations: 2.911 MB / 417.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.091e-05/0.2112, allocations: 11.84 kB / 417.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/0.2114, allocations: 55.94 kB / 417.9 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001026/0.2124, allocations: 413.9 kB / 418.3 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008221/0.2207, allocations: 2.104 MB / 420.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02007/0.2408, allocations: 10.48 MB / 430.9 MB, free: 1.484 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006659/0.2475, allocations: 1.102 MB / 432 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.278/0.5256, allocations: 2.654 MB / 434.7 MB, free: 62.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.5257, allocations: 41.88 kB / 434.7 MB, free: 62.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 3.286e-06/0.5257, allocations: 0 / 434.7 MB, free: 62.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.02029/0.546, allocations: 3.546 MB / 438.2 MB, free: 60.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.5461, allocations: 83.27 kB / 438.3 MB, free: 60.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/0.5485, allocations: 1.285 MB / 439.6 MB, free: 60.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.525e-05/0.5487, allocations: 32.5 kB / 439.6 MB, free: 60.31 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000799/0.5495, allocations: 0.9241 MB / 440.6 MB, free: 59.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.5497, allocations: 195.9 kB / 440.8 MB, free: 59.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/0.5498, allocations: 29.94 kB / 440.8 MB, free: 59.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.55, allocations: 364.5 kB / 441.1 MB, free: 59.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.551, allocations: 383.9 kB / 441.5 MB, free: 58.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.5525, allocations: 1.192 MB / 442.7 MB, free: 57.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/0.5543, allocations: 0.65 MB / 443.4 MB, free: 57.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.619e-05/0.5544, allocations: 8.5 kB / 443.4 MB, free: 57.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.004178/0.5585, allocations: 1.629 MB / 445 MB, free: 56.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/0.5586, allocations: 19.84 kB / 445 MB, free: 56.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.305e-05/0.5587, allocations: 28.88 kB / 445 MB, free: 56.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003143/0.559, allocations: 93.14 kB / 445.1 MB, free: 56.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.561, allocations: 345.9 kB / 445.5 MB, free: 56.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.5629, allocations: 1.72 MB / 447.2 MB, free: 55.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.5646, allocations: 74.64 kB / 447.3 MB, free: 55.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.5647, allocations: 82.44 kB / 447.3 MB, free: 55.23 MB / 330.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.001304/0.5661, allocations: 0.6232 MB / 448 MB, free: 54.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/0.5663, allocations: 113.7 kB / 448.1 MB, free: 54.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.568, allocations: 0.6578 MB / 448.7 MB, free: 54.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.5681, allocations: 9.531 kB / 448.7 MB, free: 54.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.5681, allocations: 2.547 kB / 448.7 MB, free: 54.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.5681, allocations: 0 / 448.7 MB, free: 54.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004697/0.5728, allocations: 2.133 MB / 450.9 MB, free: 53.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.5729, allocations: 4.625 kB / 450.9 MB, free: 53.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006501/0.5735, allocations: 93.12 kB / 451 MB, free: 53.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002822/0.5738, allocations: 63.12 kB / 451 MB, free: 53.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.5739, allocations: 18.59 kB / 451.1 MB, free: 53.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.5759, allocations: 1.764 MB / 452.8 MB, free: 51.65 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.5759, allocations: 6.469 kB / 452.8 MB, free: 51.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.5781, allocations: 1.206 MB / 454 MB, free: 50.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004914/0.5787, allocations: 218.5 kB / 454.2 MB, free: 50.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.5788, allocations: 14.59 kB / 454.3 MB, free: 50.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006405/0.5795, allocations: 28.64 kB / 454.3 MB, free: 50.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.5796, allocations: 43.31 kB / 454.3 MB, free: 50.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.5797, allocations: 20.16 kB / 454.3 MB, free: 50.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001487/0.5812, allocations: 0.8392 MB / 455.2 MB, free: 50.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5812, allocations: 0 / 455.2 MB, free: 50.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002113/0.5833, allocations: 301.1 kB / 455.5 MB, free: 49.99 MB / 330.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.002732/0.5861, allocations: 2.736 MB / 458.2 MB, free: 47.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002443/0.5886, allocations: 1.026 MB / 459.2 MB, free: 46.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.5886, allocations: 0 / 459.2 MB, free: 46.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007732/0.5894, allocations: 386.3 kB / 459.6 MB, free: 46.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.5908, allocations: 163.2 kB / 459.8 MB, free: 45.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.6032, allocations: 24.42 MB / 484.2 MB, free: 20.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/0.6046, allocations: 1.457 MB / 485.7 MB, free: 19.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001707/0.6063, allocations: 397.3 kB / 486 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008674/0.6072, allocations: 0.5501 MB / 486.6 MB, free: 18.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6072, allocations: 3.938 kB / 486.6 MB, free: 18.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06291/0.6702, allocations: 22.23 MB / 0.4969 GB, free: 12.32 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003425/0.6706, allocations: 204 kB / 0.4971 GB, free: 12.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.253/3.923, allocations: 0 / 0.4971 GB, free: 12.07 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat