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.001119/0.001119, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.004176/0.004176, allocations: 157.1 kB / 24.7 MB, free: 9.406 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.849/0.849, allocations: 177.1 MB / 205 MB, free: 5.746 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.323e-06/1.323e-06, allocations: 0 / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.594e-05, allocations: 5.094 kB / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.01374/0.01377, allocations: 20.13 MB / 346 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.02504, allocations: 6.842 MB / 352.8 MB, free: 4.316 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003017/0.02806, allocations: 218.8 kB / 353.1 MB, free: 4.102 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007012/0.03507, allocations: 8.096 MB / 361.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005851/0.04092, allocations: 3.779 MB / 364.9 MB, free: 8.184 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.04363, allocations: 2.269 MB / 367.2 MB, free: 5.91 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0121/0.05572, allocations: 15.71 MB / 382.9 MB, free: 6.176 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009294/0.06502, allocations: 9.461 MB / 392.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007161/0.07218, allocations: 6.608 MB / 399 MB, free: 5.996 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00586/0.07804, allocations: 6.485 MB / 405.5 MB, free: 15.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001238/0.07928, allocations: 1.035 MB / 406.5 MB, free: 14.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.08179, allocations: 2.134 MB / 408.6 MB, free: 12.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003091/0.08488, allocations: 5.428 MB / 414.1 MB, free: 6.883 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002952/0.08783, allocations: 3.444 MB / 417.5 MB, free: 3.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01244/0.1003, allocations: 17.72 MB / 435.2 MB, free: 1.656 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1003, allocations: 0 / 435.2 MB, free: 1.656 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1003, allocations: 0 / 435.2 MB, free: 1.656 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000315/0.1006, allocations: 4 kB / 435.2 MB, free: 1.652 MB / 394.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.01551/0.1161, allocations: 11.62 MB / 446.9 MB, free: 5.934 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1162, allocations: 12.03 kB / 446.9 MB, free: 5.922 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02056/0.1367, allocations: 5.706 MB / 452.6 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2935/0.4302, allocations: 8.756 MB / 461.3 MB, free: 104 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002661/0.4305, allocations: 0.5216 MB / 461.8 MB, free: 103.8 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00143/0.4319, allocations: 0.7317 MB / 462.6 MB, free: 103.6 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01847/0.4504, allocations: 19.86 MB / 482.4 MB, free: 84.59 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001838/0.4505, allocations: 95.36 kB / 482.5 MB, free: 84.5 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005294/0.4511, allocations: 326.9 kB / 482.9 MB, free: 84.23 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001963/0.453, allocations: 2.821 MB / 485.7 MB, free: 81.42 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0175/0.4705, allocations: 16.26 MB / 0.4902 GB, free: 65.18 MB / 410.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.06682/0.5374, allocations: 68.19 MB / 0.5568 GB, free: 12.18 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0145/0.5519, allocations: 8.045 MB / 0.5646 GB, free: 4.125 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005146/0.557, allocations: 4.508 MB / 0.569 GB, free: 15.59 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01918/0.5762, allocations: 12.66 MB / 0.5814 GB, free: 3.023 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.475e-05/0.5763, allocations: 72.58 kB / 0.5814 GB, free: 2.941 MB / 442.8 MB Notification: Performance of pre-optimization done (n=320): time 8.316e-06/0.5763, allocations: 0 / 0.5814 GB, free: 2.941 MB / 442.8 MB Notification: Performance of matching and sorting (n=426): time 0.2683/0.8445, allocations: 54.32 MB / 0.6345 GB, free: 150 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.8446, allocations: 403.8 kB / 0.6349 GB, free: 149.6 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009076/0.8537, allocations: 7.83 MB / 0.6425 GB, free: 146.9 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001081/0.8548, allocations: 93.08 kB / 0.6426 GB, free: 146.8 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002302/0.8571, allocations: 5.758 MB / 0.6482 GB, free: 142.9 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001877/0.859, allocations: 1.608 MB / 0.6498 GB, free: 141.5 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002272/0.8612, allocations: 2.065 MB / 0.6518 GB, free: 139.6 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 3.281e-05/0.8613, allocations: 304.5 kB / 0.6521 GB, free: 139.3 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004843/0.8661, allocations: 5.21 MB / 0.6572 GB, free: 134.8 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006784/0.8729, allocations: 10.48 MB / 0.6674 GB, free: 122 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01329/0.8862, allocations: 16.3 MB / 0.6834 GB, free: 103.5 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001298/0.8863, allocations: 48 kB / 0.6834 GB, free: 103.5 MB / 474.8 MB Notification: Performance of matching and sorting (n=1331) (initialization): time 0.02809/0.9144, allocations: 21.11 MB / 0.704 GB, free: 82.32 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.214e-05/0.9145, allocations: 82.97 kB / 0.7041 GB, free: 82.25 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001428/0.9146, allocations: 168 kB / 0.7043 GB, free: 82.08 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/0.9254, allocations: 6.656 MB / 0.7108 GB, free: 75.43 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004445/0.9298, allocations: 2.16 MB / 0.7129 GB, free: 73.27 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0283/0.9581, allocations: 34.49 MB / 0.7466 GB, free: 38.68 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006298/0.9644, allocations: 0.7295 MB / 0.7473 GB, free: 37.95 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001349/0.9658, allocations: 0.5387 MB / 0.7478 GB, free: 37.41 MB / 474.8 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.006611/0.9724, allocations: 4.088 MB / 0.7518 GB, free: 33.31 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001628/0.974, allocations: 0.6868 MB / 0.7525 GB, free: 32.62 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/0.9901, allocations: 14.17 MB / 0.7663 GB, free: 18.39 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.19e-05/0.9901, allocations: 40 kB / 0.7663 GB, free: 18.35 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/0.9901, allocations: 24 kB / 0.7664 GB, free: 18.33 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.427e-05/0.9902, allocations: 23.92 kB / 0.7664 GB, free: 18.3 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1891/1.179, allocations: 25.3 MB / 0.7911 GB, free: 151.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.985e-05/1.179, allocations: 11.12 kB / 0.7911 GB, free: 151.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/1.181, allocations: 0.5849 MB / 0.7917 GB, free: 151.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01038/1.192, allocations: 6.312 MB / 0.7978 GB, free: 151 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008388/1.192, allocations: 83.91 kB / 0.7979 GB, free: 151 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02562/1.218, allocations: 31.41 MB / 0.8286 GB, free: 138.4 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.218, allocations: 11.94 kB / 0.8286 GB, free: 138.4 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02218/1.24, allocations: 20.81 MB / 0.8489 GB, free: 118.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001999/1.242, allocations: 0.7482 MB / 0.8497 GB, free: 118.6 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001874/1.244, allocations: 76 kB / 0.8497 GB, free: 118.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003294/1.247, allocations: 428 kB / 0.8501 GB, free: 118.1 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009562/1.248, allocations: 320.9 kB / 0.8504 GB, free: 117.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002411/1.249, allocations: 112 kB / 0.8505 GB, free: 117.6 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.005209/1.254, allocations: 4.852 MB / 0.8553 GB, free: 112.8 MB / 490.8 MB Notification: Performance of sort global known variables: time 3e-08/1.254, allocations: 0 / 0.8553 GB, free: 112.8 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.008906/1.263, allocations: 2.705 MB / 0.8579 GB, free: 110.1 MB / 490.8 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.001077/1.264, allocations: 296.3 kB / 0.8582 GB, free: 109.9 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01204/1.276, allocations: 12.09 MB / 0.87 GB, free: 97.88 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/1.276, allocations: 0.6562 kB / 0.87 GB, free: 97.88 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004885/1.281, allocations: 4.881 MB / 0.8748 GB, free: 93.03 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004885/1.286, allocations: 1.001 MB / 0.8758 GB, free: 92.07 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02864/1.314, allocations: 23.58 MB / 0.8988 GB, free: 68.45 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006732/1.321, allocations: 5.86 MB / 0.9045 GB, free: 62.56 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001905/1.323, allocations: 496.3 kB / 0.905 GB, free: 62.08 MB / 490.8 MB Notification: Performance of SimCode: time 1.523e-06/1.323, allocations: 0 / 0.905 GB, free: 62.08 MB / 490.8 MB Notification: Performance of Templates: time 0.3021/1.625, allocations: 168.6 MB / 1.07 GB, free: 78.84 MB / 0.4949 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","/var/lib/jenkins/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: 15.235326993279159]