Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Revolute",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.01432/0.01432, allocations: 176.1 kB / 15.12 MB, free: 5.93 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 1.955/1.955, allocations: 194.5 MB / 210.3 MB, free: 8.785 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.002056/0.002055, allocations: 116.6 kB / 255.6 MB, free: 11.39 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.2549/0.2549, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000532/0.0005321, allocations: 14.73 kB / 406.3 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1075, allocations: 54.87 MB / 461.1 MB, free: 3.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4938/0.6014, allocations: 96.02 MB / 0.5441 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.6017, allocations: 80.09 kB / 0.5442 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3531/0.9549, allocations: 85.6 MB / 0.6278 GB, free: 14.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.9549, allocations: 0 / 0.6278 GB, free: 14.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001966/0.9551, allocations: 68 kB / 0.6278 GB, free: 14.86 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.02234/0.9775, allocations: 3.792 MB / 0.6315 GB, free: 11.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.507e-05/0.9776, allocations: 8.031 kB / 0.6315 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005277/0.9829, allocations: 0.7874 MB / 0.6323 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04284/1.026, allocations: 3.505 MB / 0.6357 GB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02154/1.047, allocations: 4.17 MB / 0.6398 GB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006118/1.048, allocations: 298.2 kB / 0.6401 GB, free: 2.926 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003082/1.051, allocations: 389.7 kB / 0.6405 GB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03654/1.088, allocations: 10.3 MB / 0.6505 GB, free: 7.938 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002311/1.088, allocations: 23.81 kB / 0.6505 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002221/1.09, allocations: 174.3 kB / 0.6507 GB, free: 7.777 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003115/1.093, allocations: 1.211 MB / 0.6519 GB, free: 6.566 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03155/1.125, allocations: 10.01 MB / 0.6617 GB, free: 12.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09131/1.216, allocations: 35.48 MB / 0.6963 GB, free: 8.348 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01652/1.233, allocations: 4.956 MB / 0.7012 GB, free: 3.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002803/1.236, allocations: 1.884 MB / 0.703 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.439e-05/1.236, allocations: 52.56 kB / 0.703 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of pre-optimization done (n=229): time 6.292e-06/1.236, allocations: 0 / 0.703 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of matching and sorting (n=235): time 0.06534/1.301, allocations: 14.36 MB / 0.7171 GB, free: 2.359 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.593e-05/1.301, allocations: 73.41 kB / 0.7171 GB, free: 2.277 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3437/1.645, allocations: 2.36 MB / 0.7194 GB, free: 126.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006687/1.646, allocations: 54.45 kB / 0.7195 GB, free: 126.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003309/1.649, allocations: 2.695 MB / 0.7221 GB, free: 125.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001884/1.651, allocations: 0.8598 MB / 0.723 GB, free: 124.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000859/1.652, allocations: 99.34 kB / 0.7231 GB, free: 124.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005638/1.653, allocations: 0.534 MB / 0.7236 GB, free: 124.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006158/1.659, allocations: 2.185 MB / 0.7257 GB, free: 124.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009324/1.668, allocations: 5.055 MB / 0.7307 GB, free: 120.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008989/1.677, allocations: 3.321 MB / 0.7339 GB, free: 120.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002156/1.678, allocations: 28.94 kB / 0.7339 GB, free: 120.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.02556/1.703, allocations: 7.85 MB / 0.7416 GB, free: 120.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/1.703, allocations: 49.47 kB / 0.7416 GB, free: 120.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001738/1.703, allocations: 102.9 kB / 0.7417 GB, free: 120.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004104/1.708, allocations: 0.8049 MB / 0.7425 GB, free: 120.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007364/1.715, allocations: 1.196 MB / 0.7437 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/1.725, allocations: 4.227 MB / 0.7478 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007731/1.733, allocations: 296.4 kB / 0.7481 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/1.735, allocations: 302.5 kB / 0.7484 GB, free: 118.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * 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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (636): * Single equations (assignments): 629 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01125/1.746, allocations: 2.053 MB / 0.7504 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00088/1.747, allocations: 262.8 kB / 0.7506 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03913/1.786, allocations: 4.699 MB / 0.7552 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001422/1.786, allocations: 42.62 kB / 0.7553 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/1.786, allocations: 3.281 kB / 0.7553 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.837e-05/1.786, allocations: 11.3 kB / 0.7553 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0396/1.826, allocations: 10.62 MB / 0.7657 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.539e-05/1.826, allocations: 7.781 kB / 0.7657 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003129/1.829, allocations: 364.6 kB / 0.766 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003637/1.833, allocations: 0.6564 MB / 0.7666 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005155/1.833, allocations: 37.28 kB / 0.7667 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0074/1.841, allocations: 3.686 MB / 0.7703 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/1.841, allocations: 15 kB / 0.7703 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/1.858, allocations: 7.672 MB / 0.7778 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002603/1.86, allocations: 0.6444 MB / 0.7784 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009509/1.861, allocations: 46.31 kB / 0.7785 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002637/1.864, allocations: 132.9 kB / 0.7786 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006258/1.865, allocations: 132.5 kB / 0.7787 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002473/1.865, allocations: 65.78 kB / 0.7788 GB, free: 109 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004023/1.869, allocations: 1.618 MB / 0.7804 GB, free: 108.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.884e-06/1.869, allocations: 0 / 0.7804 GB, free: 108.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006691/1.876, allocations: 0.9451 MB / 0.7813 GB, free: 108.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01859/1.894, allocations: 10.08 MB / 0.7911 GB, free: 102.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01222/1.907, allocations: 5.325 MB / 0.7963 GB, free: 98.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/1.907, allocations: 0 / 0.7963 GB, free: 98.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004593/1.911, allocations: 2.01 MB / 0.7983 GB, free: 96.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/1.914, allocations: 312.2 kB / 0.7986 GB, free: 96.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08504/1.999, allocations: 98.85 MB / 0.8951 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008976/2.008, allocations: 3.312 MB / 0.8984 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009135/2.017, allocations: 1.964 MB / 0.9003 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005342/2.023, allocations: 1.772 MB / 0.902 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of SimCode: time 1.342e-06/2.023, allocations: 0 / 0.902 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5284/2.551, allocations: 64.16 MB / 0.9647 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/2.552, allocations: 190.1 kB / 0.9648 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.667/7.218, allocations: 4 kB / 0.9648 GB, free: 133.7 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat