Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.0009272/0.0009272, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009911/0.0009911, allocations: 143.4 kB / 24.89 MB, free: 8.727 MB / 18.57 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 0.9244/0.9244, allocations: 173.4 MB / 201.5 MB, free: 8.77 MB / 186.7 MB " [Timeout remaining time 179] 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.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 268.5 MB, free: 5.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.689e-05, allocations: 2.312 kB / 268.5 MB, free: 5.988 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.0193/0.01933, allocations: 19.28 MB / 287.8 MB, free: 2.621 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1233/0.1426, allocations: 6.342 MB / 294.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.1453, allocations: 204.9 kB / 294.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008454/0.1538, allocations: 6.829 MB / 301.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007685/0.1615, allocations: 3.744 MB / 304.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002772/0.1642, allocations: 1.921 MB / 306.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01031/0.1745, allocations: 14.5 MB / 321.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007314/0.1819, allocations: 8.246 MB / 329.6 MB, free: 9.688 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009339/0.1912, allocations: 8.59 MB / 338.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00594/0.1971, allocations: 5.677 MB / 343.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001273/0.1984, allocations: 0.7852 MB / 344.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.2006, allocations: 1.708 MB / 346.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003084/0.2037, allocations: 4.823 MB / 351.2 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003169/0.2069, allocations: 2.957 MB / 354.1 MB, free: 2.512 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008235/0.2151, allocations: 9.372 MB / 363.5 MB, free: 9.469 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2151, allocations: 0 / 363.5 MB, free: 9.469 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.2151, allocations: 4 kB / 363.5 MB, free: 9.465 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002315/0.2153, allocations: 0 / 363.5 MB, free: 9.465 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2489 * Number of variables: 2489 Notification: Performance of Generate backend data structure: time 0.01171/0.2271, allocations: 9.396 MB / 372.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2271, allocations: 8.922 kB / 372.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006985/0.2341, allocations: 2.26 MB / 375.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007489/0.2416, allocations: 5.181 MB / 380.3 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000263/0.2418, allocations: 448 kB / 380.8 MB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009651/0.2428, allocations: 0.6132 MB / 381.4 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/0.2548, allocations: 8.731 MB / 390.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001963/0.255, allocations: 99.22 kB / 390.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005079/0.2555, allocations: 271.8 kB / 390.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002147/0.2577, allocations: 2.619 MB / 393.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008627/0.2663, allocations: 4.213 MB / 397.3 MB, free: 6.332 MB / 346.7 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.2708/0.5371, allocations: 52.1 MB / 449.4 MB, free: 80.35 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007862/0.545, allocations: 3.309 MB / 452.7 MB, free: 80.1 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.5462, allocations: 0.7548 MB / 453.5 MB, free: 80.06 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009376/0.5555, allocations: 6.795 MB / 460.3 MB, free: 79.38 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.5556, allocations: 65.94 kB / 460.3 MB, free: 79.34 MB / 378.8 MB Notification: Performance of pre-optimization done (n=261): time 5.4e-06/0.5556, allocations: 1.188 kB / 460.3 MB, free: 79.34 MB / 378.8 MB Notification: Performance of matching and sorting (n=317): time 0.0503/0.6059, allocations: 15.74 MB / 476.1 MB, free: 77.21 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/0.606, allocations: 393.6 kB / 476.5 MB, free: 76.75 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006108/0.6121, allocations: 5.691 MB / 482.1 MB, free: 72.71 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002655/0.6123, allocations: 73.58 kB / 482.2 MB, free: 72.67 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001863/0.6142, allocations: 4.789 MB / 487 MB, free: 68.24 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007523/0.615, allocations: 1.232 MB / 488.2 MB, free: 67 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001691/0.6166, allocations: 1.763 MB / 490 MB, free: 65.23 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.898e-05/0.6167, allocations: 305.1 kB / 490.3 MB, free: 64.93 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002458/0.6191, allocations: 1.179 MB / 491.5 MB, free: 63.74 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004061/0.6232, allocations: 6.332 MB / 497.8 MB, free: 54.95 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006188/0.6294, allocations: 8.106 MB / 0.4941 GB, free: 44.86 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.671e-05/0.6294, allocations: 52 kB / 0.4941 GB, free: 44.8 MB / 378.8 MB Notification: Performance of matching and sorting (n=1209) (initialization): time 0.009397/0.6388, allocations: 6.68 MB / 0.5006 GB, free: 38.03 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.452e-05/0.6389, allocations: 80 kB / 0.5007 GB, free: 37.95 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.183e-05/0.639, allocations: 189.1 kB / 0.5009 GB, free: 37.77 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002575/0.6416, allocations: 1.314 MB / 0.5022 GB, free: 36.44 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002927/0.6445, allocations: 2.039 MB / 0.5042 GB, free: 34.4 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004781/0.6493, allocations: 5.62 MB / 0.5097 GB, free: 28.59 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003515/0.6528, allocations: 379.7 kB / 0.51 GB, free: 28.21 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003214/0.6531, allocations: 444 kB / 0.5104 GB, free: 27.78 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * 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 (1133): * Single equations (assignments): 1126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,46,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001675/0.6548, allocations: 0.8648 MB / 0.5113 GB, free: 26.9 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005514/0.6553, allocations: 435.5 kB / 0.5117 GB, free: 26.48 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004057/0.6594, allocations: 2.318 MB / 0.514 GB, free: 24.09 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/0.6594, allocations: 32 kB / 0.514 GB, free: 24.06 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.6594, allocations: 8 kB / 0.514 GB, free: 24.05 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/0.6594, allocations: 15.95 kB / 0.514 GB, free: 24.04 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.6729, allocations: 9.435 MB / 0.5232 GB, free: 14.2 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/0.6729, allocations: 20.97 kB / 0.5232 GB, free: 14.18 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.6742, allocations: 475.2 kB / 0.5237 GB, free: 13.72 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003435/0.6776, allocations: 1.367 MB / 0.525 GB, free: 12.34 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/0.6778, allocations: 79.98 kB / 0.5251 GB, free: 12.27 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005664/0.6834, allocations: 5.119 MB / 0.5301 GB, free: 6.949 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.424e-05/0.6835, allocations: 35.81 kB / 0.5301 GB, free: 6.914 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005331/0.6888, allocations: 4.067 MB / 0.5341 GB, free: 2.359 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/0.6902, allocations: 0.886 MB / 0.535 GB, free: 1.469 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007165/0.6909, allocations: 75.98 kB / 0.5351 GB, free: 1.395 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/0.6927, allocations: 83.98 kB / 0.5351 GB, free: 1.312 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004081/0.6931, allocations: 281 kB / 0.5354 GB, free: 1.035 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/0.6932, allocations: 87.98 kB / 0.5355 GB, free: 0.9492 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.005519/0.6988, allocations: 2.32 MB / 0.5378 GB, free: 14.65 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6988, allocations: 0 / 0.5378 GB, free: 14.65 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01285/0.7116, allocations: 2.113 MB / 0.5398 GB, free: 12.54 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (261): * Single equations (assignments): 254 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,42,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005206/0.7121, allocations: 255.5 kB / 0.5401 GB, free: 12.28 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.01529/0.7274, allocations: 4.2 MB / 0.5442 GB, free: 8.078 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002258/0.7276, allocations: 132.2 kB / 0.5443 GB, free: 7.938 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008093/0.7357, allocations: 1.34 MB / 0.5456 GB, free: 6.578 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01088/0.7466, allocations: 1.359 MB / 0.5469 GB, free: 5.242 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/0.7653, allocations: 14.69 MB / 0.5613 GB, free: 6.148 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002479/0.7677, allocations: 2.381 MB / 0.5636 GB, free: 3.734 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002378/0.7701, allocations: 0.8702 MB / 0.5644 GB, free: 2.859 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002029/0.7722, allocations: 1.055 MB / 0.5655 GB, free: 1.797 MB / 410.8 MB Notification: Performance of SimCode: time 1.262e-06/0.7722, allocations: 4 kB / 0.5655 GB, free: 1.793 MB / 410.8 MB Notification: Performance of Templates: time 0.1876/0.9598, allocations: 72.88 MB / 0.6367 GB, free: 116.3 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.845623093657196]