Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.009903/0.009903, allocations: 176 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.984/1.984, 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.002051/0.002051, allocations: 120.7 kB / 255.6 MB, free: 11.21 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.2475/0.2475, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004741, allocations: 11.47 kB / 406.3 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09771/0.09822, allocations: 54.87 MB / 461.1 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5359/0.6342, allocations: 102 MB / 0.5499 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.6345, allocations: 84.73 kB / 0.55 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3358/0.9703, allocations: 83.94 MB / 0.632 GB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.686e-06/0.9704, allocations: 0 / 0.632 GB, free: 11.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003106/0.9707, allocations: 88.12 kB / 0.6321 GB, free: 11.73 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: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.02879/0.9995, allocations: 4.733 MB / 0.6367 GB, free: 6.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.335e-05/0.9996, allocations: 12.03 kB / 0.6367 GB, free: 6.969 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004189/1.004, allocations: 0.7745 MB / 0.6375 GB, free: 6.184 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01882/1.023, allocations: 2.213 MB / 0.6396 GB, free: 3.961 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02048/1.043, allocations: 4.531 MB / 0.644 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005714/1.044, allocations: 324.3 kB / 0.6444 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003144/1.047, allocations: 435.8 kB / 0.6448 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03844/1.086, allocations: 10.75 MB / 0.6553 GB, free: 2.863 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003317/1.086, allocations: 59.47 kB / 0.6553 GB, free: 2.805 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002142/1.088, allocations: 203.9 kB / 0.6555 GB, free: 2.605 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002879/1.091, allocations: 1.01 MB / 0.6565 GB, free: 1.594 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03129/1.122, allocations: 9.075 MB / 0.6654 GB, free: 8.496 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08491/1.207, allocations: 47.41 MB / 0.7117 GB, free: 7.602 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02052/1.228, allocations: 3.615 MB / 0.7152 GB, free: 3.836 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.377/1.605, allocations: 4.739 MB / 0.7198 GB, free: 117.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/1.605, allocations: 49.06 kB / 0.7199 GB, free: 117.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 5.721e-06/1.605, allocations: 0 / 0.7199 GB, free: 117.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.05221/1.657, allocations: 12.36 MB / 0.7319 GB, free: 114.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/1.657, allocations: 143.1 kB / 0.7321 GB, free: 114.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01025/1.668, allocations: 3.627 MB / 0.7356 GB, free: 114.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004206/1.668, allocations: 46.73 kB / 0.7357 GB, free: 114.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002789/1.671, allocations: 3.143 MB / 0.7387 GB, free: 112.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001011/1.672, allocations: 0.5893 MB / 0.7393 GB, free: 112.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007244/1.673, allocations: 121.6 kB / 0.7394 GB, free: 112.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003639/1.673, allocations: 0.5414 MB / 0.74 GB, free: 112 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004983/1.678, allocations: 1.948 MB / 0.7419 GB, free: 111.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007503/1.686, allocations: 5.619 MB / 0.7473 GB, free: 107.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007284/1.693, allocations: 3.239 MB / 0.7505 GB, free: 107.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001287/1.693, allocations: 39.19 kB / 0.7505 GB, free: 107.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02235/1.716, allocations: 8.04 MB / 0.7584 GB, free: 106.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/1.716, allocations: 66.95 kB / 0.7585 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000189/1.716, allocations: 128.5 kB / 0.7586 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004088/1.72, allocations: 0.9119 MB / 0.7595 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007957/1.728, allocations: 1.352 MB / 0.7608 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008974/1.737, allocations: 4.881 MB / 0.7656 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006924/1.744, allocations: 318.2 kB / 0.7659 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001541/1.746, allocations: 362.5 kB / 0.7662 GB, free: 104.9 MB / 490.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.006198/1.752, allocations: 2.084 MB / 0.7682 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/1.753, allocations: 340.2 kB / 0.7686 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/1.763, allocations: 2.886 MB / 0.7714 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-05/1.763, allocations: 19.42 kB / 0.7714 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/1.763, allocations: 7.875 kB / 0.7714 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.24e-05/1.763, allocations: 11.12 kB / 0.7714 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02414/1.788, allocations: 7.15 MB / 0.7784 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-05/1.788, allocations: 0.8438 kB / 0.7784 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00268/1.79, allocations: 254.9 kB / 0.7787 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003836/1.794, allocations: 0.6963 MB / 0.7793 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004181/1.795, allocations: 34.27 kB / 0.7794 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008725/1.803, allocations: 4.459 MB / 0.7837 GB, free: 98.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.804, allocations: 0 / 0.7837 GB, free: 98.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01423/1.818, allocations: 5.23 MB / 0.7888 GB, free: 95.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002415/1.82, allocations: 0.6183 MB / 0.7894 GB, free: 95.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001217/1.822, allocations: 21.14 kB / 0.7895 GB, free: 95.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00322/1.825, allocations: 96.52 kB / 0.7895 GB, free: 95.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006863/1.825, allocations: 83.28 kB / 0.7896 GB, free: 95.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/1.826, allocations: 42.36 kB / 0.7897 GB, free: 95.51 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00725/1.833, allocations: 2.54 MB / 0.7921 GB, free: 94.63 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.004e-06/1.833, allocations: 3.969 kB / 0.7921 GB, free: 94.63 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007497/1.841, allocations: 0.9514 MB / 0.7931 GB, free: 94.52 MB / 490.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.01473/1.855, allocations: 6.025 MB / 0.799 GB, free: 91.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01144/1.867, allocations: 4.703 MB / 0.8036 GB, free: 88.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.867, allocations: 0 / 0.8036 GB, free: 88.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003493/1.87, allocations: 1.384 MB / 0.8049 GB, free: 86.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003689/1.874, allocations: 398.4 kB / 0.8053 GB, free: 86.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4851/2.359, allocations: 123.2 MB / 0.9256 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007908/2.367, allocations: 3.317 MB / 0.9289 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008803/2.376, allocations: 1.823 MB / 0.9306 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004908/2.381, allocations: 1.851 MB / 0.9324 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.543e-06/2.381, allocations: 0 / 0.9324 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1714/2.553, allocations: 73.56 MB / 1.004 GB, free: 79.31 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/2.553, allocations: 212 kB / 1.004 GB, free: 79.06 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.05/7.603, allocations: 3.938 kB / 1.004 GB, free: 79.05 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat