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.001847/0.001847, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002195/0.002195, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.475/1.475, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001547/0.001547, allocations: 51.92 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2098, allocations: 53.37 MB / 432.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02393/0.2338, allocations: 20.1 MB / 452.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01407/0.2478, allocations: 6.837 MB / 459.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00211/0.25, allocations: 218.8 kB / 459.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01402/0.264, allocations: 7.68 MB / 467.2 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007412/0.2714, allocations: 3.681 MB / 470.9 MB, free: 52 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003721/0.2751, allocations: 2.013 MB / 472.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01649/0.2916, allocations: 13.59 MB / 486.5 MB, free: 428 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008955/0.3005, allocations: 7.949 MB / 494.4 MB, free: 8.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00575/0.3063, allocations: 4.34 MB / 498.8 MB, free: 4.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007914/0.3142, allocations: 6.104 MB / 0.493 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001697/0.3159, allocations: 1.004 MB / 0.494 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003657/0.3196, allocations: 2.057 MB / 0.496 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004939/0.3245, allocations: 5.174 MB / 0.5011 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005015/0.3295, allocations: 4.143 MB / 0.5051 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01817/0.3477, allocations: 17.35 MB / 0.5221 GB, free: 80 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3477, allocations: 0 / 0.5221 GB, free: 80 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3477, allocations: 0 / 0.5221 GB, free: 80 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000345/0.348, allocations: 0 / 0.5221 GB, free: 80 kB / 430.1 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.02603/0.3741, allocations: 11.38 MB / 0.5332 GB, free: 4.602 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3741, allocations: 8.031 kB / 0.5332 GB, free: 4.594 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3842/0.7583, allocations: 5.469 MB / 0.5385 GB, free: 94.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02051/0.7788, allocations: 8.828 MB / 0.5472 GB, free: 91.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002698/0.7791, allocations: 0.5187 MB / 0.5477 GB, free: 91.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00163/0.7807, allocations: 0.7293 MB / 0.5484 GB, free: 91.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02706/0.8077, allocations: 19.84 MB / 0.5677 GB, free: 72.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002252/0.808, allocations: 91.36 kB / 0.5678 GB, free: 72.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00074/0.8087, allocations: 327 kB / 0.5681 GB, free: 71.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003171/0.8119, allocations: 2.82 MB / 0.5709 GB, free: 69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0252/0.8371, allocations: 16.23 MB / 0.5868 GB, free: 52.78 MB / 446.1 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.08271/0.9198, allocations: 66.85 MB / 0.652 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02433/0.9441, allocations: 7.737 MB / 0.6596 GB, free: 9.113 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007078/0.9512, allocations: 4.502 MB / 0.664 GB, free: 4.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02691/0.9781, allocations: 12.23 MB / 0.6759 GB, free: 8.449 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.287e-05/0.9782, allocations: 64.66 kB / 0.676 GB, free: 8.375 MB / 494.1 MB Notification: Performance of pre-optimization done (n=320): time 7.064e-06/0.9782, allocations: 4 kB / 0.676 GB, free: 8.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=426): time 0.1957/1.174, allocations: 52.44 MB / 0.7272 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003173/1.174, allocations: 410.7 kB / 0.7276 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/1.185, allocations: 7.305 MB / 0.7347 GB, free: 12.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009161/1.186, allocations: 89.7 kB / 0.7348 GB, free: 12.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005042/1.191, allocations: 5.802 MB / 0.7405 GB, free: 6.406 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002411/1.193, allocations: 1.628 MB / 0.7421 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00341/1.197, allocations: 2.091 MB / 0.7441 GB, free: 2.664 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.197, allocations: 309 kB / 0.7444 GB, free: 2.359 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2071/1.404, allocations: 5.207 MB / 0.7495 GB, free: 185.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01029/1.414, allocations: 10.49 MB / 0.7597 GB, free: 176.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01641/1.431, allocations: 16.29 MB / 0.7756 GB, free: 165 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001741/1.431, allocations: 49.28 kB / 0.7757 GB, free: 165 MB / 0.545 GB Notification: Performance of matching and sorting (n=1331) (initialization): time 0.04035/1.471, allocations: 21.12 MB / 0.7963 GB, free: 152.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001965/1.472, allocations: 77.25 kB / 0.7964 GB, free: 152.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002546/1.472, allocations: 172 kB / 0.7966 GB, free: 152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0196/1.491, allocations: 6.661 MB / 0.8031 GB, free: 146.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006713/1.498, allocations: 2.141 MB / 0.8052 GB, free: 144.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04342/1.542, allocations: 34.45 MB / 0.8388 GB, free: 110.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00811/1.55, allocations: 0.6219 MB / 0.8394 GB, free: 109.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00163/1.551, allocations: 0.5312 MB / 0.8399 GB, free: 109.2 MB / 0.545 GB 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.006432/1.558, allocations: 4.092 MB / 0.8439 GB, free: 105.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001675/1.559, allocations: 0.686 MB / 0.8446 GB, free: 104.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02744/1.587, allocations: 14.17 MB / 0.8584 GB, free: 90.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.794e-05/1.587, allocations: 40 kB / 0.8585 GB, free: 90.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.516e-05/1.587, allocations: 27.75 kB / 0.8585 GB, free: 90.63 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.986e-05/1.587, allocations: 23.86 kB / 0.8585 GB, free: 90.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05163/1.639, allocations: 25.06 MB / 0.883 GB, free: 65.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.553e-05/1.639, allocations: 4 kB / 0.883 GB, free: 65.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002886/1.642, allocations: 0.5851 MB / 0.8836 GB, free: 65.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01884/1.66, allocations: 6.325 MB / 0.8897 GB, free: 58.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008489/1.661, allocations: 76 kB / 0.8898 GB, free: 58.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03845/1.7, allocations: 31.37 MB / 0.9204 GB, free: 27.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/1.7, allocations: 11.94 kB / 0.9205 GB, free: 27.33 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03383/1.734, allocations: 20.83 MB / 0.9408 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/1.735, allocations: 0.6429 MB / 0.9414 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001762/1.737, allocations: 83.97 kB / 0.9415 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004299/1.742, allocations: 323.5 kB / 0.9418 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001125/1.743, allocations: 318.9 kB / 0.9421 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004296/1.743, allocations: 116 kB / 0.9422 GB, free: 5.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006257/1.749, allocations: 4.45 MB / 0.9466 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.749, allocations: 0 / 0.9466 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009206/1.759, allocations: 2.398 MB / 0.9489 GB, free: 14.25 MB / 0.5607 GB 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.000958/1.759, allocations: 287.5 kB / 0.9492 GB, free: 13.99 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.2198/1.979, allocations: 12.07 MB / 0.961 GB, free: 194.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/1.979, allocations: 6.906 kB / 0.961 GB, free: 194.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00744/1.987, allocations: 4.883 MB / 0.9658 GB, free: 192.2 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005607/1.992, allocations: 0.9803 MB / 0.9667 GB, free: 191.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03185/2.024, allocations: 22.88 MB / 0.9891 GB, free: 177 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006237/2.03, allocations: 5.928 MB / 0.9949 GB, free: 172.7 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005867/2.036, allocations: 2.904 MB / 0.9977 GB, free: 170.9 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/2.038, allocations: 413.1 kB / 0.9981 GB, free: 170.6 MB / 0.5607 GB Notification: Performance of SimCode: time 1.162e-06/2.038, allocations: 0 / 0.9981 GB, free: 170.6 MB / 0.5607 GB Notification: Performance of Templates: time 0.1448/2.182, allocations: 114 MB / 1.109 GB, free: 57.97 MB / 0.5607 GB " [Timeout remaining time 658] 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 9.437289573994349]