Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008766/0.0008766, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008907/0.0008907, allocations: 170.1 kB / 24.91 MB, free: 8.758 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8659/0.8659, allocations: 177 MB / 205.2 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.638e-06/1.065e-05, allocations: 2.312 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1064/0.1064, allocations: 21.85 MB / 295.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.1173, allocations: 7.247 MB / 302.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.1194, allocations: 215.5 kB / 302.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00666/0.1261, allocations: 8.5 MB / 311.2 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004438/0.1305, allocations: 3.864 MB / 315.1 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.1328, allocations: 2.309 MB / 317.4 MB, free: 4.293 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0096/0.1424, allocations: 15.65 MB / 333 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007273/0.1497, allocations: 9.938 MB / 343 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007846/0.1575, allocations: 9.48 MB / 352.5 MB, free: 1.684 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004901/0.1624, allocations: 6.451 MB / 358.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008537/0.1633, allocations: 1.035 MB / 359.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.1654, allocations: 2.123 MB / 362.1 MB, free: 8.055 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003187/0.1686, allocations: 5.487 MB / 367.6 MB, free: 2.555 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002358/0.1709, allocations: 3.468 MB / 371 MB, free: 15.08 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006858/0.1778, allocations: 10.68 MB / 381.7 MB, free: 4.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1778, allocations: 0 / 381.7 MB, free: 4.359 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1778, allocations: 0 / 381.7 MB, free: 4.359 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.441e-05/0.1779, allocations: 0 / 381.7 MB, free: 4.359 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: 2752 * Number of variables: 2752 Notification: Performance of Generate backend data structure: time 0.01021/0.1881, allocations: 10.44 MB / 392.1 MB, free: 9.832 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.1881, allocations: 11.98 kB / 392.2 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006445/0.1946, allocations: 2.436 MB / 394.6 MB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008368/0.2029, allocations: 5.747 MB / 400.3 MB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003698/0.2033, allocations: 0.5218 MB / 400.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00118/0.2045, allocations: 0.7306 MB / 401.6 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/0.2156, allocations: 9.654 MB / 411.2 MB, free: 5.473 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001506/0.2157, allocations: 95.2 kB / 411.3 MB, free: 5.379 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005293/0.2163, allocations: 327.8 kB / 411.7 MB, free: 5.059 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00204/0.2183, allocations: 2.622 MB / 414.3 MB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007143/0.2254, allocations: 4.669 MB / 418.9 MB, free: 13.72 MB / 378.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.2041/0.4295, allocations: 54.12 MB / 473.1 MB, free: 73.55 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007201/0.4367, allocations: 3.565 MB / 476.6 MB, free: 73.32 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009743/0.4377, allocations: 0.8712 MB / 477.5 MB, free: 73.27 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01014/0.4478, allocations: 8.622 MB / 486.1 MB, free: 70.62 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.4479, allocations: 75 kB / 486.2 MB, free: 70.57 MB / 378.8 MB Notification: Performance of pre-optimization done (n=298): time 5.71e-06/0.4479, allocations: 3.625 kB / 486.2 MB, free: 70.57 MB / 378.8 MB Notification: Performance of matching and sorting (n=406): time 0.0548/0.5027, allocations: 23.43 MB / 0.4977 GB, free: 51.39 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.5027, allocations: 406.3 kB / 0.4981 GB, free: 50.91 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003549/0.5063, allocations: 5.809 MB / 0.5038 GB, free: 45.95 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002343/0.5065, allocations: 93.7 kB / 0.5038 GB, free: 45.85 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001136/0.5076, allocations: 5.088 MB / 0.5088 GB, free: 41.02 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006163/0.5082, allocations: 1.538 MB / 0.5103 GB, free: 39.47 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001462/0.5097, allocations: 1.887 MB / 0.5122 GB, free: 37.57 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.197e-05/0.5097, allocations: 301.1 kB / 0.5124 GB, free: 37.28 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002199/0.5119, allocations: 1.533 MB / 0.5139 GB, free: 35.74 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002966/0.5149, allocations: 6.589 MB / 0.5204 GB, free: 26.77 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004483/0.5194, allocations: 8.596 MB / 0.5288 GB, free: 16.1 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-05/0.5194, allocations: 48 kB / 0.5288 GB, free: 16.05 MB / 378.8 MB Notification: Performance of matching and sorting (n=1303) (initialization): time 0.009531/0.5289, allocations: 7.932 MB / 0.5366 GB, free: 8.074 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.16e-05/0.529, allocations: 76 kB / 0.5366 GB, free: 8 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-05/0.5291, allocations: 176.2 kB / 0.5368 GB, free: 7.828 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005209/0.5343, allocations: 2.11 MB / 0.5389 GB, free: 5.715 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00331/0.5376, allocations: 2.109 MB / 0.5409 GB, free: 3.602 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009268/0.5469, allocations: 6.783 MB / 0.5476 GB, free: 12.71 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003358/0.5502, allocations: 391.7 kB / 0.5479 GB, free: 12.33 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000481/0.5507, allocations: 460 kB / 0.5484 GB, free: 11.88 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 777 * Number of states: 0 () * Number of discrete variables: 73 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.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 (1193): * Single equations (assignments): 1188 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,84,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001915/0.5526, allocations: 0.8789 MB / 0.5492 GB, free: 10.99 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007585/0.5534, allocations: 491.4 kB / 0.5497 GB, free: 10.51 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006837/0.5602, allocations: 3.744 MB / 0.5533 GB, free: 6.719 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/0.5603, allocations: 44 kB / 0.5534 GB, free: 6.676 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.5603, allocations: 12 kB / 0.5534 GB, free: 6.664 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/0.5603, allocations: 27.92 kB / 0.5534 GB, free: 6.637 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/0.5776, allocations: 12.29 MB / 0.5654 GB, free: 10.02 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.5776, allocations: 12 kB / 0.5654 GB, free: 10.01 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.5791, allocations: 0.5461 MB / 0.566 GB, free: 9.461 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005506/0.5846, allocations: 2.164 MB / 0.5681 GB, free: 7.293 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002064/0.5848, allocations: 83.98 kB / 0.5682 GB, free: 7.211 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008943/0.5937, allocations: 6.03 MB / 0.5741 GB, free: 1.078 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/0.5938, allocations: 23.88 kB / 0.5741 GB, free: 1.055 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1095/0.7032, allocations: 5.285 MB / 0.5792 GB, free: 121.7 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/0.7043, allocations: 0.6679 MB / 0.5799 GB, free: 121.7 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007363/0.7051, allocations: 85.06 kB / 0.58 GB, free: 121.7 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/0.7068, allocations: 95.11 kB / 0.5801 GB, free: 121.7 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005518/0.7073, allocations: 307 kB / 0.5804 GB, free: 121.7 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002252/0.7075, allocations: 99.14 kB / 0.5804 GB, free: 121.7 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002437/0.71, allocations: 2.381 MB / 0.5828 GB, free: 121.5 MB / 410.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.71, allocations: 0 / 0.5828 GB, free: 121.5 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00534/0.7153, allocations: 2.561 MB / 0.5853 GB, free: 121.5 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (317): * Single equations (assignments): 313 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,73,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005307/0.7158, allocations: 293.8 kB / 0.5856 GB, free: 121.5 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00494/0.7208, allocations: 4.838 MB / 0.5903 GB, free: 121 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001862/0.721, allocations: 133.7 kB / 0.5904 GB, free: 121 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.7228, allocations: 1.633 MB / 0.592 GB, free: 120.7 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003419/0.7262, allocations: 1.472 MB / 0.5934 GB, free: 120.6 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.7402, allocations: 16.71 MB / 0.6098 GB, free: 111.6 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001765/0.742, allocations: 2.71 MB / 0.6124 GB, free: 110.2 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.00194/0.7439, allocations: 0.9054 MB / 0.6133 GB, free: 109.8 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001926/0.7458, allocations: 1.113 MB / 0.6144 GB, free: 108.8 MB / 410.8 MB Notification: Performance of SimCode: time 9.22e-07/0.7458, allocations: 0 / 0.6144 GB, free: 108.8 MB / 410.8 MB Notification: Performance of Templates: time 0.09912/0.8449, allocations: 103 MB / 0.7149 GB, free: 8.176 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.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.955604067072272]