Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.117/1.117, allocations: 205.1 MB / 223.7 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008568/0.0008568, allocations: 98.61 kB / 271.2 MB, free: 8.445 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000707/0.000707, allocations: 43.94 kB / 327.2 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1771, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.06978/0.2469, allocations: 103.4 MB / 477.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03627/0.2832, allocations: 19.97 MB / 497.2 MB, free: 5.719 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01642/0.2998, allocations: 478.7 kB / 497.7 MB, free: 5.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1807/0.4805, allocations: 5.848 MB / 0.4917 GB, free: 1.234 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006306/0.4868, allocations: 3.188 MB / 0.4948 GB, free: 1.148 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002571/0.4894, allocations: 1.455 MB / 0.4962 GB, free: 1.125 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01498/0.5044, allocations: 15.93 MB / 0.5118 GB, free: 1.066 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008318/0.5127, allocations: 7.499 MB / 0.5191 GB, free: 15.04 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005449/0.5182, allocations: 3.233 MB / 0.5223 GB, free: 14.56 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008229/0.5265, allocations: 5.094 MB / 0.5272 GB, free: 13.22 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002241/0.5287, allocations: 484 kB / 0.5277 GB, free: 13.22 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00388/0.5326, allocations: 1.496 MB / 0.5292 GB, free: 12.94 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00461/0.5373, allocations: 4.037 MB / 0.5331 GB, free: 11.46 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0062/0.5435, allocations: 4.228 MB / 0.5372 GB, free: 8.523 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.555, allocations: 13.15 MB / 0.5501 GB, free: 12.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.5551, allocations: 0 / 0.5501 GB, free: 12.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5551, allocations: 0 / 0.5501 GB, free: 12.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002609/0.5553, allocations: 3.188 kB / 0.5501 GB, free: 12.71 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: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.01899/0.5743, allocations: 9.701 MB / 0.5596 GB, free: 3.082 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.5744, allocations: 12.03 kB / 0.5596 GB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0407/0.6151, allocations: 5.235 MB / 0.5647 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0179/0.633, allocations: 8.189 MB / 0.5727 GB, free: 5.898 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002951/0.6334, allocations: 427.6 kB / 0.5731 GB, free: 5.527 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001758/0.6351, allocations: 0.5811 MB / 0.5737 GB, free: 4.996 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02419/0.6593, allocations: 16.56 MB / 0.5898 GB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001836/0.6596, allocations: 101.2 kB / 0.5899 GB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005574/0.6601, allocations: 265.1 kB / 0.5902 GB, free: 3.379 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003735/0.6639, allocations: 2.76 MB / 0.5929 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02211/0.686, allocations: 13.64 MB / 0.6062 GB, free: 3.277 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2258/0.9118, allocations: 67.98 MB / 0.6726 GB, free: 223 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01797/0.9298, allocations: 7.896 MB / 0.6803 GB, free: 222.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004496/0.9343, allocations: 4.51 MB / 0.6847 GB, free: 222.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01571/0.95, allocations: 12.43 MB / 0.6968 GB, free: 216.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.219e-05/0.9501, allocations: 70.38 kB / 0.6969 GB, free: 216.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=280): time 5.29e-06/0.9502, allocations: 0 / 0.6969 GB, free: 216.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=340): time 0.1517/1.102, allocations: 49.27 MB / 0.745 GB, free: 178.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/1.102, allocations: 402.1 kB / 0.7454 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009431/1.111, allocations: 7.187 MB / 0.7524 GB, free: 170.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006808/1.112, allocations: 77.7 kB / 0.7525 GB, free: 170.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002112/1.114, allocations: 5.021 MB / 0.7574 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/1.115, allocations: 1.266 MB / 0.7586 GB, free: 164.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002078/1.117, allocations: 1.864 MB / 0.7604 GB, free: 162.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.783e-05/1.117, allocations: 308.6 kB / 0.7607 GB, free: 162.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004493/1.122, allocations: 4.547 MB / 0.7652 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005897/1.128, allocations: 9.269 MB / 0.7742 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/1.14, allocations: 14.54 MB / 0.7884 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/1.14, allocations: 50.06 kB / 0.7885 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.03255/1.173, allocations: 19.77 MB / 0.8078 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.991e-05/1.173, allocations: 75.98 kB / 0.8079 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/1.173, allocations: 160.9 kB / 0.808 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01828/1.191, allocations: 7.036 MB / 0.8149 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005773/1.197, allocations: 1.926 MB / 0.8168 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03487/1.232, allocations: 33.15 MB / 0.8491 GB, free: 67.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00699/1.239, allocations: 0.585 MB / 0.8497 GB, free: 66.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/1.24, allocations: 500 kB / 0.8502 GB, free: 66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1049): * Single equations (assignments): 1043 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,93,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.004587/1.245, allocations: 3.482 MB / 0.8536 GB, free: 62.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.246, allocations: 0.6364 MB / 0.8542 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02387/1.27, allocations: 13.33 MB / 0.8672 GB, free: 48.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.069e-05/1.27, allocations: 42.19 kB / 0.8673 GB, free: 48.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.366e-05/1.27, allocations: 24.06 kB / 0.8673 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.099e-05/1.27, allocations: 11.95 kB / 0.8673 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04143/1.311, allocations: 26.73 MB / 0.8934 GB, free: 21.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-05/1.311, allocations: 8.75 kB / 0.8934 GB, free: 21.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001806/1.313, allocations: 419.4 kB / 0.8938 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1827/1.496, allocations: 6.677 MB / 0.9003 GB, free: 214.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006696/1.497, allocations: 60.38 kB / 0.9004 GB, free: 214.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03701/1.534, allocations: 31.9 MB / 0.9315 GB, free: 202.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/1.534, allocations: 7.188 kB / 0.9316 GB, free: 202.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2935/1.827, allocations: 177.7 MB / 1.105 GB, free: 31.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004044/1.831, allocations: 1.384 MB / 1.106 GB, free: 29.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001566/1.833, allocations: 63.98 kB / 1.107 GB, free: 29.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003909/1.837, allocations: 303.5 kB / 1.107 GB, free: 29.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001026/1.838, allocations: 250.6 kB / 1.107 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004137/1.838, allocations: 88 kB / 1.107 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006587/1.845, allocations: 4.607 MB / 1.112 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/1.845, allocations: 4 kB / 1.112 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01044/1.855, allocations: 3.038 MB / 1.115 GB, free: 21.61 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (Inertia.phi,Inertia.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 (215): * Single equations (assignments): 209 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,87,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008568/1.856, allocations: 209.9 kB / 1.115 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.1643/2.021, allocations: 11.58 MB / 1.126 GB, free: 209.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/2.021, allocations: 4.062 kB / 1.126 GB, free: 209.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008362/2.029, allocations: 5.005 MB / 1.131 GB, free: 208.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005314/2.034, allocations: 0.9294 MB / 1.132 GB, free: 208.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03698/2.071, allocations: 26.96 MB / 1.158 GB, free: 197.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007741/2.079, allocations: 5.699 MB / 1.164 GB, free: 196 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006284/2.085, allocations: 2.643 MB / 1.166 GB, free: 194.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/2.087, allocations: 403 kB / 1.167 GB, free: 194 MB / 0.5105 GB Notification: Performance of SimCode: time 8.02e-07/2.087, allocations: 0 / 1.167 GB, free: 194 MB / 0.5105 GB Notification: Performance of Templates: time 0.1627/2.249, allocations: 135.7 MB / 1.299 GB, free: 59.5 MB / 0.5105 GB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches