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.002077/0.002077, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001985/0.001985, allocations: 165.6 kB / 24.27 MB, free: 156 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 1.575/1.575, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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 1.263e-06/1.263e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.399e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1466/0.1467, allocations: 22.6 MB / 294.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01372/0.1604, allocations: 6.95 MB / 301.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004746/0.1651, allocations: 220.4 kB / 302.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01441/0.1795, allocations: 8.54 MB / 310.7 MB, free: 8.879 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009949/0.1895, allocations: 3.786 MB / 314.4 MB, free: 6.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004494/0.194, allocations: 2.296 MB / 316.7 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.02058/0.2146, allocations: 15.72 MB / 332.5 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01534/0.2299, allocations: 9.78 MB / 342.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01351/0.2434, allocations: 6.647 MB / 348.9 MB, free: 5.133 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01242/0.2558, allocations: 6.731 MB / 355.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003399/0.2592, allocations: 1.039 MB / 356.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006687/0.2659, allocations: 2.123 MB / 358.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008381/0.2743, allocations: 5.483 MB / 364.3 MB, free: 5.723 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008808/0.2831, allocations: 3.464 MB / 367.7 MB, free: 2.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0278/0.3109, allocations: 17.78 MB / 385.5 MB, free: 432 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.3109, allocations: 0 / 385.5 MB, free: 432 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3109, allocations: 3.938 kB / 385.5 MB, free: 428 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006251/0.3115, allocations: 0 / 385.5 MB, free: 428 kB / 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.03578/0.3473, allocations: 13.27 MB / 398.8 MB, free: 3.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3474, allocations: 15.97 kB / 398.8 MB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05187/0.3992, allocations: 6.491 MB / 405.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02499/0.4242, allocations: 8.076 MB / 413.3 MB, free: 4.332 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006217/0.4248, allocations: 0.5179 MB / 413.9 MB, free: 3.812 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003192/0.428, allocations: 0.7267 MB / 414.6 MB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03489/0.4629, allocations: 12.89 MB / 427.5 MB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003561/0.4633, allocations: 91.3 kB / 427.6 MB, free: 4.613 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001163/0.4644, allocations: 319.8 kB / 427.9 MB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005058/0.4695, allocations: 2.821 MB / 430.7 MB, free: 1.473 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1556/0.625, allocations: 6.797 MB / 437.5 MB, free: 107.3 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.09177/0.7168, allocations: 89.54 MB / 0.5147 GB, free: 29.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01842/0.7352, allocations: 5.276 MB / 0.5198 GB, free: 23.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00294/0.7382, allocations: 1.568 MB / 0.5214 GB, free: 22.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01802/0.7562, allocations: 8.833 MB / 0.53 GB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.7562, allocations: 75.42 kB / 0.5301 GB, free: 13.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=320): time 6.352e-06/0.7562, allocations: 0 / 0.5301 GB, free: 13.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=426): time 0.1528/0.9091, allocations: 39.25 MB / 0.5684 GB, free: 6.223 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002905/0.9094, allocations: 406.8 kB / 0.5688 GB, free: 5.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.142/1.051, allocations: 8.273 MB / 0.5769 GB, free: 123 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001068/1.052, allocations: 90.84 kB / 0.577 GB, free: 122.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004945/1.057, allocations: 6.469 MB / 0.5833 GB, free: 120.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003244/1.061, allocations: 1.792 MB / 0.585 GB, free: 119.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005066/1.066, allocations: 2.659 MB / 0.5876 GB, free: 119.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.539e-05/1.066, allocations: 477.5 kB / 0.5881 GB, free: 119 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004317/1.07, allocations: 1.829 MB / 0.5899 GB, free: 119 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007004/1.077, allocations: 9.85 MB / 0.5995 GB, free: 109.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01336/1.09, allocations: 13.7 MB / 0.6129 GB, free: 98.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002346/1.091, allocations: 49.06 kB / 0.6129 GB, free: 98.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=1331) (initialization): time 0.03321/1.124, allocations: 13.16 MB / 0.6258 GB, free: 95.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.124, allocations: 78.28 kB / 0.6258 GB, free: 95.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001649/1.124, allocations: 174.2 kB / 0.626 GB, free: 95.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02117/1.145, allocations: 4.855 MB / 0.6307 GB, free: 94.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006904/1.152, allocations: 2.152 MB / 0.6328 GB, free: 92.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02824/1.18, allocations: 13.07 MB / 0.6456 GB, free: 79.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008703/1.189, allocations: 0.7217 MB / 0.6463 GB, free: 78.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/1.19, allocations: 0.5358 MB / 0.6468 GB, free: 78.05 MB / 410.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.003298/1.193, allocations: 1.083 MB / 0.6479 GB, free: 76.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0015/1.195, allocations: 0.8118 MB / 0.6487 GB, free: 76.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02208/1.217, allocations: 7.709 MB / 0.6562 GB, free: 68.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.125e-05/1.217, allocations: 40 kB / 0.6563 GB, free: 68.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.43e-05/1.217, allocations: 24 kB / 0.6563 GB, free: 68.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.42e-05/1.217, allocations: 23.92 kB / 0.6563 GB, free: 68.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04821/1.265, allocations: 20.04 MB / 0.6759 GB, free: 48.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.991e-05/1.265, allocations: 8 kB / 0.6759 GB, free: 48.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002741/1.268, allocations: 0.5811 MB / 0.6764 GB, free: 47.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02007/1.288, allocations: 4.516 MB / 0.6809 GB, free: 43.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006914/1.289, allocations: 83.94 kB / 0.6809 GB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02538/1.314, allocations: 10.95 MB / 0.6916 GB, free: 31.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.314, allocations: 8 kB / 0.6916 GB, free: 31.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02714/1.342, allocations: 10.04 MB / 0.7014 GB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00268/1.344, allocations: 0.7257 MB / 0.7021 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00176/1.346, allocations: 83.94 kB / 0.7022 GB, free: 20.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00522/1.351, allocations: 423.4 kB / 0.7026 GB, free: 20.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001493/1.353, allocations: 311 kB / 0.7029 GB, free: 20.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004313/1.353, allocations: 112 kB / 0.703 GB, free: 19.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005882/1.359, allocations: 3.658 MB / 0.7066 GB, free: 16.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.359, allocations: 0 / 0.7066 GB, free: 16.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01045/1.369, allocations: 2.71 MB / 0.7093 GB, free: 13.61 MB / 410.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.001003/1.37, allocations: 301.8 kB / 0.7095 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01312/1.384, allocations: 7.401 MB / 0.7168 GB, free: 5.902 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.567e-05/1.384, allocations: 4 kB / 0.7168 GB, free: 5.898 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005307/1.389, allocations: 2.918 MB / 0.7196 GB, free: 2.949 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.148/1.537, allocations: 1.037 MB / 0.7206 GB, free: 106.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03893/1.576, allocations: 18.2 MB / 0.7384 GB, free: 99.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007945/1.584, allocations: 5.435 MB / 0.7437 GB, free: 99.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006127/1.59, allocations: 2.438 MB / 0.7461 GB, free: 99.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/1.591, allocations: 434.1 kB / 0.7465 GB, free: 99.22 MB / 410.7 MB Notification: Performance of SimCode: time 2.906e-06/1.591, allocations: 1.969 kB / 0.7465 GB, free: 99.22 MB / 410.7 MB Notification: Performance of Templates: time 0.1447/1.736, allocations: 108.9 MB / 0.8528 GB, free: 5.906 MB / 410.7 MB " [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=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","/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: 9.230721424915828]