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.001463/0.001463, allocations: 81.27 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001419/0.001419, allocations: 147 kB / 23.93 MB, free: 4.168 MB / 14.72 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.399/1.399, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 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.563e-06/1.563e-06, allocations: 0 / 319 MB, free: 3.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.52e-05, allocations: 2.281 kB / 319 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02298/0.02301, allocations: 20.2 MB / 339.2 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01741/0.04042, allocations: 6.85 MB / 346 MB, free: 424 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0053/0.04572, allocations: 214.8 kB / 346.2 MB, free: 208 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0164/0.06212, allocations: 8.131 MB / 354.4 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.07282, allocations: 3.817 MB / 358.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005223/0.07804, allocations: 2.277 MB / 360.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02194/0.09998, allocations: 15.18 MB / 375.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01363/0.1136, allocations: 9.48 MB / 385.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01442/0.128, allocations: 6.632 MB / 391.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01119/0.1392, allocations: 6.489 MB / 398.2 MB, free: 12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003161/0.1424, allocations: 1.035 MB / 399.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005464/0.1478, allocations: 2.142 MB / 401.4 MB, free: 8.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007597/0.1554, allocations: 5.452 MB / 406.9 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007707/0.1631, allocations: 3.468 MB / 410.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02253/0.1857, allocations: 17.78 MB / 428.1 MB, free: 14.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1857, allocations: 4 kB / 428.1 MB, free: 14.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1857, allocations: 0 / 428.1 MB, free: 14.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004514/0.1861, allocations: 0 / 428.1 MB, free: 14.04 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: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.0318/0.2179, allocations: 11.65 MB / 439.8 MB, free: 2.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.218, allocations: 8.031 kB / 439.8 MB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05159/0.2696, allocations: 5.71 MB / 445.5 MB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02275/0.2923, allocations: 8.761 MB / 454.2 MB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005147/0.2928, allocations: 0.5179 MB / 454.8 MB, free: 3.164 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002823/0.2957, allocations: 0.7267 MB / 455.5 MB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.325/0.6207, allocations: 19.86 MB / 475.4 MB, free: 115.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003676/0.621, allocations: 97.64 kB / 475.4 MB, free: 115.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001269/0.6223, allocations: 320.7 kB / 475.8 MB, free: 115.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004401/0.6267, allocations: 2.824 MB / 478.6 MB, free: 115.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03256/0.6592, allocations: 16.26 MB / 494.8 MB, free: 109.7 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.08004/0.7393, allocations: 68.2 MB / 0.5498 GB, free: 46.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02123/0.7605, allocations: 8.06 MB / 0.5577 GB, free: 38.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005478/0.766, allocations: 4.508 MB / 0.5621 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02036/0.7863, allocations: 12.66 MB / 0.5745 GB, free: 21.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/0.7864, allocations: 76.61 kB / 0.5746 GB, free: 21.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=321): time 7.905e-06/0.7864, allocations: 0 / 0.5746 GB, free: 21.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=428): time 0.1948/0.9813, allocations: 56.77 MB / 0.63 GB, free: 13.55 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003612/0.9816, allocations: 406.8 kB / 0.6304 GB, free: 13.06 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0126/0.9942, allocations: 7.84 MB / 0.638 GB, free: 5.441 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001107/0.9953, allocations: 93.7 kB / 0.6381 GB, free: 5.344 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1857/1.181, allocations: 5.753 MB / 0.6437 GB, free: 153.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00256/1.184, allocations: 1.617 MB / 0.6453 GB, free: 153.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003743/1.187, allocations: 2.066 MB / 0.6473 GB, free: 153.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.388e-05/1.187, allocations: 304.2 kB / 0.6476 GB, free: 152.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007748/1.195, allocations: 5.215 MB / 0.6527 GB, free: 151.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01174/1.207, allocations: 10.49 MB / 0.663 GB, free: 142.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01768/1.225, allocations: 16.31 MB / 0.6789 GB, free: 130.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000261/1.225, allocations: 46.75 kB / 0.6789 GB, free: 130.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=1333) (initialization): time 0.04131/1.266, allocations: 21.13 MB / 0.6996 GB, free: 121.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003348/1.266, allocations: 80.94 kB / 0.6996 GB, free: 121.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003633/1.267, allocations: 172 kB / 0.6998 GB, free: 121.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02002/1.287, allocations: 6.657 MB / 0.7063 GB, free: 116.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007484/1.294, allocations: 2.156 MB / 0.7084 GB, free: 114.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04323/1.338, allocations: 34.49 MB / 0.7421 GB, free: 79.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009263/1.347, allocations: 0.7321 MB / 0.7428 GB, free: 79.13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001627/1.348, allocations: 0.5333 MB / 0.7433 GB, free: 78.6 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 (1176): * Single equations (assignments): 1171 * 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.006762/1.355, allocations: 4.097 MB / 0.7473 GB, free: 74.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001943/1.357, allocations: 0.683 MB / 0.748 GB, free: 73.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02663/1.384, allocations: 14.18 MB / 0.7619 GB, free: 59.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.418e-05/1.384, allocations: 44 kB / 0.7619 GB, free: 59.64 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-05/1.384, allocations: 24 kB / 0.7619 GB, free: 59.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.54e-05/1.384, allocations: 22.5 kB / 0.7619 GB, free: 59.59 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04439/1.428, allocations: 25.33 MB / 0.7867 GB, free: 34.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.121e-05/1.428, allocations: 10.67 kB / 0.7867 GB, free: 34.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002888/1.431, allocations: 0.585 MB / 0.7873 GB, free: 33.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01851/1.45, allocations: 6.333 MB / 0.7934 GB, free: 27.28 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000872/1.451, allocations: 79.94 kB / 0.7935 GB, free: 27.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2185/1.669, allocations: 31.38 MB / 0.8242 GB, free: 133.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/1.669, allocations: 13.47 kB / 0.8242 GB, free: 133.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0375/1.707, allocations: 20.86 MB / 0.8446 GB, free: 126 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004497/1.711, allocations: 1.567 MB / 0.8461 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00195/1.713, allocations: 86.42 kB / 0.8462 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004952/1.718, allocations: 432.6 kB / 0.8466 GB, free: 125.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001165/1.719, allocations: 317.3 kB / 0.8469 GB, free: 125.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000354/1.72, allocations: 115.2 kB / 0.847 GB, free: 125.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006777/1.726, allocations: 4.852 MB / 0.8517 GB, free: 123.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/1.726, allocations: 0 / 0.8517 GB, free: 123.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0107/1.737, allocations: 2.742 MB / 0.8544 GB, free: 123.5 MB / 478.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 (296): * Single equations (assignments): 292 * 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.001222/1.738, allocations: 315.3 kB / 0.8547 GB, free: 123.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01664/1.755, allocations: 12.09 MB / 0.8665 GB, free: 118.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/1.755, allocations: 7.875 kB / 0.8665 GB, free: 118.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006402/1.761, allocations: 4.872 MB / 0.8713 GB, free: 114.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00617/1.768, allocations: 0.9939 MB / 0.8723 GB, free: 113.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03364/1.801, allocations: 22.87 MB / 0.8946 GB, free: 92.81 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006327/1.808, allocations: 5.943 MB / 0.9004 GB, free: 86.86 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00608/1.814, allocations: 2.935 MB / 0.9033 GB, free: 84.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/1.815, allocations: 436.4 kB / 0.9037 GB, free: 83.67 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/1.815, allocations: 2.125 kB / 0.9037 GB, free: 83.67 MB / 478.1 MB Notification: Performance of Templates: time 0.3277/2.143, allocations: 108.2 MB / 1.009 GB, free: 144.2 MB / 494.1 MB " [Timeout remaining time 658] 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: 9.506414778530598]