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.001142/0.001142, allocations: 84 kB / 21.43 MB, free: 3.133 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.005637/0.005637, allocations: 150.8 kB / 24.68 MB, free: 8.918 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.8382/0.8382, allocations: 173.4 MB / 201.2 MB, free: 9.414 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 1.303e-06/1.303e-06, allocations: 0 / 319.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.607e-05, allocations: 6.219 kB / 319.7 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.01199/0.01202, allocations: 17.72 MB / 337.4 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.0223, allocations: 6.004 MB / 343.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003366/0.02567, allocations: 206.9 kB / 343.7 MB, free: 13.78 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006273/0.03194, allocations: 6.506 MB / 350.2 MB, free: 7.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006545/0.03848, allocations: 3.662 MB / 353.8 MB, free: 3.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.04092, allocations: 1.891 MB / 355.7 MB, free: 1.676 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01112/0.05204, allocations: 14.56 MB / 370.3 MB, free: 3.086 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00696/0.059, allocations: 7.834 MB / 378.1 MB, free: 11.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007763/0.06676, allocations: 5.804 MB / 383.9 MB, free: 5.344 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006439/0.0732, allocations: 5.815 MB / 389.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001491/0.07469, allocations: 0.7773 MB / 390.5 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.07704, allocations: 1.717 MB / 392.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002991/0.08003, allocations: 4.777 MB / 397 MB, free: 8.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002813/0.08284, allocations: 2.926 MB / 399.9 MB, free: 5.297 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01104/0.09388, allocations: 14.59 MB / 414.5 MB, free: 6.656 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.09388, allocations: 0 / 414.5 MB, free: 6.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.09389, allocations: 4 kB / 414.5 MB, free: 6.652 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002559/0.09414, allocations: 0 / 414.5 MB, free: 6.652 MB / 378.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.01464/0.1088, allocations: 10.47 MB / 425 MB, free: 12.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.1088, allocations: 16.86 kB / 425 MB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02062/0.1295, allocations: 5.558 MB / 430.6 MB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01354/0.143, allocations: 7.964 MB / 438.5 MB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005322/0.1435, allocations: 452 kB / 439 MB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001731/0.1453, allocations: 0.6094 MB / 439.6 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2985/0.4437, allocations: 17.46 MB / 457 MB, free: 108.5 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001896/0.4439, allocations: 102.2 kB / 457.1 MB, free: 108.5 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004521/0.4444, allocations: 283.8 kB / 457.4 MB, free: 108.3 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002209/0.4466, allocations: 2.855 MB / 460.3 MB, free: 107.8 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/0.4603, allocations: 14.02 MB / 474.3 MB, free: 99.67 MB / 410.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.04333/0.5036, allocations: 64.56 MB / 0.5262 GB, free: 34.76 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/0.5138, allocations: 7.812 MB / 0.5339 GB, free: 26.96 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002901/0.5167, allocations: 4.367 MB / 0.5381 GB, free: 22.59 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0101/0.5268, allocations: 11.51 MB / 0.5494 GB, free: 11.23 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.5268, allocations: 64.56 kB / 0.5494 GB, free: 11.16 MB / 410.8 MB Notification: Performance of pre-optimization done (n=294): time 4.528e-06/0.5268, allocations: 0 / 0.5494 GB, free: 11.16 MB / 410.8 MB Notification: Performance of matching and sorting (n=360): time 0.09975/0.6266, allocations: 55 MB / 0.6031 GB, free: 4.723 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.6267, allocations: 406.2 kB / 0.6035 GB, free: 4.238 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007369/0.6341, allocations: 7.468 MB / 0.6108 GB, free: 12.98 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003421/0.6344, allocations: 81.7 kB / 0.6109 GB, free: 12.89 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00256/0.637, allocations: 5.387 MB / 0.6161 GB, free: 7.633 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00103/0.638, allocations: 1.372 MB / 0.6175 GB, free: 6.25 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001775/0.6398, allocations: 1.901 MB / 0.6193 GB, free: 4.336 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.6399, allocations: 305.1 kB / 0.6196 GB, free: 4.035 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1627/0.8026, allocations: 4.716 MB / 0.6242 GB, free: 160 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006561/0.8091, allocations: 9.769 MB / 0.6338 GB, free: 152.8 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/0.82, allocations: 15.01 MB / 0.6484 GB, free: 142.1 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.657e-05/0.82, allocations: 46.53 kB / 0.6485 GB, free: 142.1 MB / 474.8 MB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.02213/0.8422, allocations: 20.38 MB / 0.6684 GB, free: 131.3 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.878e-05/0.8422, allocations: 76 kB / 0.6684 GB, free: 131.2 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.57e-05/0.8423, allocations: 164 kB / 0.6686 GB, free: 131 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/0.8525, allocations: 7.311 MB / 0.6757 GB, free: 124.1 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/0.856, allocations: 1.996 MB / 0.6777 GB, free: 122.1 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02608/0.8821, allocations: 35.84 MB / 0.7127 GB, free: 86.18 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005993/0.8881, allocations: 0.7016 MB / 0.7134 GB, free: 85.49 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000573/0.8886, allocations: 0.5142 MB / 0.7139 GB, free: 84.98 MB / 474.8 MB 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 (1082): * Single equations (assignments): 1076 * 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,97,55.1%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.004122/0.8928, allocations: 3.592 MB / 0.7174 GB, free: 81.48 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008866/0.8936, allocations: 0.6457 MB / 0.718 GB, free: 81.2 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01453/0.9082, allocations: 13.81 MB / 0.7315 GB, free: 67.31 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/0.9082, allocations: 37.48 kB / 0.7315 GB, free: 67.27 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/0.9082, allocations: 24.88 kB / 0.7316 GB, free: 67.25 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/0.9082, allocations: 19.88 kB / 0.7316 GB, free: 67.23 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02617/0.9344, allocations: 25.47 MB / 0.7565 GB, free: 41.52 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.9344, allocations: 8.688 kB / 0.7565 GB, free: 41.51 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.9355, allocations: 475 kB / 0.7569 GB, free: 41.05 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009983/0.9455, allocations: 6.952 MB / 0.7637 GB, free: 34.08 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002949/0.9458, allocations: 64 kB / 0.7638 GB, free: 34.02 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.196/1.142, allocations: 34.68 MB / 0.7976 GB, free: 142.6 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.142, allocations: 7.688 kB / 0.7976 GB, free: 142.6 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0208/1.163, allocations: 19.59 MB / 0.8168 GB, free: 137.9 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002936/1.166, allocations: 1.423 MB / 0.8182 GB, free: 137.6 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006462/1.166, allocations: 71.08 kB / 0.8182 GB, free: 137.5 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002074/1.168, allocations: 421.3 kB / 0.8186 GB, free: 137.5 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006888/1.169, allocations: 268.3 kB / 0.8189 GB, free: 137.4 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/1.169, allocations: 97.05 kB / 0.819 GB, free: 137.4 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.00425/1.173, allocations: 4.621 MB / 0.8235 GB, free: 135.9 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.81e-07/1.173, allocations: 0 / 0.8235 GB, free: 135.9 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.006079/1.179, allocations: 2.532 MB / 0.826 GB, free: 135.7 MB / 474.8 MB 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 (232): * Single equations (assignments): 226 * 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.0005656/1.18, allocations: 242.9 kB / 0.8262 GB, free: 135.5 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01027/1.19, allocations: 11.49 MB / 0.8374 GB, free: 126.2 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.19, allocations: 0 / 0.8374 GB, free: 126.2 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004423/1.195, allocations: 4.923 MB / 0.8422 GB, free: 122 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003285/1.198, allocations: 0.9117 MB / 0.8431 GB, free: 121.3 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/1.22, allocations: 21.34 MB / 0.864 GB, free: 100.1 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003406/1.224, allocations: 5.195 MB / 0.869 GB, free: 94.92 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/1.225, allocations: 460.4 kB / 0.8695 GB, free: 94.47 MB / 474.8 MB Notification: Performance of SimCode: time 1.653e-06/1.225, allocations: 0 / 0.8695 GB, free: 94.47 MB / 474.8 MB Notification: Performance of Templates: time 0.2876/1.513, allocations: 218.7 MB / 1.083 GB, free: 60.73 MB / 490.8 MB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 14.755888203158975]