Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.613/1.613, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 47.92 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4526, allocations: 53.36 MB / 432.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02513/0.4778, allocations: 17.63 MB / 450 MB, free: 5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02133/0.4991, allocations: 5.992 MB / 456 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006768/0.5058, allocations: 206.8 kB / 456.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01375/0.5196, allocations: 6.16 MB / 462.4 MB, free: 8.609 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01285/0.5325, allocations: 3.517 MB / 465.9 MB, free: 5.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005311/0.5378, allocations: 1.666 MB / 467.5 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02122/0.559, allocations: 13 MB / 480.5 MB, free: 6.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01101/0.57, allocations: 6.294 MB / 486.8 MB, free: 8 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009815/0.5798, allocations: 3.809 MB / 490.6 MB, free: 12.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01013/0.5899, allocations: 5.355 MB / 496 MB, free: 6.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003587/0.5935, allocations: 0.75 MB / 496.7 MB, free: 6.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006011/0.5995, allocations: 1.608 MB / 498.3 MB, free: 4.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007996/0.6075, allocations: 4.5 MB / 0.4911 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009191/0.6167, allocations: 3.547 MB / 0.4945 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02518/0.6419, allocations: 14.24 MB / 0.5084 GB, free: 14.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.6419, allocations: 0 / 0.5084 GB, free: 14.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.6419, allocations: 0 / 0.5084 GB, free: 14.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005963/0.6425, allocations: 0 / 0.5084 GB, free: 14.08 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.03352/0.676, allocations: 10.21 MB / 0.5184 GB, free: 3.793 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/0.6761, allocations: 8.031 kB / 0.5184 GB, free: 3.785 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0445/0.7206, allocations: 5.332 MB / 0.5236 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02393/0.7445, allocations: 8.019 MB / 0.5314 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005677/0.7451, allocations: 448 kB / 0.5319 GB, free: 5.895 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002829/0.7479, allocations: 0.6206 MB / 0.5325 GB, free: 5.273 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6403/1.388, allocations: 17.43 MB / 0.5495 GB, free: 88.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005911/1.389, allocations: 101 kB / 0.5496 GB, free: 88.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002589/1.391, allocations: 277.7 kB / 0.5499 GB, free: 88.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004753/1.396, allocations: 2.858 MB / 0.5527 GB, free: 87.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03004/1.426, allocations: 14 MB / 0.5663 GB, free: 75.07 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.0997/1.526, allocations: 63.2 MB / 0.628 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01941/1.545, allocations: 7.495 MB / 0.6354 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005272/1.551, allocations: 4.357 MB / 0.6396 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02576/1.576, allocations: 11.05 MB / 0.6504 GB, free: 4.652 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.731e-05/1.576, allocations: 64.56 kB / 0.6505 GB, free: 4.582 MB / 462.1 MB Notification: Performance of pre-optimization done (n=293): time 6.022e-06/1.576, allocations: 0 / 0.6505 GB, free: 4.582 MB / 462.1 MB Notification: Performance of matching and sorting (n=359): time 0.2051/1.782, allocations: 52.79 MB / 0.702 GB, free: 340 kB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003024/1.782, allocations: 402.2 kB / 0.7024 GB, free: 15.85 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01355/1.795, allocations: 6.949 MB / 0.7092 GB, free: 9.113 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001315/1.797, allocations: 85.7 kB / 0.7093 GB, free: 9.023 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.005827/1.802, allocations: 5.421 MB / 0.7146 GB, free: 3.695 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002771/1.805, allocations: 1.383 MB / 0.7159 GB, free: 2.301 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004189/1.809, allocations: 1.921 MB / 0.7178 GB, free: 376 kB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001799/1.81, allocations: 313 kB / 0.7181 GB, free: 60 kB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008577/1.818, allocations: 4.707 MB / 0.7227 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01546/1.834, allocations: 9.764 MB / 0.7322 GB, free: 15.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.401/2.235, allocations: 14.99 MB / 0.7469 GB, free: 178.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003802/2.235, allocations: 50.53 kB / 0.7469 GB, free: 178.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.05513/2.29, allocations: 20.36 MB / 0.7668 GB, free: 173.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000155/2.29, allocations: 78.61 kB / 0.7669 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002818/2.291, allocations: 163.7 kB / 0.767 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02264/2.313, allocations: 7.322 MB / 0.7742 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008068/2.321, allocations: 1.997 MB / 0.7761 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04724/2.369, allocations: 35.83 MB / 0.8111 GB, free: 138.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01154/2.38, allocations: 0.6027 MB / 0.8117 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002423/2.383, allocations: 0.5039 MB / 0.8122 GB, free: 137.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * 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],b2.cylinderColor[3],b2.cylinderColor[2],b2.cylinderColor[1],b1.cylinderColor[3],b1.cylinderColor[2],b1.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],mid.color[3],mid.color[2],mid.color[1],crank4.color[3],crank4.color[2],crank4.color[1],crank4.body.sphereColor[3],crank4.body.sphereColor[2],crank4.body.sphereColor[1],crank3.color[3],crank3.color[2],crank3.color[1],crank3.body.sphereColor[3],crank3.body.sphereColor[2],crank3.body.sphereColor[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],bearing.cylinderColor[3],bearing.cylinderColor[2],bearing.cylinderColor[1],connectingRod.color[3],connectingRod.color[2],connectingRod.color[1],connectingRod.body.sphereColor[3],connectingRod.body.sphereColor[2],connectingRod.body.sphereColor[1],piston.color[3],piston.color[2],piston.color[1],piston.body.sphereColor[3],piston.body.sphereColor[2],piston.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1081): * Single equations (assignments): 1075 * 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,96,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.008001/2.391, allocations: 3.587 MB / 0.8157 GB, free: 133.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002026/2.393, allocations: 0.643 MB / 0.8163 GB, free: 133.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02575/2.418, allocations: 13.8 MB / 0.8298 GB, free: 119.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.107e-05/2.418, allocations: 36 kB / 0.8298 GB, free: 119.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.773e-05/2.418, allocations: 23.94 kB / 0.8299 GB, free: 119.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-05/2.418, allocations: 15.94 kB / 0.8299 GB, free: 119.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05044/2.469, allocations: 25.21 MB / 0.8545 GB, free: 94.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.022e-05/2.469, allocations: 9.562 kB / 0.8545 GB, free: 94.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002375/2.471, allocations: 467.3 kB / 0.855 GB, free: 93.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01972/2.491, allocations: 6.961 MB / 0.8618 GB, free: 86.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001088/2.492, allocations: 66.66 kB / 0.8618 GB, free: 86.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03992/2.532, allocations: 34.62 MB / 0.8956 GB, free: 51.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/2.532, allocations: 11.94 kB / 0.8956 GB, free: 51.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03261/2.565, allocations: 19.6 MB / 0.9148 GB, free: 32.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002196/2.567, allocations: 0.6054 MB / 0.9154 GB, free: 31.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001903/2.569, allocations: 68.23 kB / 0.9154 GB, free: 31.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004165/2.573, allocations: 323.5 kB / 0.9157 GB, free: 31.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001204/2.574, allocations: 266.6 kB / 0.916 GB, free: 31.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003522/2.575, allocations: 97.53 kB / 0.9161 GB, free: 30.99 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006124/2.581, allocations: 4.22 MB / 0.9202 GB, free: 26.79 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/2.581, allocations: 0 / 0.9202 GB, free: 26.79 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01013/2.591, allocations: 2.187 MB / 0.9223 GB, free: 24.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (231): * Single equations (assignments): 225 * 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,90,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.001001/2.592, allocations: 226.4 kB / 0.9226 GB, free: 24.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01787/2.61, allocations: 11.51 MB / 0.9338 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-05/2.61, allocations: 4.938 kB / 0.9338 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008413/2.618, allocations: 4.914 MB / 0.9386 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006683/2.625, allocations: 0.9152 MB / 0.9395 GB, free: 6.965 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4061/3.031, allocations: 20.71 MB / 0.9597 GB, free: 188.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01097/3.042, allocations: 5.268 MB / 0.9649 GB, free: 187.6 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006442/3.048, allocations: 2.635 MB / 0.9674 GB, free: 187.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/3.05, allocations: 377 kB / 0.9678 GB, free: 187.5 MB / 0.5607 GB Notification: Performance of SimCode: time 1.944e-06/3.05, allocations: 0 / 0.9678 GB, free: 187.5 MB / 0.5607 GB Notification: Performance of Templates: time 0.153/3.203, allocations: 104.3 MB / 1.07 GB, free: 95.88 MB / 0.5607 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.94416841599741]