Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01525/0.01525, allocations: 176.1 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.292/2.292, allocations: 194.5 MB / 210.3 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003642/0.003642, allocations: 120.7 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2772/0.2772, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007089/0.0007088, allocations: 15.5 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1208, allocations: 54.87 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5316/0.6524, allocations: 99.05 MB / 0.5471 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.6528, allocations: 82.19 kB / 0.5471 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4644/1.117, allocations: 90.68 MB / 0.6357 GB, free: 7.742 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.747e-06/1.117, allocations: 0 / 0.6357 GB, free: 7.742 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000365/1.118, allocations: 83.94 kB / 0.6358 GB, free: 7.66 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1681 * Number of variables: 1681 Notification: Performance of Generate backend data structure: time 0.02215/1.14, allocations: 4.113 MB / 0.6398 GB, free: 3.477 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.547e-05/1.14, allocations: 8.031 kB / 0.6398 GB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005367/1.145, allocations: 0.8448 MB / 0.6406 GB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0379/1.183, allocations: 3.547 MB / 0.6441 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02486/1.208, allocations: 4.446 MB / 0.6484 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007544/1.209, allocations: 328.5 kB / 0.6487 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003868/1.213, allocations: 427.9 kB / 0.6491 GB, free: 9.816 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05035/1.263, allocations: 10.93 MB / 0.6598 GB, free: 14.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003953/1.264, allocations: 23.75 kB / 0.6598 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003282/1.267, allocations: 203.9 kB / 0.66 GB, free: 14.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004419/1.272, allocations: 1.255 MB / 0.6613 GB, free: 12.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03559/1.307, allocations: 10.47 MB / 0.6715 GB, free: 2.445 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09605/1.403, allocations: 37.75 MB / 0.7083 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01634/1.42, allocations: 4.579 MB / 0.7128 GB, free: 6.922 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002112/1.422, allocations: 1.315 MB / 0.7141 GB, free: 5.387 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.242e-05/1.422, allocations: 56.56 kB / 0.7142 GB, free: 5.324 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 6.492e-06/1.422, allocations: 3.938 kB / 0.7142 GB, free: 5.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.4544/1.876, allocations: 17.92 MB / 0.7317 GB, free: 118.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/1.876, allocations: 73.66 kB / 0.7317 GB, free: 118.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006335/1.883, allocations: 2.477 MB / 0.7341 GB, free: 118 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005697/1.883, allocations: 55.89 kB / 0.7342 GB, free: 118 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002441/1.886, allocations: 2.838 MB / 0.737 GB, free: 116.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001517/1.887, allocations: 0.9215 MB / 0.7379 GB, free: 116.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000681/1.888, allocations: 101.1 kB / 0.738 GB, free: 116.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003938/1.889, allocations: 0.5403 MB / 0.7385 GB, free: 115.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005467/1.894, allocations: 2.29 MB / 0.7407 GB, free: 115.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007553/1.902, allocations: 5.234 MB / 0.7458 GB, free: 112 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007562/1.909, allocations: 3.466 MB / 0.7492 GB, free: 111.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001019/1.909, allocations: 27.78 kB / 0.7493 GB, free: 111.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.02304/1.932, allocations: 8.275 MB / 0.7573 GB, free: 111.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.944e-05/1.933, allocations: 49.78 kB / 0.7574 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001737/1.933, allocations: 103.8 kB / 0.7575 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004947/1.938, allocations: 0.9493 MB / 0.7584 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007598/1.945, allocations: 1.243 MB / 0.7596 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/1.957, allocations: 4.857 MB / 0.7644 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005779/1.962, allocations: 295.5 kB / 0.7647 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001438/1.964, allocations: 314.3 kB / 0.7649 GB, free: 109.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 30 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.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 (661): * Single equations (assignments): 654 * 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 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006249/1.97, allocations: 2.179 MB / 0.7671 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008297/1.971, allocations: 283.9 kB / 0.7673 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0146/1.986, allocations: 5.107 MB / 0.7723 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001113/1.986, allocations: 43.17 kB / 0.7724 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/1.986, allocations: 0 / 0.7724 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.832e-05/1.986, allocations: 10.55 kB / 0.7724 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03611/2.022, allocations: 11.98 MB / 0.7841 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-05/2.022, allocations: 7.719 kB / 0.7841 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003428/2.026, allocations: 394.7 kB / 0.7845 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00561/2.031, allocations: 0.7809 MB / 0.7852 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006868/2.032, allocations: 50.08 kB / 0.7853 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01218/2.044, allocations: 4.149 MB / 0.7893 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.926e-05/2.044, allocations: 15.22 kB / 0.7893 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02591/2.07, allocations: 8.434 MB / 0.7976 GB, free: 95.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003295/2.073, allocations: 0.6805 MB / 0.7982 GB, free: 95.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001239/2.075, allocations: 45.17 kB / 0.7983 GB, free: 95.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003661/2.078, allocations: 141.1 kB / 0.7984 GB, free: 95.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007668/2.079, allocations: 154.3 kB / 0.7986 GB, free: 94.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003616/2.08, allocations: 76.16 kB / 0.7986 GB, free: 94.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005316/2.085, allocations: 1.693 MB / 0.8003 GB, free: 93.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.022e-06/2.085, allocations: 0 / 0.8003 GB, free: 93.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009779/2.095, allocations: 1.003 MB / 0.8013 GB, free: 92.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * 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 (196): * Single equations (assignments): 189 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02179/2.117, allocations: 11.64 MB / 0.8126 GB, free: 81.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0122/2.129, allocations: 5.598 MB / 0.8181 GB, free: 76.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/2.129, allocations: 0 / 0.8181 GB, free: 76.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004852/2.134, allocations: 2.148 MB / 0.8202 GB, free: 74.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/2.137, allocations: 337.4 kB / 0.8205 GB, free: 74.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4268/2.564, allocations: 102.2 MB / 0.9203 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01068/2.574, allocations: 3.519 MB / 0.9237 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01179/2.586, allocations: 1.998 MB / 0.9257 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006349/2.593, allocations: 1.876 MB / 0.9275 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of SimCode: time 2.375e-06/2.593, allocations: 2.953 kB / 0.9275 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2054/2.798, allocations: 69.23 MB / 0.9951 GB, free: 103 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/2.798, allocations: 198.2 kB / 0.9953 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.579/7.377, allocations: 0 / 0.9953 GB, free: 102.7 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat