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.001435/0.001435, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001702/0.001702, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.002752/0.002752, allocations: 47.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2696, allocations: 53.37 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02278/0.2924, allocations: 17.63 MB / 449.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01621/0.3086, allocations: 6.001 MB / 455.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005181/0.3138, allocations: 198.9 kB / 455.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01305/0.3269, allocations: 6.164 MB / 461.6 MB, free: 8.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009286/0.3362, allocations: 3.525 MB / 465.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004154/0.3403, allocations: 1.662 MB / 466.8 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02036/0.3607, allocations: 12.99 MB / 479.8 MB, free: 6.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01198/0.3727, allocations: 6.298 MB / 486.1 MB, free: 48 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01011/0.3828, allocations: 3.809 MB / 489.9 MB, free: 12.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009483/0.3923, allocations: 5.359 MB / 495.2 MB, free: 6.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002598/0.3949, allocations: 0.7461 MB / 496 MB, free: 6.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004473/0.3993, allocations: 1.604 MB / 497.6 MB, free: 4.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008338/0.4077, allocations: 4.504 MB / 0.4903 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008004/0.4157, allocations: 3.551 MB / 0.4938 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02038/0.436, allocations: 14.24 MB / 0.5077 GB, free: 14.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.4361, allocations: 4 kB / 0.5077 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4361, allocations: 0 / 0.5077 GB, free: 14.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005661/0.4366, allocations: 0 / 0.5077 GB, free: 14.11 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.02795/0.4646, allocations: 10.2 MB / 0.5177 GB, free: 3.832 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.4646, allocations: 12.03 kB / 0.5177 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04597/0.5106, allocations: 5.324 MB / 0.5229 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02462/0.5352, allocations: 8.015 MB / 0.5307 GB, free: 6.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004789/0.5357, allocations: 448 kB / 0.5311 GB, free: 5.941 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002327/0.538, allocations: 0.6245 MB / 0.5317 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4145/0.9525, allocations: 17.42 MB / 0.5488 GB, free: 88.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003371/0.9528, allocations: 103.5 kB / 0.5489 GB, free: 88.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001055/0.9539, allocations: 276.1 kB / 0.5491 GB, free: 87.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003911/0.9578, allocations: 2.857 MB / 0.5519 GB, free: 87.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0267/0.9845, allocations: 14.01 MB / 0.5656 GB, free: 75.04 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.08327/1.068, allocations: 63.2 MB / 0.6273 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01926/1.087, allocations: 7.492 MB / 0.6346 GB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005174/1.092, allocations: 4.365 MB / 0.6389 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02545/1.118, allocations: 11.05 MB / 0.6497 GB, free: 4.609 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.707e-05/1.118, allocations: 64.56 kB / 0.6497 GB, free: 4.539 MB / 462.1 MB Notification: Performance of pre-optimization done (n=293): time 7.023e-06/1.118, allocations: 7.906 kB / 0.6497 GB, free: 4.535 MB / 462.1 MB Notification: Performance of matching and sorting (n=359): time 0.2081/1.326, allocations: 52.78 MB / 0.7013 GB, free: 296 kB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002751/1.326, allocations: 398.2 kB / 0.7017 GB, free: 15.81 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01297/1.339, allocations: 6.944 MB / 0.7085 GB, free: 9.078 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/1.34, allocations: 81.7 kB / 0.7085 GB, free: 8.992 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004802/1.345, allocations: 5.426 MB / 0.7138 GB, free: 3.66 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002114/1.347, allocations: 1.38 MB / 0.7152 GB, free: 2.27 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003451/1.35, allocations: 1.925 MB / 0.7171 GB, free: 340 kB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.351, allocations: 312.2 kB / 0.7174 GB, free: 28 kB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0077/1.358, allocations: 4.711 MB / 0.722 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01265/1.371, allocations: 9.764 MB / 0.7315 GB, free: 15.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2576/1.629, allocations: 15 MB / 0.7461 GB, free: 178.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002622/1.629, allocations: 47.16 kB / 0.7462 GB, free: 178.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.03926/1.668, allocations: 20.37 MB / 0.7661 GB, free: 173.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-05/1.668, allocations: 77 kB / 0.7661 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001359/1.668, allocations: 165.2 kB / 0.7663 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02036/1.689, allocations: 7.319 MB / 0.7734 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006571/1.695, allocations: 1.995 MB / 0.7754 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04045/1.736, allocations: 35.83 MB / 0.8104 GB, free: 138.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007338/1.743, allocations: 0.6046 MB / 0.811 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009657/1.744, allocations: 0.5069 MB / 0.8115 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.004502/1.748, allocations: 3.591 MB / 0.815 GB, free: 133.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/1.75, allocations: 0.6373 MB / 0.8156 GB, free: 133.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02537/1.775, allocations: 13.8 MB / 0.8291 GB, free: 119.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.67e-05/1.775, allocations: 36 kB / 0.8291 GB, free: 119.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-05/1.775, allocations: 23.94 kB / 0.8291 GB, free: 119.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.49e-05/1.775, allocations: 22.75 kB / 0.8292 GB, free: 119.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04678/1.822, allocations: 25.21 MB / 0.8538 GB, free: 94.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.357e-05/1.822, allocations: 4 kB / 0.8538 GB, free: 94.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002558/1.825, allocations: 471.3 kB / 0.8542 GB, free: 93.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01956/1.844, allocations: 6.96 MB / 0.861 GB, free: 86.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009304/1.845, allocations: 64 kB / 0.8611 GB, free: 86.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04236/1.887, allocations: 34.62 MB / 0.8949 GB, free: 51.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.887, allocations: 4 kB / 0.8949 GB, free: 51.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03307/1.92, allocations: 19.59 MB / 0.914 GB, free: 32.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/1.923, allocations: 0.6102 MB / 0.9146 GB, free: 31.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002142/1.925, allocations: 64.64 kB / 0.9147 GB, free: 31.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004422/1.929, allocations: 322.8 kB / 0.915 GB, free: 31.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00116/1.93, allocations: 262.7 kB / 0.9153 GB, free: 31.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003066/1.931, allocations: 104 kB / 0.9153 GB, free: 31 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00532/1.936, allocations: 4.216 MB / 0.9195 GB, free: 26.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.936, allocations: 0 / 0.9195 GB, free: 26.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00873/1.945, allocations: 2.199 MB / 0.9216 GB, free: 24.61 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.0008539/1.945, allocations: 216 kB / 0.9218 GB, free: 24.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01751/1.963, allocations: 11.5 MB / 0.9331 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/1.963, allocations: 0 / 0.9331 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007809/1.971, allocations: 4.923 MB / 0.9379 GB, free: 7.902 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005985/1.977, allocations: 0.9218 MB / 0.9388 GB, free: 6.988 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2849/2.262, allocations: 20.7 MB / 0.959 GB, free: 188.4 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009048/2.271, allocations: 5.265 MB / 0.9641 GB, free: 188 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.00605/2.277, allocations: 2.639 MB / 0.9667 GB, free: 187.9 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/2.278, allocations: 381 kB / 0.9671 GB, free: 187.9 MB / 0.5607 GB Notification: Performance of SimCode: time 1.092e-06/2.278, allocations: 3.828 kB / 0.9671 GB, free: 187.9 MB / 0.5607 GB Notification: Performance of Templates: time 0.1407/2.419, allocations: 104.3 MB / 1.069 GB, free: 95.9 MB / 0.5607 GB " [Timeout remaining time 658] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins/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: 9.54670944577083]