Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01188/0.01189, allocations: 164.6 kB / 15.12 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.695/1.695, allocations: 170.8 MB / 186.6 MB, free: 1.117 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001749/0.001749, allocations: 106.8 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4469/0.4469, allocations: 38.05 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005063/0.0005066, allocations: 19.94 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1046, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.3283/0.433, allocations: 22.5 MB / 434.2 MB, free: 30.17 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01645/0.4495, allocations: 5.669 MB / 439.9 MB, free: 29.92 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005229/0.4548, allocations: 103.5 kB / 440 MB, free: 29.9 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004065/0.4589, allocations: 1.044 MB / 441 MB, free: 29.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01348/0.4724, allocations: 3.87 MB / 444.9 MB, free: 28.88 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002571/0.4751, allocations: 463.4 kB / 445.3 MB, free: 28.86 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003354/0.4785, allocations: 1.845 MB / 447.2 MB, free: 28.64 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003644/0.4822, allocations: 1.967 MB / 449.2 MB, free: 28.37 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.4832, allocations: 0.4901 MB / 449.6 MB, free: 28.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.4848, allocations: 0.7666 MB / 450.4 MB, free: 28.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003252/0.4852, allocations: 52.53 kB / 450.5 MB, free: 28.17 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.4869, allocations: 448.9 kB / 450.9 MB, free: 28.15 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.488, allocations: 0.6036 MB / 451.5 MB, free: 28.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006198/0.4887, allocations: 301.5 kB / 451.8 MB, free: 28 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002997/0.4917, allocations: 1.865 MB / 453.7 MB, free: 27.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4918, allocations: 0 / 453.7 MB, free: 27.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4918, allocations: 0 / 453.7 MB, free: 27.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.159e-05/0.4918, allocations: 0 / 453.7 MB, free: 27.86 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004769/0.4966, allocations: 1.689 MB / 455.3 MB, free: 26.97 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.4967, allocations: 9.531 kB / 455.4 MB, free: 26.97 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007864/0.4975, allocations: 235.4 kB / 455.6 MB, free: 26.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.4996, allocations: 274.7 kB / 455.9 MB, free: 26.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003906/0.5035, allocations: 1.47 MB / 457.3 MB, free: 26.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.272e-05/0.5037, allocations: 94.55 kB / 457.4 MB, free: 26.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.504, allocations: 116.6 kB / 457.5 MB, free: 26.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008622/0.5126, allocations: 2.857 MB / 460.4 MB, free: 25.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.63e-05/0.5128, allocations: 18.22 kB / 460.4 MB, free: 25.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/0.513, allocations: 55.09 kB / 460.5 MB, free: 25.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009975/0.514, allocations: 419 kB / 460.9 MB, free: 25.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008546/0.5225, allocations: 2.059 MB / 462.9 MB, free: 25.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01852/0.5411, allocations: 10.43 MB / 473.4 MB, free: 19.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006416/0.5476, allocations: 1.101 MB / 474.5 MB, free: 18.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.5487, allocations: 377.6 kB / 474.8 MB, free: 18.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00528/0.554, allocations: 2.613 MB / 477.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.5541, allocations: 44.62 kB / 477.5 MB, free: 16.22 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 3.898e-06/0.5541, allocations: 0 / 477.5 MB, free: 16.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=50): time 0.01933/0.5734, allocations: 3.544 MB / 481 MB, free: 14.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.5735, allocations: 86.09 kB / 481.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002191/0.5757, allocations: 1.17 MB / 482.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001246/0.5759, allocations: 36.02 kB / 482.3 MB, free: 13.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007273/0.5766, allocations: 0.9205 MB / 483.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.5769, allocations: 199.4 kB / 483.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-05/0.577, allocations: 30.31 kB / 483.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5771, allocations: 364.8 kB / 483.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.5782, allocations: 381.6 kB / 484.2 MB, free: 11.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.5796, allocations: 1.196 MB / 485.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.5814, allocations: 0.6439 MB / 486 MB, free: 10.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.033e-05/0.5815, allocations: 8.688 kB / 486 MB, free: 10.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.004608/0.5861, allocations: 1.635 MB / 487.7 MB, free: 9.402 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/0.5862, allocations: 16.47 kB / 487.7 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-05/0.5862, allocations: 30.28 kB / 487.7 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/0.5866, allocations: 92.44 kB / 487.8 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.5887, allocations: 338.8 kB / 488.1 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.5906, allocations: 1.714 MB / 489.9 MB, free: 7.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.5922, allocations: 60.98 kB / 489.9 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/0.5924, allocations: 82 kB / 490 MB, free: 7.645 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.001419/0.5939, allocations: 0.6304 MB / 490.6 MB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/0.5942, allocations: 109.9 kB / 490.7 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.596, allocations: 0.6591 MB / 491.4 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.596, allocations: 7.438 kB / 491.4 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5961, allocations: 0 / 491.4 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.5961, allocations: 3.984 kB / 491.4 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004975/0.6011, allocations: 2.134 MB / 493.5 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.6011, allocations: 4.406 kB / 493.5 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006412/0.6017, allocations: 86.17 kB / 493.6 MB, free: 5.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002705/0.602, allocations: 61.23 kB / 493.7 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.6021, allocations: 23.39 kB / 493.7 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.604, allocations: 1.752 MB / 495.5 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.6041, allocations: 10.69 kB / 495.5 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.6063, allocations: 1.009 MB / 496.5 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005752/0.6069, allocations: 212.7 kB / 496.7 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.6071, allocations: 14.38 kB / 496.7 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006232/0.6077, allocations: 32.03 kB / 496.7 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-05/0.6078, allocations: 39.73 kB / 496.8 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.6079, allocations: 18.19 kB / 496.8 MB, free: 2.781 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00141/0.6093, allocations: 0.7451 MB / 497.5 MB, free: 2.363 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6093, allocations: 0 / 497.5 MB, free: 2.363 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002066/0.6114, allocations: 284.2 kB / 497.8 MB, free: 2.273 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.002405/0.6138, allocations: 1.609 MB / 499.4 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002841/0.6167, allocations: 1.021 MB / 0.4887 GB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.6168, allocations: 0 / 0.4887 GB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.6178, allocations: 386.2 kB / 0.4891 GB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.6196, allocations: 166.4 kB / 0.4892 GB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/0.6389, allocations: 8.278 MB / 0.4973 GB, free: 6.004 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/0.6407, allocations: 1.465 MB / 0.4988 GB, free: 4.508 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001831/0.6426, allocations: 401.4 kB / 0.4991 GB, free: 4.113 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.6437, allocations: 0.554 MB / 0.4997 GB, free: 3.559 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6437, allocations: 0 / 0.4997 GB, free: 3.559 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07182/0.7155, allocations: 21.87 MB / 0.521 GB, free: 13.77 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/0.7158, allocations: 212.2 kB / 0.5212 GB, free: 13.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.811/4.526, allocations: 0 / 0.5212 GB, free: 13.52 MB / 378.7 MB