Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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.00989/0.009896, 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.104/2.104, allocations: 194.5 MB / 210.3 MB, free: 8.582 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.001988/0.001988, allocations: 120.6 kB / 255.6 MB, free: 11.2 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.2973/0.2973, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005231/0.0005232, allocations: 16.98 kB / 406.3 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1142, allocations: 54.87 MB / 461.1 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5426/0.6569, allocations: 100.3 MB / 0.5483 GB, free: 21.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.6573, allocations: 77.28 kB / 0.5483 GB, free: 21.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3171/0.9744, allocations: 71.8 MB / 0.6184 GB, free: 7.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.513e-06/0.9745, allocations: 0 / 0.6184 GB, free: 7.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002956/0.9748, allocations: 79.92 kB / 0.6185 GB, free: 7.352 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01693/0.9917, allocations: 3.566 MB / 0.622 GB, free: 4.004 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.9918, allocations: 16.03 kB / 0.622 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003342/0.9952, allocations: 0.6339 MB / 0.6226 GB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01766/1.013, allocations: 2.082 MB / 0.6247 GB, free: 1.516 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02183/1.035, allocations: 4.083 MB / 0.6287 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000609/1.035, allocations: 269.7 kB / 0.6289 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00298/1.038, allocations: 345.9 kB / 0.6292 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07006/1.109, allocations: 8.862 MB / 0.6379 GB, free: 4.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003433/1.109, allocations: 59.47 kB / 0.638 GB, free: 4.605 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0022/1.111, allocations: 171.9 kB / 0.6381 GB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002566/1.114, allocations: 0.8681 MB / 0.639 GB, free: 3.566 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02538/1.139, allocations: 7.159 MB / 0.646 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07756/1.217, allocations: 42.6 MB / 0.6876 GB, free: 404 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01364/1.231, allocations: 3.181 MB / 0.6907 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/1.242, allocations: 4.085 MB / 0.6947 GB, free: 8.816 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.297e-05/1.243, allocations: 47.06 kB / 0.6947 GB, free: 8.762 MB / 474.7 MB Notification: Performance of pre-optimization done (n=114): time 5.25e-06/1.243, allocations: 0 / 0.6947 GB, free: 8.762 MB / 474.7 MB Notification: Performance of matching and sorting (n=122): time 0.06171/1.304, allocations: 11.36 MB / 0.7058 GB, free: 13.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.305, allocations: 174.8 kB / 0.706 GB, free: 12.99 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00999/1.315, allocations: 3.306 MB / 0.7092 GB, free: 9.691 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003729/1.315, allocations: 41.7 kB / 0.7092 GB, free: 9.645 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003654/1.319, allocations: 2.732 MB / 0.7119 GB, free: 6.871 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001085/1.32, allocations: 0.5017 MB / 0.7124 GB, free: 6.363 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008983/1.321, allocations: 100 kB / 0.7125 GB, free: 6.266 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006999/1.321, allocations: 0.5251 MB / 0.713 GB, free: 5.734 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005316/1.327, allocations: 1.665 MB / 0.7146 GB, free: 4.062 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3576/1.684, allocations: 5.051 MB / 0.7196 GB, free: 122.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007099/1.692, allocations: 2.848 MB / 0.7223 GB, free: 122.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001482/1.692, allocations: 34.59 kB / 0.7224 GB, free: 122.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01976/1.712, allocations: 6.618 MB / 0.7288 GB, free: 122.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001601/1.712, allocations: 60.34 kB / 0.7289 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000246/1.712, allocations: 122.1 kB / 0.729 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/1.713, allocations: 341.3 kB / 0.7293 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008432/1.722, allocations: 1.267 MB / 0.7306 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/1.726, allocations: 2.386 MB / 0.7329 GB, free: 120.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006351/1.732, allocations: 282.6 kB / 0.7332 GB, free: 120.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001501/1.734, allocations: 337 kB / 0.7335 GB, free: 120.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (656): * Single equations (assignments): 652 * Array equations: 3 * 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.004988/1.739, allocations: 1.774 MB / 0.7352 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008371/1.74, allocations: 309.2 kB / 0.7355 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007885/1.748, allocations: 2.32 MB / 0.7378 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.262e-05/1.748, allocations: 21.8 kB / 0.7378 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/1.748, allocations: 3.781 kB / 0.7378 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.3e-05/1.748, allocations: 8.266 kB / 0.7378 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01747/1.765, allocations: 5.836 MB / 0.7435 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/1.766, allocations: 0 / 0.7435 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/1.767, allocations: 169.3 kB / 0.7437 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00364/1.771, allocations: 0.7153 MB / 0.7444 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/1.771, allocations: 20.95 kB / 0.7444 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008509/1.779, allocations: 4.554 MB / 0.7488 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.779, allocations: 0 / 0.7488 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/1.79, allocations: 4.388 MB / 0.7531 GB, free: 118 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/1.792, allocations: 0.5327 MB / 0.7536 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009016/1.793, allocations: 15.66 kB / 0.7537 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/1.795, allocations: 69.7 kB / 0.7537 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/1.795, allocations: 70.38 kB / 0.7538 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/1.795, allocations: 36.55 kB / 0.7538 GB, free: 117.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004826/1.8, allocations: 2.302 MB / 0.7561 GB, free: 116.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.8, allocations: 0 / 0.7561 GB, free: 116.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005616/1.806, allocations: 0.819 MB / 0.7569 GB, free: 116.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (90): * Single equations (assignments): 86 * Array equations: 3 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0109/1.817, allocations: 5.308 MB / 0.7621 GB, free: 114 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009199/1.826, allocations: 3.95 MB / 0.7659 GB, free: 112.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.826, allocations: 0 / 0.7659 GB, free: 112.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002374/1.828, allocations: 1.085 MB / 0.767 GB, free: 112.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/1.831, allocations: 349.1 kB / 0.7673 GB, free: 112 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04666/1.878, allocations: 98.95 MB / 0.8639 GB, free: 30.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005019/1.883, allocations: 2.838 MB / 0.8667 GB, free: 29.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007601/1.891, allocations: 1.642 MB / 0.8683 GB, free: 29.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004196/1.895, allocations: 1.519 MB / 0.8698 GB, free: 28.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.764e-06/1.895, allocations: 0 / 0.8698 GB, free: 28.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5879/2.483, allocations: 63.68 MB / 0.932 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003224/2.483, allocations: 202.8 kB / 0.9322 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.125/7.608, allocations: 0 / 0.9322 GB, free: 138.8 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat