Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.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.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_PlanarLoopWithMove",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.009922, allocations: 164.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.664/1.664, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001977/0.001977, allocations: 102.5 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.4335/0.4335, allocations: 38.05 MB / 303.7 MB, free: 42.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007223/0.0007224, allocations: 15.98 kB / 363 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1149, allocations: 48.7 MB / 411.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4293/0.5442, allocations: 92.92 MB / 0.4928 GB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.5446, allocations: 70.09 kB / 0.4928 GB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4204/0.965, allocations: 92.35 MB / 0.583 GB, free: 3.262 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.594e-06/0.965, allocations: 0 / 0.583 GB, free: 3.262 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003539/0.9654, allocations: 88 kB / 0.5831 GB, free: 3.176 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.3116/1.277, allocations: 5.046 MB / 0.588 GB, free: 74.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/1.277, allocations: 9.219 kB / 0.588 GB, free: 74.93 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00426/1.281, allocations: 0.794 MB / 0.5888 GB, free: 74.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01842/1.3, allocations: 2.237 MB / 0.591 GB, free: 74.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02103/1.321, allocations: 5.085 MB / 0.596 GB, free: 74.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005669/1.322, allocations: 326.3 kB / 0.5963 GB, free: 74.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002937/1.324, allocations: 436.5 kB / 0.5967 GB, free: 74.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03639/1.361, allocations: 11.56 MB / 0.608 GB, free: 71.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000337/1.361, allocations: 54.73 kB / 0.608 GB, free: 71.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002437/1.364, allocations: 209.4 kB / 0.6082 GB, free: 71.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002571/1.366, allocations: 1.151 MB / 0.6094 GB, free: 71.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03186/1.398, allocations: 10.01 MB / 0.6191 GB, free: 71.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08166/1.48, allocations: 50.71 MB / 0.6687 GB, free: 37.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02338/1.503, allocations: 5.873 MB / 0.6744 GB, free: 35.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02193/1.525, allocations: 9.195 MB / 0.6834 GB, free: 30.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01939/1.545, allocations: 3.393 MB / 0.6867 GB, free: 29.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=209): time 9.527e-06/1.545, allocations: 0 / 0.6867 GB, free: 29.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.2085/1.753, allocations: 33.98 MB / 0.7199 GB, free: 13.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/1.754, allocations: 166.4 kB / 0.72 GB, free: 13.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00786/1.761, allocations: 3.706 MB / 0.7236 GB, free: 10.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008679/1.762, allocations: 65.7 kB / 0.7237 GB, free: 10.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003314/1.766, allocations: 3.241 MB / 0.7269 GB, free: 7.387 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0018/1.768, allocations: 1.043 MB / 0.7279 GB, free: 6.465 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/1.769, allocations: 132 kB / 0.728 GB, free: 6.336 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003861/1.769, allocations: 0.5875 MB / 0.7286 GB, free: 5.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007568/1.777, allocations: 3.293 MB / 0.7318 GB, free: 3.016 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01168/1.788, allocations: 6.887 MB / 0.7385 GB, free: 10.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01237/1.801, allocations: 4.703 MB / 0.7431 GB, free: 6.438 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001275/1.801, allocations: 36 kB / 0.7432 GB, free: 6.402 MB / 442.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.3665/2.167, allocations: 12.48 MB / 0.7553 GB, free: 78.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/2.168, allocations: 89.61 kB / 0.7554 GB, free: 78.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002238/2.168, allocations: 123.8 kB / 0.7555 GB, free: 78.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01346/2.181, allocations: 2.682 MB / 0.7582 GB, free: 78.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/2.192, allocations: 1.471 MB / 0.7596 GB, free: 78.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04916/2.241, allocations: 22.28 MB / 0.7814 GB, free: 72.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01223/2.253, allocations: 432.9 kB / 0.7818 GB, free: 72.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002407/2.256, allocations: 393.5 kB / 0.7821 GB, free: 72.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 574 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,rod3.color[3],rod3.color[2],rod3.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[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 (762): * Single equations (assignments): 754 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.009209/2.265, allocations: 2.227 MB / 0.7843 GB, free: 72.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001827/2.267, allocations: 398 kB / 0.7847 GB, free: 72.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03774/2.304, allocations: 7.908 MB / 0.7924 GB, free: 71.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001031/2.305, allocations: 30.66 kB / 0.7925 GB, free: 71.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.697e-05/2.305, allocations: 12.55 kB / 0.7925 GB, free: 71.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-05/2.305, allocations: 12.61 kB / 0.7925 GB, free: 71.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0449/2.35, allocations: 14.57 MB / 0.8067 GB, free: 66.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.026e-05/2.35, allocations: 4.219 kB / 0.8067 GB, free: 66.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004261/2.354, allocations: 398.8 kB / 0.8071 GB, free: 66.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01164/2.366, allocations: 2.445 MB / 0.8095 GB, free: 66.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008738/2.367, allocations: 50 kB / 0.8095 GB, free: 66.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04255/2.409, allocations: 22.11 MB / 0.8311 GB, free: 54.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/2.409, allocations: 0 / 0.8311 GB, free: 54.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02351/2.433, allocations: 8.251 MB / 0.8392 GB, free: 51.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003688/2.437, allocations: 0.9959 MB / 0.8401 GB, free: 51.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001513/2.438, allocations: 55.69 kB / 0.8402 GB, free: 51.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004684/2.443, allocations: 205 kB / 0.8404 GB, free: 51.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001415/2.444, allocations: 190.8 kB / 0.8406 GB, free: 51.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003863/2.445, allocations: 77.89 kB / 0.8406 GB, free: 51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006298/2.451, allocations: 2.591 MB / 0.8432 GB, free: 50.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.62e-07/2.451, allocations: 0 / 0.8432 GB, free: 50.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009306/2.46, allocations: 1.378 MB / 0.8445 GB, free: 49.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 181 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(2,100.0%) 14} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.02695/2.487, allocations: 9.634 MB / 0.8539 GB, free: 45.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02189/2.509, allocations: 8.815 MB / 0.8625 GB, free: 40.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/2.509, allocations: 0 / 0.8625 GB, free: 40.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01028/2.52, allocations: 3.989 MB / 0.8664 GB, free: 36.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003993/2.524, allocations: 433.4 kB / 0.8668 GB, free: 36.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4234/2.947, allocations: 109.1 MB / 0.9733 GB, free: 32.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01238/2.96, allocations: 3.664 MB / 0.9769 GB, free: 31.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01502/2.975, allocations: 2.148 MB / 0.979 GB, free: 31.76 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007862/2.983, allocations: 2.059 MB / 0.981 GB, free: 31.75 MB / 458.7 MB Notification: Performance of SimCode: time 1.303e-06/2.983, allocations: 0 / 0.981 GB, free: 31.75 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2623/3.245, allocations: 104.8 MB / 1.083 GB, free: 8.289 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003558/3.245, allocations: 242 kB / 1.084 GB, free: 8.012 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.901/9.146, allocations: 1.203 kB / 1.084 GB, free: 8.012 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat does not exist to compare? outputFormat=mat