Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.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.Prismatic,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Prismatic",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.01395/0.01395, allocations: 163.6 kB / 15.12 MB, free: 5.953 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.725/1.725, allocations: 170.8 MB / 186.7 MB, free: 1.109 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.001792/0.001792, allocations: 106.8 kB / 226.2 MB, free: 10.08 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.4719/0.4719, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004838/0.0004841, allocations: 12 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1109, allocations: 48.71 MB / 411.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.3189/0.4299, allocations: 26.12 MB / 437.8 MB, free: 30.26 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01785/0.4478, allocations: 6.085 MB / 443.9 MB, free: 29.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005686/0.4536, allocations: 113.4 kB / 444 MB, free: 29.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005052/0.4587, allocations: 1.286 MB / 445.3 MB, free: 29.37 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01611/0.4749, allocations: 4.554 MB / 449.9 MB, free: 28.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.4775, allocations: 391 kB / 450.2 MB, free: 28.41 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006797/0.4843, allocations: 3.954 MB / 454.2 MB, free: 27.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004836/0.4892, allocations: 2.28 MB / 456.5 MB, free: 27.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.4919, allocations: 1.038 MB / 457.5 MB, free: 27.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004094/0.4961, allocations: 1.722 MB / 459.2 MB, free: 27.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001246/0.4974, allocations: 137.4 kB / 459.4 MB, free: 27.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003116/0.5005, allocations: 0.6766 MB / 460.1 MB, free: 27.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002903/0.5035, allocations: 1.48 MB / 461.5 MB, free: 26.97 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.5051, allocations: 0.7645 MB / 462.3 MB, free: 26.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008723/0.5139, allocations: 4.738 MB / 467 MB, free: 25.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.514, allocations: 2.969 kB / 467 MB, free: 25.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.514, allocations: 0 / 467 MB, free: 25.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002494/0.5143, allocations: 0 / 467 MB, free: 25.47 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: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.01004/0.5243, allocations: 3.454 MB / 470.5 MB, free: 23.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.5244, allocations: 9.594 kB / 470.5 MB, free: 23.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002528/0.5269, allocations: 0.7198 MB / 471.2 MB, free: 22.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02022/0.5472, allocations: 3.173 MB / 474.4 MB, free: 20.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007854/0.5551, allocations: 2.347 MB / 476.7 MB, free: 19.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/0.5555, allocations: 194.7 kB / 476.9 MB, free: 19.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001647/0.5571, allocations: 254.1 kB / 477.2 MB, free: 19.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0264/0.5836, allocations: 10.36 MB / 487.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001308/0.5838, allocations: 22.81 kB / 487.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008955/0.5847, allocations: 124.8 kB / 487.7 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00715/0.5919, allocations: 2.552 MB / 490.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02642/0.6183, allocations: 9.422 MB / 499.7 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07222/0.6906, allocations: 32.37 MB / 0.5196 GB, free: 2.082 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009921/0.7006, allocations: 3.369 MB / 0.5229 GB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002803/0.7034, allocations: 1.077 MB / 0.5239 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00176/0.7052, allocations: 1.301 MB / 0.5252 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.823e-05/0.7053, allocations: 55.88 kB / 0.5252 GB, free: 11.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=187): time 5.691e-06/0.7053, allocations: 0 / 0.5252 GB, free: 11.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=193): time 0.03544/0.7408, allocations: 9.774 MB / 0.5348 GB, free: 1.953 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.7409, allocations: 94.42 kB / 0.5349 GB, free: 1.844 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006631/0.7476, allocations: 2.628 MB / 0.5374 GB, free: 15.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003707/0.748, allocations: 52.44 kB / 0.5375 GB, free: 15.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003079/0.7511, allocations: 2.726 MB / 0.5401 GB, free: 12.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001222/0.7524, allocations: 0.7179 MB / 0.5408 GB, free: 11.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005468/0.7529, allocations: 96 kB / 0.5409 GB, free: 11.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005551/0.7535, allocations: 0.5129 MB / 0.5414 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004782/0.7583, allocations: 1.536 MB / 0.5429 GB, free: 9.539 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008055/0.7664, allocations: 4.427 MB / 0.5473 GB, free: 3.676 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006886/0.7734, allocations: 2.628 MB / 0.5498 GB, free: 1.039 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001016/0.7735, allocations: 28 kB / 0.5499 GB, free: 1.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.0174/0.791, allocations: 5.871 MB / 0.5556 GB, free: 11.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.7911, allocations: 53.88 kB / 0.5556 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001846/0.7913, allocations: 100 kB / 0.5557 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/0.7919, allocations: 189.5 kB / 0.5559 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007011/0.7989, allocations: 1.092 MB / 0.557 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.8013, allocations: 1.678 MB / 0.5586 GB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004449/0.8058, allocations: 218.9 kB / 0.5588 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/0.8069, allocations: 296 kB / 0.5591 GB, free: 7.398 MB / 410.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.006061/0.813, allocations: 2.024 MB / 0.5611 GB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006917/0.8137, allocations: 248.7 kB / 0.5613 GB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007432/0.8212, allocations: 2.528 MB / 0.5638 GB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.908e-05/0.8213, allocations: 23.95 kB / 0.5638 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.8214, allocations: 0 / 0.5638 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-05/0.8214, allocations: 11.97 kB / 0.5638 GB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02477/0.8462, allocations: 8.144 MB / 0.5718 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.638e-05/0.8463, allocations: 8 kB / 0.5718 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/0.8486, allocations: 259.7 kB / 0.572 GB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002952/0.8489, allocations: 56.83 kB / 0.5721 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003381/0.8493, allocations: 42.72 kB / 0.5721 GB, free: 9.863 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.8513, allocations: 1.5 MB / 0.5736 GB, free: 8.234 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-05/0.8514, allocations: 16.12 kB / 0.5736 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01009/0.8615, allocations: 4.025 MB / 0.5775 GB, free: 4.035 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/0.8636, allocations: 0.5056 MB / 0.578 GB, free: 3.508 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007573/0.8644, allocations: 38.42 kB / 0.5781 GB, free: 3.473 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/0.8664, allocations: 59.95 kB / 0.5781 GB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005034/0.8669, allocations: 128.6 kB / 0.5783 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002078/0.8671, allocations: 66.66 kB / 0.5783 GB, free: 3.227 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004697/0.8719, allocations: 1.596 MB / 0.5799 GB, free: 1.621 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.8719, allocations: 0 / 0.5799 GB, free: 1.621 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006185/0.8781, allocations: 0.8033 MB / 0.5807 GB, free: 0.8203 MB / 426.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.3092/1.187, allocations: 4.697 MB / 0.5852 GB, free: 123.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01042/1.198, allocations: 3.85 MB / 0.589 GB, free: 123.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/1.198, allocations: 6.844 kB / 0.589 GB, free: 123.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003037/1.201, allocations: 1.232 MB / 0.5902 GB, free: 123.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003766/1.205, allocations: 337.2 kB / 0.5905 GB, free: 123.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06509/1.27, allocations: 25.25 MB / 0.6152 GB, free: 107.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008967/1.279, allocations: 3.273 MB / 0.6184 GB, free: 106.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008335/1.287, allocations: 1.724 MB / 0.6201 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00433/1.292, allocations: 1.749 MB / 0.6218 GB, free: 104.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.743e-06/1.292, allocations: 0 / 0.6218 GB, free: 104.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1824/1.474, allocations: 56.08 MB / 0.6765 GB, free: 60.16 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003275/1.475, allocations: 199.6 kB / 0.6767 GB, free: 59.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.658/6.132, allocations: 0 / 0.6767 GB, free: 59.91 MB / 426.7 MB