Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.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.FixedRotation,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_FixedRotation",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.01409/0.01409, allocations: 176.1 kB / 15.12 MB, free: 5.98 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.046/2.046, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.002176/0.002175, allocations: 132.6 kB / 255.6 MB, free: 10.23 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.2628/0.2628, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004854, allocations: 18.88 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09929/0.09983, allocations: 54.87 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5081/0.608, allocations: 90.08 MB / 0.5383 GB, free: 21.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.6083, allocations: 79.16 kB / 0.5384 GB, free: 21.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5475/1.156, allocations: 138.8 MB / 0.6739 GB, free: 32 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.156, allocations: 0 / 0.6739 GB, free: 32 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000351/1.156, allocations: 128 kB / 0.674 GB, free: 15.9 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.02534/1.182, allocations: 6.26 MB / 0.6802 GB, free: 9.562 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/1.182, allocations: 20.02 kB / 0.6802 GB, free: 9.543 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007433/1.189, allocations: 1.377 MB / 0.6815 GB, free: 8.156 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05043/1.24, allocations: 6.533 MB / 0.6879 GB, free: 1.602 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01689/1.257, allocations: 4.284 MB / 0.6921 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008609/1.257, allocations: 0.5013 MB / 0.6926 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005109/1.263, allocations: 0.6521 MB / 0.6932 GB, free: 12.09 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06212/1.325, allocations: 18.12 MB / 0.7109 GB, free: 9.195 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003828/1.325, allocations: 43.56 kB / 0.711 GB, free: 9.152 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004645/1.33, allocations: 311.7 kB / 0.7113 GB, free: 8.848 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005297/1.335, allocations: 2.153 MB / 0.7134 GB, free: 6.688 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3923/1.728, allocations: 17.47 MB / 0.7304 GB, free: 99.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.133/1.861, allocations: 61.72 MB / 0.7907 GB, free: 73.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.023/1.884, allocations: 8.438 MB / 0.7989 GB, free: 69.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03477/1.919, allocations: 11.84 MB / 0.8105 GB, free: 63.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/1.919, allocations: 62.44 kB / 0.8106 GB, free: 63.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=321): time 7.314e-06/1.919, allocations: 0 / 0.8106 GB, free: 63.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=321): time 0.03013/1.949, allocations: 8.556 MB / 0.8189 GB, free: 60.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/1.949, allocations: 101.5 kB / 0.819 GB, free: 60.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01244/1.961, allocations: 4.993 MB / 0.8239 GB, free: 58.97 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005574/1.962, allocations: 61.08 kB / 0.8239 GB, free: 58.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004247/1.966, allocations: 5.077 MB / 0.8289 GB, free: 55.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001846/1.968, allocations: 1.193 MB / 0.8301 GB, free: 54.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/1.969, allocations: 185.6 kB / 0.8302 GB, free: 54.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0009257/1.97, allocations: 0.7134 MB / 0.8309 GB, free: 53.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008428/1.979, allocations: 3.084 MB / 0.834 GB, free: 52.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01156/1.99, allocations: 8.436 MB / 0.8422 GB, free: 43.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/2.002, allocations: 5.17 MB / 0.8472 GB, free: 39.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001716/2.002, allocations: 52 kB / 0.8473 GB, free: 38.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.02821/2.03, allocations: 11.32 MB / 0.8584 GB, free: 29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/2.03, allocations: 84 kB / 0.8584 GB, free: 28.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002487/2.031, allocations: 188 kB / 0.8586 GB, free: 28.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002942/2.031, allocations: 283.9 kB / 0.8589 GB, free: 28.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01228/2.043, allocations: 2.062 MB / 0.8609 GB, free: 26.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003632/2.044, allocations: 375.1 kB / 0.8613 GB, free: 26.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009322/2.053, allocations: 1.305 MB / 0.8625 GB, free: 25.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001932/2.055, allocations: 0.5384 MB / 0.8631 GB, free: 24.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 860 * Number of states: 0 () * Number of discrete variables: 30 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1132): * Single equations (assignments): 1120 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009104/2.064, allocations: 3.696 MB / 0.8667 GB, free: 21.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/2.065, allocations: 481.5 kB / 0.8671 GB, free: 20.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/2.067, allocations: 0.6536 MB / 0.8678 GB, free: 20.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001261/2.068, allocations: 63.38 kB / 0.8678 GB, free: 20.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/2.068, allocations: 0 / 0.8678 GB, free: 20.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.602e-05/2.068, allocations: 13.61 kB / 0.8678 GB, free: 20.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03502/2.103, allocations: 12.65 MB / 0.8802 GB, free: 9.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/2.103, allocations: 12 kB / 0.8802 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003563/2.106, allocations: 426.2 kB / 0.8806 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.865e-05/2.106, allocations: 24 kB / 0.8806 GB, free: 8.961 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004653/2.107, allocations: 67.41 kB / 0.8807 GB, free: 8.902 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.832e-05/2.107, allocations: 31.17 kB / 0.8807 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.649e-05/2.107, allocations: 23.88 kB / 0.8807 GB, free: 8.852 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009916/2.117, allocations: 6.566 MB / 0.8872 GB, free: 2.191 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00176/2.119, allocations: 0.576 MB / 0.8877 GB, free: 1.609 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001634/2.12, allocations: 55.38 kB / 0.8878 GB, free: 1.559 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003529/2.124, allocations: 130.7 kB / 0.8879 GB, free: 1.473 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008174/2.125, allocations: 176.2 kB / 0.8881 GB, free: 1.348 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002871/2.125, allocations: 103.1 kB / 0.8882 GB, free: 1.254 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0156/2.141, allocations: 3.793 MB / 0.8919 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.51e-07/2.141, allocations: 0 / 0.8919 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0114/2.152, allocations: 1.982 MB / 0.8938 GB, free: 13.34 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01512/2.167, allocations: 10.12 MB / 0.9037 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.3832/2.551, allocations: 7.104 MB / 0.9106 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/2.551, allocations: 2.938 kB / 0.9106 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004661/2.555, allocations: 2 MB / 0.9126 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003584/2.559, allocations: 0.5682 MB / 0.9131 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1567/2.716, allocations: 181.7 MB / 1.091 GB, free: 21.52 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01474/2.73, allocations: 5.568 MB / 1.096 GB, free: 20.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01555/2.746, allocations: 3.551 MB / 1.1 GB, free: 20.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008473/2.755, allocations: 3.318 MB / 1.103 GB, free: 20.38 MB / 0.5573 GB Notification: Performance of SimCode: time 1.683e-06/2.755, allocations: 3.844 kB / 1.103 GB, free: 20.38 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6323/3.387, allocations: 111 MB / 1.211 GB, free: 165.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/3.387, allocations: 175.6 kB / 1.211 GB, free: 165.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.176/9.563, allocations: 0 / 1.211 GB, free: 165.2 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat