Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001356/0.001356, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001419/0.001419, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 51.92 kB / 378.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2514, allocations: 53.36 MB / 431.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02225/0.2736, allocations: 19.47 MB / 451.1 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.2873, allocations: 6.047 MB / 457.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004834/0.2921, allocations: 190.9 kB / 457.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0116/0.3037, allocations: 5.93 MB / 463.3 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008613/0.3123, allocations: 3.408 MB / 466.7 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003651/0.316, allocations: 1.564 MB / 468.3 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01915/0.3351, allocations: 12.72 MB / 481 MB, free: 5.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008797/0.3439, allocations: 5.939 MB / 486.9 MB, free: 15.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006473/0.3504, allocations: 3.626 MB / 490.5 MB, free: 11.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007915/0.3583, allocations: 5.118 MB / 495.7 MB, free: 6.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001743/0.36, allocations: 0.7148 MB / 496.4 MB, free: 5.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003714/0.3637, allocations: 1.705 MB / 498.1 MB, free: 4.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005088/0.3688, allocations: 4.324 MB / 0.4906 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006522/0.3754, allocations: 4.452 MB / 0.495 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0194/0.3948, allocations: 13.65 MB / 0.5083 GB, free: 13.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.3948, allocations: 3.984 kB / 0.5083 GB, free: 13.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3948, allocations: 0 / 0.5083 GB, free: 13.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005107/0.3953, allocations: 4 kB / 0.5083 GB, free: 13.69 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: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.02771/0.423, allocations: 9.808 MB / 0.5179 GB, free: 3.797 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.423, allocations: 12.03 kB / 0.5179 GB, free: 3.785 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04447/0.4675, allocations: 5.297 MB / 0.5231 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02253/0.49, allocations: 7.818 MB / 0.5307 GB, free: 6.566 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004611/0.4905, allocations: 423.4 kB / 0.5311 GB, free: 6.152 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00292/0.4934, allocations: 0.601 MB / 0.5317 GB, free: 5.551 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4083/0.9017, allocations: 16.55 MB / 0.5479 GB, free: 87.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000303/0.902, allocations: 97.75 kB / 0.548 GB, free: 87.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007905/0.9028, allocations: 264.3 kB / 0.5482 GB, free: 87.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003558/0.9064, allocations: 2.77 MB / 0.5509 GB, free: 86.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02322/0.9296, allocations: 13.63 MB / 0.5642 GB, free: 77.76 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.06996/0.9996, allocations: 67.89 MB / 0.6305 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01743/1.017, allocations: 7.217 MB / 0.6376 GB, free: 1.594 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005675/1.023, allocations: 4.245 MB / 0.6417 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02147/1.044, allocations: 11.74 MB / 0.6532 GB, free: 1.707 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.724e-05/1.044, allocations: 66.34 kB / 0.6532 GB, free: 1.637 MB / 462.1 MB Notification: Performance of pre-optimization done (n=280): time 5.139e-06/1.044, allocations: 0 / 0.6532 GB, free: 1.637 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.1868/1.231, allocations: 50.33 MB / 0.7024 GB, free: 15.77 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002634/1.231, allocations: 398 kB / 0.7028 GB, free: 15.3 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/1.243, allocations: 7.12 MB / 0.7097 GB, free: 8.301 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009097/1.244, allocations: 77.7 kB / 0.7098 GB, free: 8.219 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004517/1.248, allocations: 5.194 MB / 0.7149 GB, free: 3.16 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00188/1.25, allocations: 1.314 MB / 0.7162 GB, free: 1.836 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003025/1.253, allocations: 1.877 MB / 0.718 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.253, allocations: 305.1 kB / 0.7183 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007169/1.26, allocations: 4.547 MB / 0.7227 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01135/1.272, allocations: 9.263 MB / 0.7318 GB, free: 15.53 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2532/1.525, allocations: 14.53 MB / 0.746 GB, free: 178.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002055/1.525, allocations: 50.52 kB / 0.746 GB, free: 178.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.03948/1.565, allocations: 19.71 MB / 0.7653 GB, free: 174 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.134e-05/1.565, allocations: 73.59 kB / 0.7653 GB, free: 174 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001484/1.565, allocations: 162.1 kB / 0.7655 GB, free: 174 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01887/1.584, allocations: 7.058 MB / 0.7724 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005767/1.59, allocations: 1.922 MB / 0.7743 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04113/1.631, allocations: 35.02 MB / 0.8085 GB, free: 142.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007221/1.638, allocations: 0.5864 MB / 0.809 GB, free: 141.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000959/1.639, allocations: 0.4922 MB / 0.8095 GB, free: 141.2 MB / 0.545 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 (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.004326/1.643, allocations: 3.465 MB / 0.8129 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/1.644, allocations: 0.6654 MB / 0.8135 GB, free: 137.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02439/1.669, allocations: 13.25 MB / 0.8265 GB, free: 124.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.476e-05/1.669, allocations: 39.83 kB / 0.8265 GB, free: 124.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-05/1.669, allocations: 20 kB / 0.8265 GB, free: 124.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.129e-05/1.669, allocations: 15.95 kB / 0.8265 GB, free: 124.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04585/1.715, allocations: 26.46 MB / 0.8524 GB, free: 97.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-05/1.715, allocations: 11.94 kB / 0.8524 GB, free: 97.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/1.717, allocations: 419.4 kB / 0.8528 GB, free: 96.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01819/1.735, allocations: 6.641 MB / 0.8593 GB, free: 90.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006918/1.735, allocations: 67.92 kB / 0.8594 GB, free: 90.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03841/1.774, allocations: 33.68 MB / 0.8922 GB, free: 56.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.774, allocations: 11.94 kB / 0.8923 GB, free: 56.42 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0308/1.805, allocations: 18.74 MB / 0.9106 GB, free: 37.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002028/1.807, allocations: 0.6524 MB / 0.9112 GB, free: 36.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001599/1.808, allocations: 63.98 kB / 0.9113 GB, free: 36.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003484/1.812, allocations: 307.5 kB / 0.9116 GB, free: 36.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009146/1.813, allocations: 258.5 kB / 0.9118 GB, free: 36.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002757/1.813, allocations: 88 kB / 0.9119 GB, free: 36.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005963/1.819, allocations: 4.551 MB / 0.9163 GB, free: 31.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.01e-07/1.819, allocations: 1.203 kB / 0.9163 GB, free: 31.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008697/1.828, allocations: 2.123 MB / 0.9184 GB, free: 29.49 MB / 0.545 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 (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.0007504/1.828, allocations: 210.2 kB / 0.9186 GB, free: 29.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01515/1.843, allocations: 11.11 MB / 0.9294 GB, free: 18.15 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.843, allocations: 4 kB / 0.9294 GB, free: 18.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006975/1.85, allocations: 4.662 MB / 0.934 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005252/1.856, allocations: 0.9826 MB / 0.935 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2523/2.108, allocations: 19.95 MB / 0.9544 GB, free: 187.4 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007529/2.116, allocations: 5.521 MB / 0.9598 GB, free: 186.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006265/2.122, allocations: 2.609 MB / 0.9624 GB, free: 186.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/2.123, allocations: 385.8 kB / 0.9628 GB, free: 186.4 MB / 0.5607 GB Notification: Performance of SimCode: time 1.523e-06/2.123, allocations: 0 / 0.9628 GB, free: 186.4 MB / 0.5607 GB Notification: Performance of Templates: time 0.1425/2.265, allocations: 97.6 MB / 1.058 GB, free: 106.9 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 9.370776925934479]