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.00138/0.00138, allocations: 81.8 kB / 20.68 MB, free: 1.035 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.001402/0.001402, allocations: 168.6 kB / 23.95 MB, free: 4.172 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.419/1.419, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.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 1.413e-06/1.413e-06, allocations: 0 / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.852e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02335/0.02337, allocations: 20.13 MB / 345.2 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01583/0.0392, allocations: 6.844 MB / 352.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004484/0.04369, allocations: 214.8 kB / 352.3 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01743/0.06112, allocations: 8.1 MB / 360.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.07145, allocations: 3.786 MB / 364.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005118/0.07657, allocations: 2.266 MB / 366.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02077/0.09734, allocations: 15.71 MB / 382.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0133/0.1106, allocations: 9.457 MB / 391.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01393/0.1246, allocations: 6.616 MB / 398.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01177/0.1363, allocations: 6.481 MB / 404.7 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003272/0.1396, allocations: 1.035 MB / 405.7 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005328/0.1449, allocations: 2.131 MB / 407.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00738/0.1523, allocations: 5.428 MB / 413.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007224/0.1595, allocations: 3.444 MB / 416.7 MB, free: 9.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02313/0.1827, allocations: 17.72 MB / 434.5 MB, free: 7.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1827, allocations: 0 / 434.5 MB, free: 7.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1827, allocations: 0 / 434.5 MB, free: 7.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005018/0.1832, allocations: 8 kB / 434.5 MB, free: 7.41 MB / 398.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.03203/0.2152, allocations: 11.63 MB / 446.1 MB, free: 11.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.2153, allocations: 8.031 kB / 446.1 MB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05102/0.2663, allocations: 5.698 MB / 451.8 MB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02442/0.2907, allocations: 8.765 MB / 460.6 MB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006003/0.2913, allocations: 0.5257 MB / 461.1 MB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003116/0.2944, allocations: 0.7267 MB / 461.8 MB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3936/0.6881, allocations: 19.87 MB / 481.7 MB, free: 112.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004155/0.6885, allocations: 96.36 kB / 481.8 MB, free: 112.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001355/0.6898, allocations: 326.7 kB / 482.1 MB, free: 111.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004019/0.6939, allocations: 2.817 MB / 484.9 MB, free: 111.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0307/0.7246, allocations: 16.24 MB / 0.4894 GB, free: 104.2 MB / 430.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.09858/0.8231, allocations: 68.19 MB / 0.556 GB, free: 36.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02253/0.8457, allocations: 8.056 MB / 0.5639 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005937/0.8516, allocations: 4.496 MB / 0.5683 GB, free: 24.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02278/0.8744, allocations: 12.66 MB / 0.5806 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.946e-05/0.8745, allocations: 68.59 kB / 0.5807 GB, free: 11.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=320): time 7.765e-06/0.8745, allocations: 3.938 kB / 0.5807 GB, free: 11.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=426): time 0.2083/1.083, allocations: 54.31 MB / 0.6337 GB, free: 5.887 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002632/1.083, allocations: 402.8 kB / 0.6341 GB, free: 5.406 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2292/1.312, allocations: 7.826 MB / 0.6418 GB, free: 149.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001093/1.313, allocations: 92.89 kB / 0.6419 GB, free: 149.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004256/1.318, allocations: 5.763 MB / 0.6475 GB, free: 147.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002196/1.32, allocations: 1.599 MB / 0.649 GB, free: 145.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004176/1.324, allocations: 2.071 MB / 0.6511 GB, free: 144.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.255e-05/1.324, allocations: 301.1 kB / 0.6514 GB, free: 144.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008693/1.333, allocations: 5.208 MB / 0.6564 GB, free: 142.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/1.343, allocations: 10.49 MB / 0.6667 GB, free: 133.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0168/1.36, allocations: 16.29 MB / 0.6826 GB, free: 122.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000152/1.36, allocations: 54.41 kB / 0.6826 GB, free: 122.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=1331) (initialization): time 0.03975/1.399, allocations: 21.13 MB / 0.7033 GB, free: 110 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.764e-05/1.4, allocations: 76 kB / 0.7034 GB, free: 109.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001684/1.4, allocations: 172 kB / 0.7035 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0189/1.419, allocations: 6.654 MB / 0.71 GB, free: 103.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006636/1.425, allocations: 2.148 MB / 0.7121 GB, free: 101 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04138/1.467, allocations: 34.5 MB / 0.7458 GB, free: 66.37 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009271/1.476, allocations: 0.7256 MB / 0.7465 GB, free: 65.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001459/1.477, allocations: 0.5351 MB / 0.747 GB, free: 65.11 MB / 478.1 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.006241/1.484, allocations: 4.099 MB / 0.751 GB, free: 61 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001911/1.485, allocations: 0.683 MB / 0.7517 GB, free: 60.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0284/1.514, allocations: 14.17 MB / 0.7655 GB, free: 46.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.725e-05/1.514, allocations: 44 kB / 0.7656 GB, free: 46.05 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.996e-05/1.514, allocations: 24.28 kB / 0.7656 GB, free: 46.03 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.961e-05/1.514, allocations: 23.92 kB / 0.7656 GB, free: 46 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05378/1.568, allocations: 25.31 MB / 0.7903 GB, free: 20.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.315e-05/1.568, allocations: 14.31 kB / 0.7904 GB, free: 20.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003004/1.571, allocations: 0.5818 MB / 0.7909 GB, free: 20.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01985/1.591, allocations: 6.318 MB / 0.7971 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009729/1.592, allocations: 87.92 kB / 0.7972 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2431/1.835, allocations: 31.4 MB / 0.8278 GB, free: 146 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/1.835, allocations: 11.97 kB / 0.8279 GB, free: 146 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03871/1.874, allocations: 20.81 MB / 0.8482 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00234/1.876, allocations: 0.7427 MB / 0.8489 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002637/1.879, allocations: 85.41 kB / 0.849 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005899/1.884, allocations: 429.1 kB / 0.8494 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001713/1.886, allocations: 317.8 kB / 0.8497 GB, free: 138.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007874/1.887, allocations: 116.6 kB / 0.8498 GB, free: 138.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008181/1.895, allocations: 4.839 MB / 0.8545 GB, free: 136.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.895, allocations: 0 / 0.8545 GB, free: 136.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01194/1.907, allocations: 2.71 MB / 0.8572 GB, free: 136.3 MB / 494.1 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.001563/1.909, allocations: 301.9 kB / 0.8575 GB, free: 136.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01887/1.927, allocations: 12.08 MB / 0.8693 GB, free: 127.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/1.927, allocations: 4 kB / 0.8693 GB, free: 127.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007769/1.935, allocations: 4.883 MB / 0.874 GB, free: 123.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01017/1.945, allocations: 0.9843 MB / 0.875 GB, free: 122.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04448/1.99, allocations: 22.83 MB / 0.8973 GB, free: 99.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01118/2.001, allocations: 5.928 MB / 0.9031 GB, free: 94.03 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007765/2.009, allocations: 2.926 MB / 0.9059 GB, free: 91.26 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002258/2.011, allocations: 436.4 kB / 0.9064 GB, free: 90.83 MB / 494.1 MB Notification: Performance of SimCode: time 1.372e-06/2.011, allocations: 0 / 0.9064 GB, free: 90.83 MB / 494.1 MB Notification: Performance of Templates: time 0.3633/2.374, allocations: 107.8 MB / 1.012 GB, free: 140.7 MB / 494.1 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=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: 9.66483560204506]