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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 113.2 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 188.2 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 59.92 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.128, allocations: 46.61 MB / 375.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.3051/0.4332, allocations: 19.5 MB / 394.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02039/0.4536, allocations: 5.995 MB / 400.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008516/0.4622, allocations: 157.2 kB / 400.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01385/0.4761, allocations: 5.862 MB / 406.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01376/0.4899, allocations: 3.358 MB / 410 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004698/0.4947, allocations: 1.57 MB / 411.6 MB, free: 7.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01906/0.5137, allocations: 11.37 MB / 423 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01063/0.5244, allocations: 7.655 MB / 430.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00797/0.5324, allocations: 3.606 MB / 434.2 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008257/0.5407, allocations: 4.783 MB / 439 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002469/0.5432, allocations: 0.7148 MB / 439.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005265/0.5485, allocations: 1.682 MB / 441.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007308/0.5558, allocations: 4.298 MB / 445.7 MB, free: 8.801 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01112/0.567, allocations: 4.483 MB / 450.2 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02132/0.5883, allocations: 13.69 MB / 463.9 MB, free: 6.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.5884, allocations: 0 / 463.9 MB, free: 6.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.5884, allocations: 0 / 463.9 MB, free: 6.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006031/0.589, allocations: 0 / 463.9 MB, free: 6.566 MB / 382.1 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.03069/0.6197, allocations: 9.692 MB / 473.6 MB, free: 12.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.6198, allocations: 8.031 kB / 473.6 MB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04689/0.6667, allocations: 5.24 MB / 478.8 MB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02042/0.6872, allocations: 8.378 MB / 487.2 MB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004521/0.6876, allocations: 423.6 kB / 487.6 MB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002504/0.6902, allocations: 0.5853 MB / 488.2 MB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03492/0.7251, allocations: 16.55 MB / 0.4929 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003059/0.7254, allocations: 103.1 kB / 0.493 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009154/0.7264, allocations: 267.8 kB / 0.4933 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004868/0.7312, allocations: 2.768 MB / 0.496 GB, free: 9.336 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0301/0.7614, allocations: 13.62 MB / 0.5093 GB, free: 11.69 MB / 446.1 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.5364/1.298, allocations: 67.65 MB / 0.5753 GB, free: 105.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02412/1.322, allocations: 7.9 MB / 0.583 GB, free: 104.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00682/1.329, allocations: 4.51 MB / 0.5874 GB, free: 102.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02247/1.351, allocations: 12.42 MB / 0.5996 GB, free: 96.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.339e-05/1.351, allocations: 68.27 kB / 0.5996 GB, free: 96.64 MB / 478.1 MB Notification: Performance of pre-optimization done (n=280): time 8.876e-06/1.351, allocations: 0 / 0.5996 GB, free: 96.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=340): time 0.1779/1.529, allocations: 49.27 MB / 0.6478 GB, free: 58.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/1.53, allocations: 394.1 kB / 0.6481 GB, free: 57.99 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009721/1.539, allocations: 7.183 MB / 0.6551 GB, free: 50.83 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001007/1.54, allocations: 81.7 kB / 0.6552 GB, free: 50.74 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004079/1.544, allocations: 5.034 MB / 0.6601 GB, free: 45.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002496/1.547, allocations: 1.266 MB / 0.6614 GB, free: 44.45 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003131/1.55, allocations: 1.867 MB / 0.6632 GB, free: 42.58 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.697e-05/1.55, allocations: 310 kB / 0.6635 GB, free: 42.28 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005215/1.555, allocations: 4.547 MB / 0.6679 GB, free: 37.72 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007728/1.563, allocations: 9.268 MB / 0.677 GB, free: 26.23 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01511/1.578, allocations: 14.55 MB / 0.6912 GB, free: 9.445 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001311/1.578, allocations: 44 kB / 0.6912 GB, free: 9.402 MB / 478.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.04264/1.621, allocations: 19.76 MB / 0.7105 GB, free: 5.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/1.621, allocations: 72 kB / 0.7106 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001848/1.621, allocations: 160 kB / 0.7108 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02222/1.644, allocations: 7.047 MB / 0.7176 GB, free: 14.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006873/1.651, allocations: 1.93 MB / 0.7195 GB, free: 12.36 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3134/1.964, allocations: 35.31 MB / 0.754 GB, free: 166.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01079/1.975, allocations: 0.5864 MB / 0.7546 GB, free: 166.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002789/1.978, allocations: 0.4914 MB / 0.7551 GB, free: 166.1 MB / 0.5138 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.009477/1.987, allocations: 3.482 MB / 0.7585 GB, free: 165.7 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002089/1.989, allocations: 0.639 MB / 0.7591 GB, free: 165.7 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03313/2.022, allocations: 13.33 MB / 0.7721 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001084/2.023, allocations: 35.75 kB / 0.7721 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.451e-05/2.023, allocations: 19.25 kB / 0.7721 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.265e-05/2.023, allocations: 16.14 kB / 0.7722 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05463/2.077, allocations: 26.6 MB / 0.7981 GB, free: 151 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.09e-05/2.078, allocations: 7.75 kB / 0.7981 GB, free: 151 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002325/2.08, allocations: 424.1 kB / 0.7986 GB, free: 150.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01959/2.1, allocations: 6.642 MB / 0.805 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001045/2.101, allocations: 63.8 kB / 0.8051 GB, free: 147.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03991/2.141, allocations: 34 MB / 0.8383 GB, free: 113.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/2.141, allocations: 11.94 kB / 0.8383 GB, free: 113.3 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03184/2.172, allocations: 18.77 MB / 0.8566 GB, free: 94.76 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00446/2.177, allocations: 1.394 MB / 0.858 GB, free: 93.44 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002473/2.179, allocations: 60 kB / 0.8581 GB, free: 93.38 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004855/2.184, allocations: 303.5 kB / 0.8583 GB, free: 93.09 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001168/2.186, allocations: 244.9 kB / 0.8586 GB, free: 92.85 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002756/2.186, allocations: 94.42 kB / 0.8587 GB, free: 92.76 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007791/2.194, allocations: 4.603 MB / 0.8632 GB, free: 88.19 MB / 0.5138 GB Notification: Performance of sort global known variables: time 7.21e-07/2.194, allocations: 0 / 0.8632 GB, free: 88.19 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01283/2.207, allocations: 2.143 MB / 0.8653 GB, free: 86.05 MB / 0.5138 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.001473/2.208, allocations: 220.1 kB / 0.8655 GB, free: 85.84 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02311/2.231, allocations: 11.62 MB / 0.8768 GB, free: 74.24 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/2.231, allocations: 0 / 0.8768 GB, free: 74.24 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008792/2.24, allocations: 5.009 MB / 0.8817 GB, free: 69.2 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00736/2.247, allocations: 0.989 MB / 0.8827 GB, free: 68.25 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03425/2.282, allocations: 19.67 MB / 0.9019 GB, free: 48.54 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007564/2.289, allocations: 5.556 MB / 0.9073 GB, free: 42.95 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005938/2.295, allocations: 2.605 MB / 0.9098 GB, free: 40.34 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001447/2.297, allocations: 395.4 kB / 0.9102 GB, free: 39.95 MB / 0.5138 GB Notification: Performance of SimCode: time 1.292e-06/2.297, allocations: 0 / 0.9102 GB, free: 39.95 MB / 0.5138 GB Notification: Performance of Templates: time 0.4135/2.71, allocations: 94.24 MB / 1.002 GB, free: 128.1 MB / 0.5138 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches