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.001508/0.001508, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.001766/0.001766, allocations: 161 kB / 24.56 MB, free: 4 kB / 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.9497/0.9497, allocations: 177.1 MB / 205 MB, free: 5.641 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 1.623e-06/1.623e-06, allocations: 0 / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.237e-05, allocations: 2.312 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1359/0.136, allocations: 22.72 MB / 295.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.1489, allocations: 6.98 MB / 302.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004208/0.1531, allocations: 211.8 kB / 302.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008658/0.1617, allocations: 8.574 MB / 311.5 MB, free: 8.715 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007688/0.1694, allocations: 3.786 MB / 315.3 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003299/0.1727, allocations: 2.302 MB / 317.6 MB, free: 4.305 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01367/0.1864, allocations: 15.72 MB / 333.3 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01161/0.198, allocations: 9.775 MB / 343.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01125/0.2093, allocations: 6.651 MB / 349.7 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01016/0.2194, allocations: 6.727 MB / 356.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003033/0.2224, allocations: 1.031 MB / 357.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004955/0.2274, allocations: 2.134 MB / 359.6 MB, free: 10.97 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005965/0.2334, allocations: 5.471 MB / 365.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006349/0.2397, allocations: 3.468 MB / 368.5 MB, free: 2.008 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.254, allocations: 10.64 MB / 379.2 MB, free: 7.332 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.254, allocations: 3.984 kB / 379.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2541, allocations: 0 / 379.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003767/0.2544, allocations: 0 / 379.2 MB, free: 7.328 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.02022/0.2746, allocations: 12.22 MB / 391.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2747, allocations: 12.03 kB / 391.4 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02402/0.2987, allocations: 6.487 MB / 397.9 MB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01841/0.3171, allocations: 7.905 MB / 405.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003777/0.3175, allocations: 0.5296 MB / 406.3 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002448/0.3199, allocations: 0.7228 MB / 407.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03104/0.351, allocations: 11.98 MB / 419.1 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003275/0.3513, allocations: 91.3 kB / 419.1 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001193/0.3525, allocations: 323.8 kB / 419.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002771/0.3553, allocations: 2.817 MB / 422.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01581/0.3711, allocations: 6.384 MB / 428.7 MB, free: 4.109 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.1904/0.5615, allocations: 74.07 MB / 0.4909 GB, free: 56.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/0.5733, allocations: 5.586 MB / 0.4964 GB, free: 53.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002653/0.5759, allocations: 1.511 MB / 0.4979 GB, free: 51.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01228/0.5882, allocations: 8.69 MB / 0.5064 GB, free: 43.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/0.5882, allocations: 71.48 kB / 0.5064 GB, free: 43.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=320): time 6.503e-06/0.5882, allocations: 0 / 0.5064 GB, free: 43.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=426): time 0.08429/0.6725, allocations: 38.82 MB / 0.5443 GB, free: 4.617 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/0.6726, allocations: 410.7 kB / 0.5447 GB, free: 4.129 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007566/0.6802, allocations: 6.496 MB / 0.5511 GB, free: 13.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001015/0.6812, allocations: 85.7 kB / 0.5512 GB, free: 13.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003791/0.685, allocations: 6.029 MB / 0.5571 GB, free: 7.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002121/0.6871, allocations: 1.666 MB / 0.5587 GB, free: 5.934 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002498/0.6896, allocations: 2.163 MB / 0.5608 GB, free: 3.758 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.6897, allocations: 480.8 kB / 0.5612 GB, free: 3.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00283/0.6925, allocations: 1.687 MB / 0.5629 GB, free: 1.594 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1462/0.8387, allocations: 9.309 MB / 0.572 GB, free: 104.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/0.8535, allocations: 11.99 MB / 0.5837 GB, free: 95.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003298/0.8538, allocations: 49.69 kB / 0.5837 GB, free: 95.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=1331) (initialization): time 0.03041/0.8842, allocations: 12.77 MB / 0.5962 GB, free: 93.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001284/0.8844, allocations: 85.81 kB / 0.5963 GB, free: 93.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000206/0.8846, allocations: 172.6 kB / 0.5965 GB, free: 93.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01274/0.8973, allocations: 4.733 MB / 0.6011 GB, free: 93.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004807/0.9021, allocations: 2.144 MB / 0.6032 GB, free: 93.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01899/0.9211, allocations: 11.97 MB / 0.6149 GB, free: 86.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006522/0.9276, allocations: 0.7269 MB / 0.6156 GB, free: 85.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001384/0.929, allocations: 0.5312 MB / 0.6161 GB, free: 85.44 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 778 * 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 (1174): * Single equations (assignments): 1169 * 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 {(3,129,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003094/0.9321, allocations: 0.9328 MB / 0.617 GB, free: 84.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001492/0.9336, allocations: 0.8126 MB / 0.6178 GB, free: 84.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/0.9461, allocations: 7.444 MB / 0.6251 GB, free: 76.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.771e-05/0.9461, allocations: 48.81 kB / 0.6251 GB, free: 76.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-05/0.9461, allocations: 24 kB / 0.6251 GB, free: 76.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.593e-05/0.9462, allocations: 23.86 kB / 0.6252 GB, free: 76.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02969/0.9759, allocations: 17.25 MB / 0.642 GB, free: 59.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.271e-05/0.9759, allocations: 8 kB / 0.642 GB, free: 59.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/0.9776, allocations: 0.582 MB / 0.6426 GB, free: 58.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01094/0.9886, allocations: 4.41 MB / 0.6469 GB, free: 54.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006791/0.9893, allocations: 76 kB / 0.647 GB, free: 54.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01606/1.005, allocations: 10.01 MB / 0.6567 GB, free: 44.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.005, allocations: 19.92 kB / 0.6567 GB, free: 44.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01657/1.022, allocations: 9.489 MB / 0.666 GB, free: 34.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/1.024, allocations: 0.7295 MB / 0.6667 GB, free: 34.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009548/1.025, allocations: 79.83 kB / 0.6668 GB, free: 33.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002431/1.027, allocations: 423.3 kB / 0.6672 GB, free: 33.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007732/1.028, allocations: 318.9 kB / 0.6675 GB, free: 33.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002405/1.028, allocations: 112 kB / 0.6676 GB, free: 33.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003696/1.032, allocations: 3.024 MB / 0.6706 GB, free: 30.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.41e-07/1.032, allocations: 0 / 0.6706 GB, free: 30.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007751/1.04, allocations: 2.711 MB / 0.6732 GB, free: 27.41 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (294): * Single equations (assignments): 290 * 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 {(3,116,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007858/1.04, allocations: 290.7 kB / 0.6735 GB, free: 27.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009858/1.05, allocations: 6.742 MB / 0.6801 GB, free: 20.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.05, allocations: 0 / 0.6801 GB, free: 20.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003561/1.054, allocations: 2.659 MB / 0.6827 GB, free: 17.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004336/1.058, allocations: 1.045 MB / 0.6837 GB, free: 16.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02548/1.084, allocations: 17.95 MB / 0.7012 GB, free: 14.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00331/1.087, allocations: 2.748 MB / 0.7039 GB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004739/1.092, allocations: 2.447 MB / 0.7063 GB, free: 9.297 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/1.093, allocations: 440.4 kB / 0.7067 GB, free: 8.867 MB / 410.7 MB Notification: Performance of SimCode: time 2.044e-06/1.093, allocations: 0 / 0.7067 GB, free: 8.867 MB / 410.7 MB Notification: Performance of Templates: time 0.2594/1.352, allocations: 109 MB / 0.8132 GB, free: 38.99 MB / 410.7 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.020841077901423]