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.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.001364/0.001364, allocations: 82.33 kB / 21.99 MB, free: 4.719 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.00143/0.00143, allocations: 157.8 kB / 25.25 MB, free: 2.742 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 158.6 MB / 187 MB, free: 6.324 MB / 174.1 MB " [Timeout remaining time 179] 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.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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 66.73 kB / 299.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2157, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02085/0.2365, allocations: 16.82 MB / 365.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.2497, allocations: 5.827 MB / 371.2 MB, free: 8.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003134/0.2529, allocations: 186.9 kB / 371.3 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01183/0.2647, allocations: 5.701 MB / 377 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008881/0.2736, allocations: 3.486 MB / 380.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003547/0.2771, allocations: 1.584 MB / 382.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0164/0.2935, allocations: 11.37 MB / 393.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008553/0.3021, allocations: 5.951 MB / 399.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006495/0.3086, allocations: 3.661 MB / 403.1 MB, free: 8.691 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008292/0.3169, allocations: 4.868 MB / 408 MB, free: 3.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001722/0.3186, allocations: 0.7148 MB / 408.7 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003625/0.3222, allocations: 1.576 MB / 410.3 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004972/0.3272, allocations: 4.36 MB / 414.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005338/0.3325, allocations: 3.431 MB / 418 MB, free: 9.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01641/0.3489, allocations: 13.81 MB / 431.9 MB, free: 11.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3489, allocations: 8 kB / 431.9 MB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3489, allocations: 3.938 kB / 431.9 MB, free: 11.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002865/0.3492, allocations: 0 / 431.9 MB, free: 11.82 MB / 398.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.02389/0.3731, allocations: 9.873 MB / 441.7 MB, free: 1.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3732, allocations: 15.98 kB / 441.8 MB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04806/0.4212, allocations: 5.523 MB / 447.3 MB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02085/0.4421, allocations: 8.322 MB / 455.6 MB, free: 3.902 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004169/0.4425, allocations: 427.4 kB / 456 MB, free: 3.484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001892/0.4444, allocations: 0.5855 MB / 456.6 MB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03168/0.4761, allocations: 16.82 MB / 473.4 MB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002826/0.4763, allocations: 103.2 kB / 473.5 MB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008052/0.4771, allocations: 271.8 kB / 473.8 MB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3191/0.7962, allocations: 2.759 MB / 476.6 MB, free: 101.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02418/0.8204, allocations: 13.61 MB / 490.2 MB, free: 95.16 MB / 430.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.06558/0.886, allocations: 61.54 MB / 0.5388 GB, free: 33.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01793/0.9039, allocations: 7.463 MB / 0.5461 GB, free: 25.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005481/0.9094, allocations: 4.244 MB / 0.5502 GB, free: 21.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01526/0.9246, allocations: 10.77 MB / 0.5607 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.9247, allocations: 68.5 kB / 0.5608 GB, free: 10.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=280): time 6.341e-06/0.9247, allocations: 0 / 0.5608 GB, free: 10.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=340): time 0.1842/1.109, allocations: 51.38 MB / 0.611 GB, free: 8.059 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002382/1.109, allocations: 394.1 kB / 0.6113 GB, free: 7.586 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01242/1.122, allocations: 6.846 MB / 0.618 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00115/1.123, allocations: 81.69 kB / 0.6181 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004778/1.127, allocations: 5.242 MB / 0.6232 GB, free: 11.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001989/1.129, allocations: 1.318 MB / 0.6245 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003204/1.133, allocations: 1.873 MB / 0.6263 GB, free: 8.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/1.133, allocations: 313.1 kB / 0.6266 GB, free: 8.191 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006927/1.14, allocations: 4.547 MB / 0.6311 GB, free: 3.637 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01113/1.151, allocations: 9.489 MB / 0.6404 GB, free: 7.801 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0197/1.171, allocations: 14.54 MB / 0.6546 GB, free: 6.973 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/1.171, allocations: 48 kB / 0.6546 GB, free: 6.926 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.2245/1.395, allocations: 19.66 MB / 0.6738 GB, free: 172.6 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001914/1.395, allocations: 74.5 kB / 0.6739 GB, free: 172.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002801/1.396, allocations: 165.4 kB / 0.674 GB, free: 172.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02002/1.416, allocations: 7.028 MB / 0.6809 GB, free: 171.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006004/1.422, allocations: 1.932 MB / 0.6828 GB, free: 171.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04217/1.464, allocations: 34.58 MB / 0.7166 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007376/1.471, allocations: 0.5861 MB / 0.7171 GB, free: 141.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001288/1.472, allocations: 0.4934 MB / 0.7176 GB, free: 141 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.005321/1.478, allocations: 3.477 MB / 0.721 GB, free: 137.6 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001393/1.479, allocations: 0.6175 MB / 0.7216 GB, free: 137.4 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02577/1.505, allocations: 13.2 MB / 0.7345 GB, free: 124.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.844e-05/1.505, allocations: 43.38 kB / 0.7345 GB, free: 124.1 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-05/1.505, allocations: 20 kB / 0.7346 GB, free: 124.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.069e-05/1.505, allocations: 18.23 kB / 0.7346 GB, free: 124.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04357/1.549, allocations: 24.16 MB / 0.7582 GB, free: 99.66 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.357e-05/1.549, allocations: 8 kB / 0.7582 GB, free: 99.65 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/1.551, allocations: 423.4 kB / 0.7586 GB, free: 99.24 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01903/1.57, allocations: 6.644 MB / 0.7651 GB, free: 92.58 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007814/1.57, allocations: 56 kB / 0.7651 GB, free: 92.53 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04045/1.611, allocations: 33.29 MB / 0.7976 GB, free: 59.16 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/1.611, allocations: 15.88 kB / 0.7976 GB, free: 59.14 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03243/1.643, allocations: 18.67 MB / 0.8159 GB, free: 40.45 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003707/1.647, allocations: 1.284 MB / 0.8171 GB, free: 39.17 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001833/1.649, allocations: 67.98 kB / 0.8172 GB, free: 39.11 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00427/1.653, allocations: 303.5 kB / 0.8175 GB, free: 38.81 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001007/1.654, allocations: 254.4 kB / 0.8177 GB, free: 38.56 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003948/1.655, allocations: 91.83 kB / 0.8178 GB, free: 38.47 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00614/1.661, allocations: 4.165 MB / 0.8219 GB, free: 34.32 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1e-07/1.661, allocations: 0 / 0.8219 GB, free: 34.32 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008146/1.669, allocations: 2.139 MB / 0.824 GB, free: 32.19 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.0006894/1.67, allocations: 211.5 kB / 0.8242 GB, free: 31.98 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0157/1.685, allocations: 11.09 MB / 0.835 GB, free: 20.86 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/1.685, allocations: 4 kB / 0.835 GB, free: 20.85 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007613/1.693, allocations: 4.674 MB / 0.8396 GB, free: 16.12 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006133/1.699, allocations: 0.8962 MB / 0.8404 GB, free: 15.23 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2056/1.905, allocations: 20.04 MB / 0.86 GB, free: 165.8 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006982/1.912, allocations: 5.092 MB / 0.865 GB, free: 165.3 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005076/1.917, allocations: 2.553 MB / 0.8675 GB, free: 165.3 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009108/1.918, allocations: 368 kB / 0.8678 GB, free: 165.3 MB / 0.5138 GB Notification: Performance of SimCode: time 9.52e-07/1.918, allocations: 3.625 kB / 0.8678 GB, free: 165.3 MB / 0.5138 GB Notification: Performance of Templates: time 0.1231/2.041, allocations: 90.82 MB / 0.9565 GB, free: 87.46 MB / 0.5138 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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: 8.646625332068652]