Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",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.009917/0.009917, allocations: 166.4 kB / 15.11 MB, free: 5.988 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.679/1.679, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001911/0.001911, allocations: 103.4 kB / 226.2 MB, free: 10.1 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.4586/0.4586, allocations: 38.06 MB / 303.7 MB, free: 42.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004595, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1056, allocations: 48.71 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5077/0.6134, allocations: 95.2 MB / 0.495 GB, free: 8.875 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/0.6138, allocations: 86.14 kB / 0.4951 GB, free: 8.828 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.392/1.006, allocations: 83.94 MB / 0.5771 GB, free: 9.383 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.357e-06/1.006, allocations: 0 / 0.5771 GB, free: 9.383 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003378/1.006, allocations: 84 kB / 0.5771 GB, free: 9.301 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.05194/1.058, allocations: 4.727 MB / 0.5818 GB, free: 4.504 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.53e-05/1.058, allocations: 12.03 kB / 0.5818 GB, free: 4.492 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01181/1.07, allocations: 0.7705 MB / 0.5825 GB, free: 3.711 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02394/1.094, allocations: 2.217 MB / 0.5847 GB, free: 1.484 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3141/1.408, allocations: 4.512 MB / 0.5891 GB, free: 77.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004775/1.409, allocations: 322.5 kB / 0.5894 GB, free: 77.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002788/1.412, allocations: 427.7 kB / 0.5898 GB, free: 77.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03527/1.447, allocations: 10.76 MB / 0.6003 GB, free: 74.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003682/1.447, allocations: 53.38 kB / 0.6004 GB, free: 74.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002443/1.45, allocations: 209.6 kB / 0.6006 GB, free: 74.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002577/1.452, allocations: 1.007 MB / 0.6016 GB, free: 74.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02872/1.481, allocations: 9.068 MB / 0.6104 GB, free: 74.47 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08014/1.561, allocations: 47.41 MB / 0.6567 GB, free: 42.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01943/1.581, allocations: 3.616 MB / 0.6602 GB, free: 41.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01287/1.594, allocations: 4.74 MB / 0.6649 GB, free: 38.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/1.594, allocations: 50.19 kB / 0.6649 GB, free: 38.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=142): time 6.833e-06/1.594, allocations: 3.938 kB / 0.6649 GB, free: 38.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=148): time 0.04654/1.641, allocations: 12.36 MB / 0.677 GB, free: 33.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/1.641, allocations: 147.8 kB / 0.6771 GB, free: 33.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007802/1.648, allocations: 3.635 MB / 0.6807 GB, free: 32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004505/1.649, allocations: 41.2 kB / 0.6807 GB, free: 31.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002997/1.652, allocations: 3.147 MB / 0.6838 GB, free: 29.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/1.653, allocations: 0.5896 MB / 0.6844 GB, free: 29.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007019/1.654, allocations: 110.8 kB / 0.6845 GB, free: 29.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003594/1.654, allocations: 0.5484 MB / 0.685 GB, free: 28.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004957/1.659, allocations: 1.949 MB / 0.6869 GB, free: 28.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007587/1.667, allocations: 5.617 MB / 0.6924 GB, free: 22.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007422/1.674, allocations: 3.245 MB / 0.6956 GB, free: 20.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001527/1.674, allocations: 37.19 kB / 0.6956 GB, free: 20.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02277/1.697, allocations: 8.043 MB / 0.7035 GB, free: 18.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/1.697, allocations: 61.59 kB / 0.7035 GB, free: 18.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002431/1.698, allocations: 133 kB / 0.7036 GB, free: 18.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00436/1.702, allocations: 0.9125 MB / 0.7045 GB, free: 17.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008398/1.711, allocations: 1.351 MB / 0.7058 GB, free: 17.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009664/1.72, allocations: 4.883 MB / 0.7106 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007075/1.727, allocations: 312 kB / 0.7109 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001707/1.729, allocations: 370.1 kB / 0.7113 GB, free: 14.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (711): * Single equations (assignments): 707 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006321/1.735, allocations: 2.081 MB / 0.7133 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009579/1.736, allocations: 342.6 kB / 0.7136 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009756/1.746, allocations: 2.89 MB / 0.7165 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.376e-05/1.746, allocations: 16.66 kB / 0.7165 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/1.746, allocations: 4 kB / 0.7165 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.069e-05/1.746, allocations: 6.375 kB / 0.7165 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02422/1.771, allocations: 7.174 MB / 0.7235 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/1.771, allocations: 3.938 kB / 0.7235 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/1.773, allocations: 253.8 kB / 0.7237 GB, free: 6.078 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003921/1.777, allocations: 0.7009 MB / 0.7244 GB, free: 5.621 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004112/1.778, allocations: 30.98 kB / 0.7244 GB, free: 5.598 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008793/1.787, allocations: 4.448 MB / 0.7288 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.787, allocations: 0 / 0.7288 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0155/1.802, allocations: 5.236 MB / 0.7339 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002536/1.805, allocations: 0.6136 MB / 0.7345 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/1.806, allocations: 24 kB / 0.7345 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003237/1.809, allocations: 91.27 kB / 0.7346 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000692/1.81, allocations: 87.94 kB / 0.7347 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001993/1.81, allocations: 42.16 kB / 0.7347 GB, free: 12.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008052/1.818, allocations: 2.542 MB / 0.7372 GB, free: 10.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.818, allocations: 0 / 0.7372 GB, free: 10.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007794/1.826, allocations: 0.9493 MB / 0.7381 GB, free: 9.309 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (117): * Single equations (assignments): 113 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01659/1.843, allocations: 6.026 MB / 0.744 GB, free: 4.031 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3215/2.164, allocations: 4.727 MB / 0.7486 GB, free: 85.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/2.164, allocations: 0 / 0.7486 GB, free: 85.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004363/2.169, allocations: 1.38 MB / 0.75 GB, free: 85.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00399/2.173, allocations: 391.7 kB / 0.7504 GB, free: 85.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1213/2.294, allocations: 123.2 MB / 0.8707 GB, free: 28.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009211/2.303, allocations: 3.311 MB / 0.8739 GB, free: 27.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009816/2.313, allocations: 1.827 MB / 0.8757 GB, free: 27.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00575/2.319, allocations: 1.853 MB / 0.8775 GB, free: 27.09 MB / 490.7 MB Notification: Performance of SimCode: time 1.994e-06/2.319, allocations: 0 / 0.8775 GB, free: 27.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.189/2.508, allocations: 73.57 MB / 0.9494 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003743/2.509, allocations: 195.9 kB / 0.9496 GB, free: 304 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.33/7.839, allocations: 3.938 kB / 0.9496 GB, free: 300 kB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat