Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_SpringDamperSeries",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.01015/0.01015, allocations: 175.8 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.963/1.963, 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.002015/0.002015, allocations: 120.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.2457/0.2457, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007727/0.0007727, allocations: 15.12 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1203, allocations: 54.87 MB / 461.1 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6047/0.7251, allocations: 96.93 MB / 0.545 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.7254, allocations: 78.33 kB / 0.5451 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2413/0.9667, allocations: 64.48 MB / 0.608 GB, free: 0.543 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.9668, allocations: 0 / 0.608 GB, free: 0.543 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001743/0.9669, allocations: 71.91 kB / 0.6081 GB, free: 488 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1337 * Number of variables: 1337 Notification: Performance of Generate backend data structure: time 0.01423/0.9812, allocations: 3.474 MB / 0.6115 GB, free: 13.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.9813, allocations: 8.031 kB / 0.6115 GB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00265/0.9839, allocations: 0.6731 MB / 0.6122 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01509/0.999, allocations: 2.025 MB / 0.6141 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006523/1.006, allocations: 1.946 MB / 0.616 GB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002669/1.006, allocations: 283.1 kB / 0.6163 GB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/1.007, allocations: 371.8 kB / 0.6167 GB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03325/1.041, allocations: 10.44 MB / 0.6269 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002077/1.041, allocations: 51.56 kB / 0.6269 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008755/1.042, allocations: 182.6 kB / 0.6271 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002598/1.044, allocations: 0.978 MB / 0.628 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03272/1.077, allocations: 9.005 MB / 0.6368 GB, free: 5.359 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07137/1.149, allocations: 43.35 MB / 0.6792 GB, free: 8.867 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01854/1.167, allocations: 3.999 MB / 0.6831 GB, free: 4.711 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01258/1.18, allocations: 5.139 MB / 0.6881 GB, free: 15.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.08e-05/1.18, allocations: 51.56 kB / 0.6881 GB, free: 15.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=161): time 6.292e-06/1.18, allocations: 0 / 0.6881 GB, free: 15.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=204): time 0.1539/1.334, allocations: 26.86 MB / 0.7144 GB, free: 4.301 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.334, allocations: 157.8 kB / 0.7145 GB, free: 4.113 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007625/1.342, allocations: 2.818 MB / 0.7173 GB, free: 1.285 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006232/1.342, allocations: 53.98 kB / 0.7173 GB, free: 1.227 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3309/1.673, allocations: 2.579 MB / 0.7198 GB, free: 134.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0013/1.675, allocations: 0.77 MB / 0.7206 GB, free: 134.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008807/1.676, allocations: 111.3 kB / 0.7207 GB, free: 134.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000416/1.676, allocations: 0.5433 MB / 0.7212 GB, free: 133.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006745/1.683, allocations: 2.456 MB / 0.7236 GB, free: 133.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009795/1.693, allocations: 5.642 MB / 0.7291 GB, free: 129.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009585/1.702, allocations: 3.671 MB / 0.7327 GB, free: 129.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002035/1.702, allocations: 32.5 kB / 0.7328 GB, free: 129.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=727) (initialization): time 0.02778/1.73, allocations: 8.732 MB / 0.7413 GB, free: 129.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/1.73, allocations: 57.36 kB / 0.7413 GB, free: 129.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001877/1.731, allocations: 115.5 kB / 0.7414 GB, free: 129.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004915/1.736, allocations: 1.046 MB / 0.7425 GB, free: 129.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009381/1.745, allocations: 1.311 MB / 0.7437 GB, free: 129 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008025/1.753, allocations: 5.464 MB / 0.7491 GB, free: 126.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006676/1.76, allocations: 310.5 kB / 0.7494 GB, free: 126.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00153/1.761, allocations: 338.2 kB / 0.7497 GB, free: 126.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 24 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[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 (686): * Single equations (assignments): 679 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00526/1.767, allocations: 1.831 MB / 0.7515 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008545/1.768, allocations: 295.3 kB / 0.7518 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/1.78, allocations: 4.377 MB / 0.756 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-05/1.78, allocations: 23.75 kB / 0.7561 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-05/1.78, allocations: 3.906 kB / 0.7561 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-05/1.78, allocations: 13.27 kB / 0.7561 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0252/1.806, allocations: 9.353 MB / 0.7652 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.659e-05/1.806, allocations: 0 / 0.7652 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0038/1.809, allocations: 354.1 kB / 0.7656 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00435/1.814, allocations: 0.882 MB / 0.7664 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004771/1.814, allocations: 38.05 kB / 0.7665 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006618/1.821, allocations: 4.82 MB / 0.7712 GB, free: 116.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.821, allocations: 7.438 kB / 0.7712 GB, free: 116.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01765/1.839, allocations: 7.68 MB / 0.7787 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002531/1.841, allocations: 0.7147 MB / 0.7794 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009954/1.842, allocations: 35.8 kB / 0.7794 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002895/1.845, allocations: 120.5 kB / 0.7795 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005959/1.846, allocations: 118.6 kB / 0.7796 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002577/1.846, allocations: 50.3 kB / 0.7797 GB, free: 112.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00453/1.851, allocations: 1.945 MB / 0.7816 GB, free: 111.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.122e-06/1.851, allocations: 0 / 0.7816 GB, free: 111.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006841/1.858, allocations: 0.9408 MB / 0.7825 GB, free: 111.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * 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 (171): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01888/1.876, allocations: 8.508 MB / 0.7908 GB, free: 106.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01606/1.893, allocations: 6.401 MB / 0.7971 GB, free: 100.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.893, allocations: 0 / 0.7971 GB, free: 100.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007277/1.9, allocations: 2.683 MB / 0.7997 GB, free: 98.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/1.903, allocations: 284 kB / 0.7999 GB, free: 98.06 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4305/2.333, allocations: 108.8 MB / 0.9062 GB, free: 130 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007329/2.341, allocations: 2.935 MB / 0.909 GB, free: 129.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008369/2.349, allocations: 1.849 MB / 0.9108 GB, free: 129.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004562/2.354, allocations: 1.567 MB / 0.9124 GB, free: 129.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.713e-06/2.354, allocations: 0 / 0.9124 GB, free: 129.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1629/2.517, allocations: 69.72 MB / 0.9804 GB, free: 93.09 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002695/2.517, allocations: 212.9 kB / 0.9806 GB, free: 92.84 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.254/7.771, allocations: 4 kB / 0.9806 GB, free: 92.83 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat