Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 94.61 kB / 16.94 MB, free: 5.98 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.001496/0.001497, allocations: 178.9 kB / 17.82 MB, free: 5.652 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.385/1.385, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004847/0.0004848, allocations: 11.66 kB / 280.7 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09027/0.09077, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.2818/0.3726, allocations: 95.46 MB / 423.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.05634/0.429, allocations: 21.46 MB / 445.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02592/0.455, allocations: 0.4986 MB / 445.8 MB, free: 332 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01914/0.4742, allocations: 4.81 MB / 450.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05091/0.5252, allocations: 13.73 MB / 464.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007898/0.5331, allocations: 1.479 MB / 465.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.1102/0.6433, allocations: 77.87 MB / 0.5309 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01651/0.6599, allocations: 9.246 MB / 0.5399 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006492/0.6664, allocations: 2.547 MB / 0.5424 GB, free: 2.414 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2881/0.9546, allocations: 3.25 MB / 0.5456 GB, free: 83.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00234/0.9569, allocations: 291.2 kB / 0.5459 GB, free: 83.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003888/0.9608, allocations: 1.113 MB / 0.547 GB, free: 83.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004872/0.9657, allocations: 3.55 MB / 0.5504 GB, free: 83.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003962/0.9697, allocations: 1.662 MB / 0.552 GB, free: 83.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.9852, allocations: 11.67 MB / 0.5634 GB, free: 82.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9852, allocations: 1.969 kB / 0.5634 GB, free: 82.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.9852, allocations: 0 / 0.5634 GB, free: 82.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000624/0.9859, allocations: 1.594 kB / 0.5634 GB, free: 82.64 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2489 * Number of variables: 2489 Notification: Performance of Generate backend data structure: time 0.03317/1.019, allocations: 9.197 MB / 0.5724 GB, free: 77.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/1.019, allocations: 9.156 kB / 0.5724 GB, free: 77.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2898/1.309, allocations: 29.83 MB / 0.6016 GB, free: 58.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02397/1.333, allocations: 9.346 MB / 0.6107 GB, free: 51.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003179/1.333, allocations: 448.6 kB / 0.6111 GB, free: 51.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002233/1.335, allocations: 0.6098 MB / 0.6117 GB, free: 50.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03082/1.366, allocations: 16.99 MB / 0.6283 GB, free: 37.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003332/1.367, allocations: 97.72 kB / 0.6284 GB, free: 37.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009223/1.368, allocations: 284 kB / 0.6287 GB, free: 37.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004015/1.372, allocations: 2.859 MB / 0.6315 GB, free: 35.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03235/1.404, allocations: 13.53 MB / 0.6447 GB, free: 25.71 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.1003/1.504, allocations: 68.19 MB / 0.7113 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01996/1.524, allocations: 7.253 MB / 0.7184 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2708/1.795, allocations: 12.22 MB / 0.7303 GB, free: 193.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/1.795, allocations: 71.83 kB / 0.7304 GB, free: 193.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=293): time 6.232e-06/1.795, allocations: 1.438 kB / 0.7304 GB, free: 193.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=365): time 0.1387/1.934, allocations: 42.03 MB / 0.7714 GB, free: 179.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/1.934, allocations: 410 kB / 0.7718 GB, free: 178.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/1.945, allocations: 8.154 MB / 0.7798 GB, free: 171.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001312/1.947, allocations: 82.64 kB / 0.7798 GB, free: 171.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003039/1.95, allocations: 5.384 MB / 0.7851 GB, free: 166.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001815/1.952, allocations: 1.334 MB / 0.7864 GB, free: 165 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004428/1.952, allocations: 172 kB / 0.7866 GB, free: 164.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003427/1.952, allocations: 0.6697 MB / 0.7872 GB, free: 164.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004498/1.957, allocations: 3.671 MB / 0.7908 GB, free: 160.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006396/1.963, allocations: 8.44 MB / 0.799 GB, free: 149.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006263/1.97, allocations: 5.429 MB / 0.8043 GB, free: 144.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.678e-05/1.97, allocations: 48 kB / 0.8044 GB, free: 144.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=1124) (initialization): time 0.02705/1.997, allocations: 15.33 MB / 0.8194 GB, free: 128.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001721/1.997, allocations: 79.95 kB / 0.8194 GB, free: 128.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002465/1.997, allocations: 164 kB / 0.8196 GB, free: 128.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01206/2.009, allocations: 4.06 MB / 0.8236 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007642/2.017, allocations: 1.84 MB / 0.8254 GB, free: 122.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03543/2.052, allocations: 26.46 MB / 0.8512 GB, free: 95.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009482/2.062, allocations: 0.4923 MB / 0.8517 GB, free: 95.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00218/2.064, allocations: 494.3 kB / 0.8521 GB, free: 94.96 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 756 * Number of states: 0 () * Number of discrete variables: 72 (Rod3.color[3],Rod3.color[2],Rod3.color[1],Rod1.color[3],Rod1.color[2],Rod1.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.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],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.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 (988): * Single equations (assignments): 982 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,72.0%) 101,(1,100.0%) 4} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.01004/2.074, allocations: 3.621 MB / 0.8557 GB, free: 91.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002451/2.077, allocations: 0.6826 MB / 0.8563 GB, free: 90.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02242/2.099, allocations: 9.402 MB / 0.8655 GB, free: 81.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.13e-05/2.099, allocations: 36 kB / 0.8656 GB, free: 81.13 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.547e-05/2.099, allocations: 23.95 kB / 0.8656 GB, free: 81.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.061e-05/2.1, allocations: 23.92 kB / 0.8656 GB, free: 81.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04537/2.145, allocations: 20.39 MB / 0.8855 GB, free: 60.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.527e-05/2.145, allocations: 8 kB / 0.8855 GB, free: 60.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002343/2.147, allocations: 444.1 kB / 0.8859 GB, free: 60.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.011/2.158, allocations: 3.837 MB / 0.8897 GB, free: 56.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008608/2.159, allocations: 71.95 kB / 0.8898 GB, free: 56.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03163/2.191, allocations: 25.76 MB / 0.9149 GB, free: 29.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/2.191, allocations: 15.89 kB / 0.9149 GB, free: 29.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2668/2.458, allocations: 15.65 MB / 0.9302 GB, free: 172.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005418/2.463, allocations: 1.309 MB / 0.9315 GB, free: 172.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002157/2.465, allocations: 71.11 kB / 0.9316 GB, free: 172.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004874/2.47, allocations: 228.4 kB / 0.9318 GB, free: 172.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/2.471, allocations: 263.5 kB / 0.932 GB, free: 172.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003317/2.472, allocations: 105.6 kB / 0.9321 GB, free: 172.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0124/2.484, allocations: 5.347 MB / 0.9374 GB, free: 171.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.92e-07/2.484, allocations: 0 / 0.9374 GB, free: 171.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01161/2.496, allocations: 2.043 MB / 0.9394 GB, free: 171.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (241): * Single equations (assignments): 235 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(9,69.1%) 92,(1,100.0%) 4} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/2.497, allocations: 241.2 kB / 0.9396 GB, free: 171.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01622/2.513, allocations: 9.639 MB / 0.949 GB, free: 167.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.088e-05/2.513, allocations: 2.531 kB / 0.949 GB, free: 167.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007224/2.52, allocations: 4.335 MB / 0.9532 GB, free: 166.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006952/2.527, allocations: 1.02 MB / 0.9542 GB, free: 165.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04014/2.568, allocations: 21.66 MB / 0.9754 GB, free: 155.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/2.579, allocations: 5.944 MB / 0.9812 GB, free: 153.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.009108/2.588, allocations: 2.792 MB / 0.9839 GB, free: 153 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002106/2.59, allocations: 429 kB / 0.9843 GB, free: 152.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.542e-06/2.59, allocations: 0 / 0.9843 GB, free: 152.6 MB / 494.1 MB Notification: Performance of Templates: time 0.1525/2.743, allocations: 88 MB / 1.07 GB, free: 68.33 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches