Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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.001451/0.001451, allocations: 88.64 kB / 20.96 MB, free: 3.449 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.001502/0.001502, allocations: 149.1 kB / 24.25 MB, free: 160 kB / 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 1.584/1.584, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 267.4 MB, free: 6.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.964e-05/3.116e-05, allocations: 2.312 kB / 267.4 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02745/0.02748, allocations: 20.22 MB / 287.6 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1466/0.1741, allocations: 6.827 MB / 294.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004935/0.179, allocations: 219.1 kB / 294.6 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01525/0.1942, allocations: 8.271 MB / 302.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009887/0.2041, allocations: 3.828 MB / 306.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005094/0.2092, allocations: 2.3 MB / 309 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01689/0.2261, allocations: 15.17 MB / 324.2 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01753/0.2436, allocations: 9.772 MB / 334 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01757/0.2612, allocations: 6.607 MB / 340.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01293/0.2741, allocations: 6.538 MB / 347.1 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004283/0.2784, allocations: 1.047 MB / 348.2 MB, free: 7.508 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007067/0.2855, allocations: 2.15 MB / 350.3 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008722/0.2942, allocations: 5.487 MB / 355.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009355/0.3036, allocations: 3.479 MB / 359.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0311/0.3347, allocations: 17.93 MB / 377.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.3347, allocations: 0 / 377.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3347, allocations: 0 / 377.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006709/0.3353, allocations: 0 / 377.2 MB, free: 10.38 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: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.03743/0.3728, allocations: 11.77 MB / 389 MB, free: 14.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3728, allocations: 12.03 kB / 389 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04936/0.4222, allocations: 6.541 MB / 395.5 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02389/0.4461, allocations: 8.757 MB / 404.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007018/0.4468, allocations: 0.5218 MB / 404.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002913/0.4497, allocations: 0.7384 MB / 405.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04974/0.4994, allocations: 20.16 MB / 425.7 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006019/0.5, allocations: 91.36 kB / 425.8 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003134/0.5031, allocations: 327.8 kB / 426.1 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005556/0.5087, allocations: 2.848 MB / 429 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2854/0.7941, allocations: 16.55 MB / 445.5 MB, free: 111 MB / 378.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.08969/0.8837, allocations: 69.09 MB / 0.5025 GB, free: 50.34 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0206/0.9044, allocations: 7.774 MB / 0.5101 GB, free: 42.58 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005578/0.9099, allocations: 4.668 MB / 0.5147 GB, free: 37.89 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02497/0.9349, allocations: 13.99 MB / 0.5284 GB, free: 24.08 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.189e-05/0.935, allocations: 64.72 kB / 0.5284 GB, free: 24.01 MB / 378.8 MB Notification: Performance of pre-optimization done (n=328): time 8.375e-06/0.935, allocations: 0 / 0.5284 GB, free: 24.01 MB / 378.8 MB Notification: Performance of matching and sorting (n=448): time 0.4786/1.414, allocations: 97.61 MB / 0.6237 GB, free: 92.43 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/1.414, allocations: 410.9 kB / 0.6241 GB, free: 91.94 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01037/1.424, allocations: 7.718 MB / 0.6317 GB, free: 84.46 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001331/1.425, allocations: 97.64 kB / 0.6318 GB, free: 84.36 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003201/1.429, allocations: 5.71 MB / 0.6373 GB, free: 79.32 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00216/1.431, allocations: 1.674 MB / 0.639 GB, free: 77.66 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003088/1.434, allocations: 2.072 MB / 0.641 GB, free: 75.58 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.65e-05/1.434, allocations: 309.1 kB / 0.6413 GB, free: 75.28 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006751/1.441, allocations: 6.192 MB / 0.6473 GB, free: 69.08 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009039/1.45, allocations: 11.35 MB / 0.6584 GB, free: 55.33 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01774/1.467, allocations: 18.16 MB / 0.6762 GB, free: 34.83 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001266/1.468, allocations: 44 kB / 0.6762 GB, free: 34.79 MB / 394.8 MB Notification: Performance of matching and sorting (n=1327) (initialization): time 0.04707/1.515, allocations: 26.37 MB / 0.7019 GB, free: 8.391 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/1.515, allocations: 78.97 kB / 0.702 GB, free: 8.316 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001428/1.515, allocations: 164 kB / 0.7022 GB, free: 8.156 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1769/1.692, allocations: 11.19 MB / 0.7131 GB, free: 103.6 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008049/1.7, allocations: 2.209 MB / 0.7153 GB, free: 103.6 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05433/1.754, allocations: 43.54 MB / 0.7578 GB, free: 86.61 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008864/1.763, allocations: 0.8727 MB / 0.7586 GB, free: 86.01 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/1.764, allocations: 0.526 MB / 0.7592 GB, free: 85.5 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 755 * 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 (1165): * Single equations (assignments): 1160 * 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,134,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005279/1.769, allocations: 4.103 MB / 0.7632 GB, free: 82.02 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001852/1.771, allocations: 0.8163 MB / 0.764 GB, free: 81.58 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03574/1.807, allocations: 19.32 MB / 0.7828 GB, free: 63.02 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.064e-05/1.807, allocations: 45.55 kB / 0.7829 GB, free: 62.98 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.61e-05/1.807, allocations: 28 kB / 0.7829 GB, free: 62.95 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.896e-05/1.807, allocations: 19.92 kB / 0.7829 GB, free: 62.93 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06205/1.869, allocations: 32.86 MB / 0.815 GB, free: 30.15 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-05/1.869, allocations: 11.94 kB / 0.815 GB, free: 30.14 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00344/1.873, allocations: 0.752 MB / 0.8157 GB, free: 29.39 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03237/1.905, allocations: 10.85 MB / 0.8263 GB, free: 18.59 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001429/1.907, allocations: 80 kB / 0.8264 GB, free: 18.51 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2072/2.114, allocations: 39.98 MB / 0.8655 GB, free: 113.7 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.731e-05/2.114, allocations: 16.75 kB / 0.8655 GB, free: 113.7 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05199/2.166, allocations: 27.66 MB / 0.8925 GB, free: 104.6 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005217/2.171, allocations: 1.793 MB / 0.8942 GB, free: 104.1 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002344/2.173, allocations: 90.25 kB / 0.8943 GB, free: 104 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006115/2.179, allocations: 0.5692 MB / 0.8949 GB, free: 103.9 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001703/2.181, allocations: 342.1 kB / 0.8952 GB, free: 103.9 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00059/2.182, allocations: 121.5 kB / 0.8953 GB, free: 103.9 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.008264/2.19, allocations: 4.796 MB / 0.9 GB, free: 102.3 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.7e-07/2.19, allocations: 0 / 0.9 GB, free: 102.3 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.01374/2.204, allocations: 2.92 MB / 0.9029 GB, free: 102 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (311): * Single equations (assignments): 307 * 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,121,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001732/2.205, allocations: 313.5 kB / 0.9032 GB, free: 101.9 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.02065/2.226, allocations: 14.21 MB / 0.917 GB, free: 89.27 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.029e-05/2.226, allocations: 4 kB / 0.917 GB, free: 89.26 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008937/2.235, allocations: 6.008 MB / 0.9229 GB, free: 83.28 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008155/2.243, allocations: 1.056 MB / 0.9239 GB, free: 82.3 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03387/2.277, allocations: 23.57 MB / 0.947 GB, free: 58.59 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007195/2.284, allocations: 5.986 MB / 0.9528 GB, free: 52.6 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.006483/2.291, allocations: 2.971 MB / 0.9557 GB, free: 49.71 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/2.292, allocations: 436.4 kB / 0.9561 GB, free: 49.29 MB / 410.8 MB Notification: Performance of SimCode: time 1.693e-06/2.292, allocations: 0 / 0.9561 GB, free: 49.29 MB / 410.8 MB Notification: Performance of Templates: time 0.2858/2.578, allocations: 126.4 MB / 1.08 GB, free: 61.91 MB / 410.8 MB " [Timeout remaining time 657] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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: 10.174480228102766]