Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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.001364/0.001364, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001352/0.001352, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9416/0.9416, allocations: 177.2 MB / 206.1 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] 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.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 274.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.085e-05/3.286e-05, allocations: 3.75 kB / 274.2 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02114/0.02117, allocations: 21.83 MB / 296.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01498/0.03615, allocations: 6.934 MB / 303 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004682/0.04084, allocations: 214.9 kB / 303.2 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.05131, allocations: 8.388 MB / 311.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009405/0.06072, allocations: 3.79 MB / 315.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004373/0.06509, allocations: 2.305 MB / 317.7 MB, free: 8.762 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01926/0.08435, allocations: 15.73 MB / 333.4 MB, free: 9.012 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1671/0.2515, allocations: 9.773 MB / 343.2 MB, free: 23.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02073/0.2722, allocations: 9.566 MB / 352.8 MB, free: 23.69 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01127/0.2835, allocations: 6.711 MB / 359.5 MB, free: 23.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003798/0.2873, allocations: 1.036 MB / 360.5 MB, free: 23.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007166/0.2945, allocations: 2.129 MB / 362.6 MB, free: 23.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008338/0.3028, allocations: 5.479 MB / 368.1 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01019/0.313, allocations: 3.471 MB / 371.6 MB, free: 22.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01744/0.3304, allocations: 10.68 MB / 382.3 MB, free: 16.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.3304, allocations: 4 kB / 382.3 MB, free: 16.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3304, allocations: 0 / 382.3 MB, free: 16.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0007374/0.3312, allocations: 0 / 382.3 MB, free: 16.89 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: 2752 * Number of variables: 2752 Notification: Performance of Generate backend data structure: time 0.02009/0.3513, allocations: 11.47 MB / 393.7 MB, free: 6.066 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3513, allocations: 11.59 kB / 393.7 MB, free: 6.059 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02086/0.3722, allocations: 5.286 MB / 399 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01034/0.3825, allocations: 6.155 MB / 405.2 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003441/0.3829, allocations: 0.5235 MB / 405.7 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001734/0.3846, allocations: 0.7227 MB / 406.4 MB, free: 9.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01881/0.4034, allocations: 10.59 MB / 417 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000255/0.4037, allocations: 83.61 kB / 417.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006434/0.4043, allocations: 323.9 kB / 417.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002275/0.4066, allocations: 2.624 MB / 420.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01205/0.4186, allocations: 4.727 MB / 424.8 MB, free: 7.031 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.3041/0.7227, allocations: 73.38 MB / 498.2 MB, free: 125 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009551/0.7323, allocations: 3.764 MB / 0.4902 GB, free: 124.8 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.7338, allocations: 1.079 MB / 0.4912 GB, free: 124.8 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01378/0.7476, allocations: 9.097 MB / 0.5001 GB, free: 123.7 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.7476, allocations: 72.3 kB / 0.5002 GB, free: 123.6 MB / 410.8 MB Notification: Performance of pre-optimization done (n=298): time 6.342e-06/0.7476, allocations: 0 / 0.5002 GB, free: 123.6 MB / 410.8 MB Notification: Performance of matching and sorting (n=406): time 0.09016/0.8378, allocations: 29.6 MB / 0.5291 GB, free: 111.6 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.574e-05/0.8379, allocations: 402.5 kB / 0.5294 GB, free: 111.1 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008583/0.8465, allocations: 6.404 MB / 0.5357 GB, free: 106.6 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000874/0.8473, allocations: 92.08 kB / 0.5358 GB, free: 106.5 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003226/0.8506, allocations: 6.141 MB / 0.5418 GB, free: 101.1 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001948/0.8525, allocations: 1.593 MB / 0.5433 GB, free: 99.48 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002915/0.8554, allocations: 2.169 MB / 0.5455 GB, free: 97.3 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.656e-05/0.8555, allocations: 484.7 kB / 0.5459 GB, free: 96.82 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002853/0.8583, allocations: 1.351 MB / 0.5472 GB, free: 95.46 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005035/0.8634, allocations: 9.004 MB / 0.556 GB, free: 83.17 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009166/0.8725, allocations: 10.87 MB / 0.5666 GB, free: 69.58 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001274/0.8727, allocations: 52 kB / 0.5667 GB, free: 69.53 MB / 410.8 MB Notification: Performance of matching and sorting (n=1303) (initialization): time 0.01627/0.8889, allocations: 9.312 MB / 0.5758 GB, free: 60.19 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.492e-05/0.889, allocations: 80 kB / 0.5759 GB, free: 60.11 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001826/0.8892, allocations: 171.9 kB / 0.576 GB, free: 59.95 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006196/0.8954, allocations: 2.143 MB / 0.5781 GB, free: 57.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00475/0.9001, allocations: 2.113 MB / 0.5802 GB, free: 55.68 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/0.9108, allocations: 7.792 MB / 0.5878 GB, free: 47.78 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007358/0.9182, allocations: 391.7 kB / 0.5882 GB, free: 47.4 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/0.9196, allocations: 456 kB / 0.5886 GB, free: 46.95 MB / 410.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.003469/0.9231, allocations: 0.9256 MB / 0.5895 GB, free: 46.02 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00173/0.9248, allocations: 0.7924 MB / 0.5903 GB, free: 45.22 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007642/0.9325, allocations: 4.221 MB / 0.5944 GB, free: 40.95 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-05/0.9325, allocations: 40 kB / 0.5944 GB, free: 40.91 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/0.9325, allocations: 20 kB / 0.5945 GB, free: 40.89 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.767e-05/0.9326, allocations: 19.88 kB / 0.5945 GB, free: 40.87 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02533/0.9579, allocations: 14.14 MB / 0.6083 GB, free: 26.36 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.42e-05/0.9579, allocations: 16 kB / 0.6083 GB, free: 26.34 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/0.9597, allocations: 0.5505 MB / 0.6088 GB, free: 25.79 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005698/0.9654, allocations: 1.882 MB / 0.6107 GB, free: 23.91 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004823/0.9659, allocations: 87.98 kB / 0.6108 GB, free: 23.82 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009593/0.9755, allocations: 6.988 MB / 0.6176 GB, free: 16.72 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.9755, allocations: 23.88 kB / 0.6176 GB, free: 16.7 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/0.9862, allocations: 6.155 MB / 0.6236 GB, free: 10.15 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002001/0.9882, allocations: 0.6983 MB / 0.6243 GB, free: 9.449 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/0.9892, allocations: 87.92 kB / 0.6244 GB, free: 9.363 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/0.9913, allocations: 95.98 kB / 0.6245 GB, free: 9.27 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005519/0.9918, allocations: 306.1 kB / 0.6248 GB, free: 8.969 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002056/0.992, allocations: 91.98 kB / 0.6249 GB, free: 8.879 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002905/0.9949, allocations: 2.786 MB / 0.6276 GB, free: 6.117 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.31e-07/0.9949, allocations: 0 / 0.6276 GB, free: 6.117 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.1513/1.146, allocations: 2.559 MB / 0.6301 GB, free: 114.3 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.001722/1.148, allocations: 308.2 kB / 0.6304 GB, free: 114.2 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.009279/1.157, allocations: 5.377 MB / 0.6356 GB, free: 113.7 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.732e-05/1.157, allocations: 3.875 kB / 0.6356 GB, free: 113.7 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003235/1.16, allocations: 1.872 MB / 0.6375 GB, free: 113.4 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005303/1.166, allocations: 1.043 MB / 0.6385 GB, free: 113.3 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02522/1.191, allocations: 16.9 MB / 0.655 GB, free: 106.5 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004181/1.195, allocations: 2.724 MB / 0.6576 GB, free: 106.2 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003681/1.199, allocations: 0.9004 MB / 0.6585 GB, free: 106.1 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002515/1.201, allocations: 1.206 MB / 0.6597 GB, free: 106.1 MB / 410.8 MB Notification: Performance of SimCode: time 2.324e-06/1.201, allocations: 0 / 0.6597 GB, free: 106.1 MB / 410.8 MB Notification: Performance of Templates: time 0.1333/1.335, allocations: 105.4 MB / 0.7626 GB, free: 9.98 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 6.660241560079157]