Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002331/0.002331, allocations: 152.9 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 173.4 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0.8125 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.183e-05, allocations: 6.219 kB / 319 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01799/0.01801, allocations: 16.79 MB / 335.7 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.03142, allocations: 5.797 MB / 341.5 MB, free: 4.242 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00402/0.03544, allocations: 192 kB / 341.7 MB, free: 4.172 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01229/0.04772, allocations: 6.001 MB / 347.7 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.05783, allocations: 3.55 MB / 351.3 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004111/0.06194, allocations: 1.794 MB / 353.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02109/0.08303, allocations: 14.27 MB / 367.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01059/0.09362, allocations: 7.479 MB / 374.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01122/0.1048, allocations: 5.551 MB / 380.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009769/0.1146, allocations: 5.628 MB / 386 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002264/0.1169, allocations: 0.75 MB / 386.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004584/0.1215, allocations: 1.662 MB / 388.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005546/0.127, allocations: 4.578 MB / 393 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005771/0.1328, allocations: 2.809 MB / 395.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01855/0.1513, allocations: 14.07 MB / 409.9 MB, free: 476 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1513, allocations: 4 kB / 409.9 MB, free: 472 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1513, allocations: 0 / 409.9 MB, free: 472 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004815/0.1518, allocations: 0 / 409.9 MB, free: 472 kB / 366.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.02703/0.1788, allocations: 10.1 MB / 420 MB, free: 6.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1789, allocations: 12.86 kB / 420 MB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05197/0.2309, allocations: 5.523 MB / 425.5 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02016/0.251, allocations: 7.74 MB / 433.3 MB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000405/0.2514, allocations: 431.4 kB / 433.7 MB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001743/0.2532, allocations: 0.5859 MB / 434.3 MB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03286/0.286, allocations: 16.83 MB / 451.1 MB, free: 5.957 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002784/0.2863, allocations: 103.3 kB / 451.2 MB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007709/0.2871, allocations: 263.8 kB / 451.4 MB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004845/0.2919, allocations: 2.764 MB / 454.2 MB, free: 2.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03001/0.3219, allocations: 13.62 MB / 467.8 MB, free: 5.191 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.3642/0.6861, allocations: 62.77 MB / 0.5182 GB, free: 78.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01825/0.7044, allocations: 7.471 MB / 0.5255 GB, free: 74.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0042/0.7086, allocations: 4.248 MB / 0.5296 GB, free: 69.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01538/0.7239, allocations: 11.15 MB / 0.5405 GB, free: 58.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.724, allocations: 64.47 kB / 0.5406 GB, free: 58.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=280): time 5.65e-06/0.724, allocations: 0 / 0.5406 GB, free: 58.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=339): time 0.1779/0.9018, allocations: 52.46 MB / 0.5918 GB, free: 6.969 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.196e-05/0.9019, allocations: 398 kB / 0.5922 GB, free: 6.492 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007784/0.9097, allocations: 7.292 MB / 0.5993 GB, free: 15.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007536/0.9105, allocations: 85.3 kB / 0.5994 GB, free: 15.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003872/0.9143, allocations: 5.183 MB / 0.6044 GB, free: 10.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001678/0.916, allocations: 1.302 MB / 0.6057 GB, free: 9.301 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002825/0.9188, allocations: 1.849 MB / 0.6075 GB, free: 7.441 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.919, allocations: 301.1 kB / 0.6078 GB, free: 7.145 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006973/0.9259, allocations: 4.543 MB / 0.6122 GB, free: 2.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01102/0.937, allocations: 9.494 MB / 0.6215 GB, free: 6.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0217/0.9587, allocations: 14.53 MB / 0.6357 GB, free: 5.941 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001564/0.9588, allocations: 44 kB / 0.6357 GB, free: 5.898 MB / 478.1 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.2072/1.166, allocations: 19.66 MB / 0.6549 GB, free: 152.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/1.166, allocations: 77.16 kB / 0.655 GB, free: 152.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002577/1.166, allocations: 159.9 kB / 0.6552 GB, free: 152.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02197/1.188, allocations: 7.06 MB / 0.6621 GB, free: 151.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006041/1.194, allocations: 1.925 MB / 0.6639 GB, free: 151 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04154/1.236, allocations: 34.59 MB / 0.6977 GB, free: 123.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01081/1.247, allocations: 0.7029 MB / 0.6984 GB, free: 123.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002115/1.249, allocations: 492 kB / 0.6989 GB, free: 122.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (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 (1048): * Single equations (assignments): 1042 * 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.007782/1.257, allocations: 3.471 MB / 0.7023 GB, free: 119.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002161/1.259, allocations: 0.6124 MB / 0.7029 GB, free: 119 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02842/1.287, allocations: 13.2 MB / 0.7158 GB, free: 105.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-05/1.287, allocations: 36 kB / 0.7158 GB, free: 105.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.159e-05/1.287, allocations: 23.94 kB / 0.7158 GB, free: 105.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-05/1.287, allocations: 19.94 kB / 0.7158 GB, free: 105.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04671/1.334, allocations: 24.35 MB / 0.7396 GB, free: 81.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.838e-05/1.334, allocations: 7.938 kB / 0.7396 GB, free: 81.06 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002037/1.336, allocations: 429 kB / 0.74 GB, free: 80.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01988/1.356, allocations: 6.637 MB / 0.7465 GB, free: 73.99 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006099/1.357, allocations: 63.83 kB / 0.7466 GB, free: 73.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03928/1.396, allocations: 33.32 MB / 0.7791 GB, free: 40.46 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.298e-06/1.396, allocations: 15.88 kB / 0.7791 GB, free: 40.45 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03316/1.429, allocations: 18.67 MB / 0.7974 GB, free: 21.58 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/1.431, allocations: 0.6817 MB / 0.798 GB, free: 20.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001668/1.433, allocations: 63.98 kB / 0.7981 GB, free: 20.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004699/1.437, allocations: 405.7 kB / 0.7985 GB, free: 20.44 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009835/1.438, allocations: 258.4 kB / 0.7987 GB, free: 20.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003523/1.439, allocations: 88.17 kB / 0.7988 GB, free: 20.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006182/1.445, allocations: 4.508 MB / 0.8032 GB, free: 15.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/1.445, allocations: 3.562 kB / 0.8032 GB, free: 15.61 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008294/1.453, allocations: 2.434 MB / 0.8056 GB, free: 13.18 MB / 478.1 MB 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 (214): * Single equations (assignments): 208 * 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.0008006/1.454, allocations: 241.2 kB / 0.8058 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.1684/1.622, allocations: 11.08 MB / 0.8166 GB, free: 151.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/1.622, allocations: 4.219 kB / 0.8166 GB, free: 151.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008652/1.631, allocations: 4.658 MB / 0.8212 GB, free: 150.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005883/1.637, allocations: 0.9045 MB / 0.8221 GB, free: 150.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0309/1.668, allocations: 19.94 MB / 0.8415 GB, free: 143.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005812/1.674, allocations: 5.054 MB / 0.8465 GB, free: 141.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00571/1.679, allocations: 2.567 MB / 0.849 GB, free: 141.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/1.681, allocations: 388.8 kB / 0.8494 GB, free: 141.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.092e-06/1.681, allocations: 0 / 0.8494 GB, free: 141.8 MB / 478.1 MB Notification: Performance of Templates: time 0.1304/1.811, allocations: 94.68 MB / 0.9418 GB, free: 50.06 MB / 478.1 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.719266094267368]