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.001468/0.001468, allocations: 96.3 kB / 21.73 MB, free: 2.699 MB / 18.57 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.001507/0.001507, allocations: 166.2 kB / 25.02 MB, free: 8.945 MB / 18.57 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.417/1.417, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 178] 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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.51e-05, allocations: 2.312 kB / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02343/0.02346, allocations: 16.86 MB / 267.2 MB, free: 6.875 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01452/0.03797, allocations: 5.803 MB / 273 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003729/0.0417, allocations: 190.9 kB / 273.2 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01315/0.05485, allocations: 6.109 MB / 279.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.065, allocations: 3.573 MB / 282.9 MB, free: 7.148 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00421/0.06921, allocations: 1.829 MB / 284.7 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.02095/0.09016, allocations: 13.26 MB / 298 MB, free: 8.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01323/0.1034, allocations: 7.751 MB / 305.7 MB, free: 196 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01338/0.1168, allocations: 5.567 MB / 311.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01055/0.1273, allocations: 5.702 MB / 317 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00259/0.1299, allocations: 0.7617 MB / 317.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004953/0.1349, allocations: 1.678 MB / 319.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007274/0.1421, allocations: 4.625 MB / 324.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007642/0.1498, allocations: 2.84 MB / 326.9 MB, free: 10.97 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02519/0.175, allocations: 14.23 MB / 341.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.175, allocations: 0 / 341.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.175, allocations: 0 / 341.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005865/0.1756, allocations: 7.984 kB / 341.2 MB, free: 12.69 MB / 330.7 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.03213/0.2077, allocations: 10.24 MB / 351.4 MB, free: 2.363 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.2078, allocations: 11.98 kB / 351.4 MB, free: 2.352 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2478/0.4556, allocations: 6.242 MB / 357.6 MB, free: 98.09 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01654/0.4721, allocations: 8.116 MB / 365.8 MB, free: 91.66 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002847/0.4724, allocations: 431.3 kB / 366.2 MB, free: 91.3 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002214/0.4746, allocations: 0.5809 MB / 366.8 MB, free: 90.76 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02477/0.4994, allocations: 17.13 MB / 383.9 MB, free: 72.68 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002383/0.4996, allocations: 99.31 kB / 384 MB, free: 72.58 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007366/0.5003, allocations: 269.5 kB / 384.3 MB, free: 72.36 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003351/0.5037, allocations: 2.791 MB / 387 MB, free: 69.58 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02237/0.5261, allocations: 13.9 MB / 401 MB, free: 55.67 MB / 330.8 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.07567/0.6017, allocations: 63.68 MB / 464.6 MB, free: 7.047 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02204/0.6238, allocations: 7.204 MB / 471.8 MB, free: 15.8 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007112/0.6309, allocations: 4.409 MB / 476.2 MB, free: 11.38 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02479/0.6557, allocations: 11.7 MB / 487.9 MB, free: 15.77 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.707e-05/0.6558, allocations: 72.5 kB / 488 MB, free: 15.69 MB / 378.8 MB Notification: Performance of pre-optimization done (n=286): time 6.292e-06/0.6558, allocations: 0 / 488 MB, free: 15.69 MB / 378.8 MB Notification: Performance of matching and sorting (n=345): time 0.3904/1.046, allocations: 82.36 MB / 0.557 GB, free: 83.2 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/1.046, allocations: 402.1 kB / 0.5574 GB, free: 82.71 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009712/1.056, allocations: 7.492 MB / 0.5647 GB, free: 75.42 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009691/1.057, allocations: 77.7 kB / 0.5648 GB, free: 75.34 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002504/1.059, allocations: 5.167 MB / 0.5698 GB, free: 70.62 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001914/1.061, allocations: 1.317 MB / 0.5711 GB, free: 69.32 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002861/1.064, allocations: 1.853 MB / 0.5729 GB, free: 67.46 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.028e-05/1.064, allocations: 305.1 kB / 0.5732 GB, free: 67.16 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006313/1.071, allocations: 5.452 MB / 0.5785 GB, free: 61.7 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008518/1.079, allocations: 10.29 MB / 0.5886 GB, free: 49.11 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01589/1.095, allocations: 16.24 MB / 0.6044 GB, free: 30.65 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001286/1.095, allocations: 48 kB / 0.6045 GB, free: 30.6 MB / 378.8 MB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.1971/1.292, allocations: 24.89 MB / 0.6288 GB, free: 110.4 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.264e-05/1.292, allocations: 70.72 kB / 0.6289 GB, free: 110.4 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00018/1.293, allocations: 158.9 kB / 0.629 GB, free: 110.4 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0343/1.327, allocations: 11.78 MB / 0.6405 GB, free: 110.3 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006494/1.333, allocations: 1.945 MB / 0.6424 GB, free: 110.1 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.054/1.387, allocations: 45.24 MB / 0.6866 GB, free: 75.88 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009596/1.397, allocations: 0.8714 MB / 0.6874 GB, free: 75.02 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001497/1.398, allocations: 492.8 kB / 0.6879 GB, free: 74.54 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 715 * 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 (1024): * Single equations (assignments): 1018 * 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,100,55.1%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.006211/1.405, allocations: 3.473 MB / 0.6913 GB, free: 71.16 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002268/1.407, allocations: 0.721 MB / 0.692 GB, free: 70.79 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03544/1.442, allocations: 18.28 MB / 0.7099 GB, free: 52.42 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-05/1.442, allocations: 36 kB / 0.7099 GB, free: 52.39 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.11e-05/1.442, allocations: 24 kB / 0.7099 GB, free: 52.36 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.005e-05/1.443, allocations: 19.88 kB / 0.7099 GB, free: 52.34 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0566/1.499, allocations: 31.67 MB / 0.7409 GB, free: 20.42 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.302e-05/1.499, allocations: 8.812 kB / 0.7409 GB, free: 20.41 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002205/1.501, allocations: 479.2 kB / 0.7413 GB, free: 19.94 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03108/1.532, allocations: 11.35 MB / 0.7524 GB, free: 8.574 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009024/1.533, allocations: 60 kB / 0.7525 GB, free: 8.516 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2112/1.745, allocations: 43.85 MB / 0.7953 GB, free: 116.4 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/1.745, allocations: 10.62 kB / 0.7953 GB, free: 116.4 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04394/1.789, allocations: 25.24 MB / 0.82 GB, free: 96.07 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004843/1.793, allocations: 1.615 MB / 0.8215 GB, free: 94.81 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001539/1.795, allocations: 75.7 kB / 0.8216 GB, free: 94.74 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004894/1.8, allocations: 0.5771 MB / 0.8222 GB, free: 94.16 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001138/1.801, allocations: 262.9 kB / 0.8224 GB, free: 93.91 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003289/1.801, allocations: 90.73 kB / 0.8225 GB, free: 93.82 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.005737/1.807, allocations: 4.679 MB / 0.8271 GB, free: 89.16 MB / 394.8 MB Notification: Performance of sort global known variables: time 8.1e-08/1.807, allocations: 0 / 0.8271 GB, free: 89.16 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.009913/1.817, allocations: 2.677 MB / 0.8297 GB, free: 86.49 MB / 394.8 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 (209): * Single equations (assignments): 203 * 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,93,55.1%), (2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009329/1.818, allocations: 230.6 kB / 0.8299 GB, free: 86.27 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.01816/1.836, allocations: 12.98 MB / 0.8426 GB, free: 73.36 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/1.836, allocations: 3.938 kB / 0.8426 GB, free: 73.36 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008639/1.845, allocations: 5.698 MB / 0.8482 GB, free: 67.66 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006552/1.851, allocations: 0.9632 MB / 0.8491 GB, free: 66.75 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03142/1.883, allocations: 20.16 MB / 0.8688 GB, free: 46.5 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007558/1.89, allocations: 5.096 MB / 0.8738 GB, free: 41.39 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.006005/1.896, allocations: 2.563 MB / 0.8763 GB, free: 38.86 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001833/1.898, allocations: 380.4 kB / 0.8766 GB, free: 38.48 MB / 394.8 MB Notification: Performance of SimCode: time 2.224e-06/1.898, allocations: 0 / 0.8766 GB, free: 38.48 MB / 394.8 MB Notification: Performance of Templates: time 0.3041/2.202, allocations: 114.8 MB / 0.9887 GB, free: 54.74 MB / 394.8 MB " [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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/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: 9.660630952916108]