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.001038/0.001038, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001044/0.001044, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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 0.9408/0.9408, allocations: 173.4 MB / 201.1 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 179] 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.924e-06/1.924e-06, allocations: 0 / 268 MB, free: 6.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.384e-05, allocations: 2.312 kB / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1367/0.1367, allocations: 22.81 MB / 290.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.148, allocations: 6.978 MB / 297.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002828/0.1509, allocations: 215.1 kB / 298 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008235/0.1591, allocations: 8.602 MB / 306.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005891/0.165, allocations: 3.834 MB / 310.5 MB, free: 8.672 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.1678, allocations: 2.306 MB / 312.8 MB, free: 7.195 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01029/0.1781, allocations: 15.19 MB / 328 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009745/0.1878, allocations: 9.791 MB / 337.7 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01197/0.1998, allocations: 9.544 MB / 347.3 MB, free: 9.941 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007076/0.2068, allocations: 6.696 MB / 354 MB, free: 3.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002089/0.2089, allocations: 1.039 MB / 355 MB, free: 2.191 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002827/0.2118, allocations: 2.154 MB / 357.2 MB, free: 32 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003391/0.2152, allocations: 5.503 MB / 362.7 MB, free: 10.51 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003497/0.2186, allocations: 3.491 MB / 366.2 MB, free: 7.012 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.2291, allocations: 10.74 MB / 376.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2291, allocations: 0 / 376.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2291, allocations: 4 kB / 376.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002567/0.2293, allocations: 0 / 376.9 MB, free: 12.23 MB / 330.7 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.01418/0.2435, allocations: 12.34 MB / 389.3 MB, free: 15.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2436, allocations: 12.03 kB / 389.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02844/0.272, allocations: 6.23 MB / 395.5 MB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/0.2842, allocations: 7.05 MB / 402.6 MB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003944/0.2846, allocations: 0.514 MB / 403.1 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/0.2859, allocations: 0.7267 MB / 403.8 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01915/0.3051, allocations: 12.05 MB / 415.8 MB, free: 3.586 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/0.3052, allocations: 87.36 kB / 415.9 MB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005676/0.3058, allocations: 327.7 kB / 416.3 MB, free: 3.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002285/0.3081, allocations: 2.778 MB / 419 MB, free: 404 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/0.3211, allocations: 6.349 MB / 425.4 MB, free: 10.02 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.2686/0.5898, allocations: 74.76 MB / 0.4884 GB, free: 39.32 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009527/0.5993, allocations: 4.588 MB / 0.4929 GB, free: 38.64 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/0.6009, allocations: 1.278 MB / 0.4941 GB, free: 38.39 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01136/0.6123, allocations: 10.15 MB / 0.5041 GB, free: 33.29 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.6123, allocations: 86.84 kB / 0.5041 GB, free: 33.22 MB / 378.8 MB Notification: Performance of pre-optimization done (n=299): time 4.107e-06/0.6123, allocations: 0 / 0.5041 GB, free: 33.22 MB / 378.8 MB Notification: Performance of matching and sorting (n=407): time 0.09043/0.7027, allocations: 50.62 MB / 0.5536 GB, free: 344 kB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/0.7029, allocations: 406.6 kB / 0.554 GB, free: 15.85 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006781/0.7097, allocations: 6.514 MB / 0.5603 GB, free: 9.555 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002943/0.71, allocations: 85.7 kB / 0.5604 GB, free: 9.465 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00321/0.7132, allocations: 6.086 MB / 0.5663 GB, free: 4.031 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001084/0.7143, allocations: 1.587 MB / 0.5679 GB, free: 2.465 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002058/0.7163, allocations: 2.127 MB / 0.57 GB, free: 336 kB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.7164, allocations: 484.7 kB / 0.5704 GB, free: 15.85 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002243/0.7187, allocations: 1.527 MB / 0.5719 GB, free: 14.32 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0058/0.7245, allocations: 9.123 MB / 0.5808 GB, free: 1.902 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1372/0.8617, allocations: 11.4 MB / 0.592 GB, free: 111.2 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001395/0.8618, allocations: 48.5 kB / 0.592 GB, free: 111.2 MB / 426.8 MB Notification: Performance of matching and sorting (n=1304) (initialization): time 0.01884/0.8807, allocations: 11.27 MB / 0.603 GB, free: 110.6 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.663e-05/0.8807, allocations: 81 kB / 0.6031 GB, free: 110.6 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001532/0.8809, allocations: 169.7 kB / 0.6033 GB, free: 110.6 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007185/0.8881, allocations: 3.067 MB / 0.6063 GB, free: 110.5 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004428/0.8925, allocations: 2.325 MB / 0.6085 GB, free: 110.3 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/0.9049, allocations: 8.823 MB / 0.6171 GB, free: 108.1 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006063/0.9109, allocations: 0.8065 MB / 0.6179 GB, free: 108.1 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006834/0.9116, allocations: 0.5246 MB / 0.6184 GB, free: 108.1 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 777 * 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 (1194): * Single equations (assignments): 1189 * 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 {(1,84,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002506/0.9141, allocations: 0.9221 MB / 0.6193 GB, free: 107.8 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/0.9153, allocations: 0.7967 MB / 0.6201 GB, free: 107.8 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/0.9272, allocations: 5.739 MB / 0.6257 GB, free: 105.8 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-05/0.9272, allocations: 42.36 kB / 0.6258 GB, free: 105.8 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/0.9272, allocations: 16 kB / 0.6258 GB, free: 105.8 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.827e-05/0.9272, allocations: 18.7 kB / 0.6258 GB, free: 105.8 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02668/0.9539, allocations: 16.33 MB / 0.6417 GB, free: 92.34 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.9539, allocations: 15.94 kB / 0.6418 GB, free: 92.32 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/0.9557, allocations: 0.7925 MB / 0.6425 GB, free: 91.53 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006229/0.9619, allocations: 2.721 MB / 0.6452 GB, free: 88.81 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003216/0.9622, allocations: 87.98 kB / 0.6453 GB, free: 88.72 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/0.9748, allocations: 7.944 MB / 0.653 GB, free: 80.8 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.9748, allocations: 19.94 kB / 0.653 GB, free: 80.79 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/0.9863, allocations: 7.77 MB / 0.6606 GB, free: 72.73 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/0.9879, allocations: 1.389 MB / 0.662 GB, free: 71.35 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005712/0.9885, allocations: 86.89 kB / 0.6621 GB, free: 71.27 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/0.9904, allocations: 444.5 kB / 0.6625 GB, free: 70.83 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004458/0.9908, allocations: 306.1 kB / 0.6628 GB, free: 70.53 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001941/0.991, allocations: 120 kB / 0.6629 GB, free: 70.41 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002927/0.994, allocations: 3.033 MB / 0.6659 GB, free: 67.41 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.61e-07/0.994, allocations: 0 / 0.6659 GB, free: 67.41 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.00591/0.9999, allocations: 2.597 MB / 0.6684 GB, free: 64.82 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (318): * Single equations (assignments): 314 * 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 {(1,73,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006082/1, allocations: 320.2 kB / 0.6687 GB, free: 64.53 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.007035/1.008, allocations: 5.932 MB / 0.6745 GB, free: 58.6 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.008, allocations: 4 kB / 0.6745 GB, free: 58.59 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00244/1.01, allocations: 2.181 MB / 0.6766 GB, free: 56.39 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/1.013, allocations: 1.039 MB / 0.6777 GB, free: 55.38 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/1.029, allocations: 17.08 MB / 0.6943 GB, free: 37.94 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/1.03, allocations: 2.724 MB / 0.697 GB, free: 35.19 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003262/1.034, allocations: 2.457 MB / 0.6994 GB, free: 32.72 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/1.035, allocations: 436.4 kB / 0.6998 GB, free: 32.3 MB / 426.8 MB Notification: Performance of SimCode: time 1.994e-06/1.035, allocations: 0 / 0.6998 GB, free: 32.3 MB / 426.8 MB Notification: Performance of Templates: time 0.243/1.278, allocations: 99.98 MB / 0.7974 GB, free: 98.71 MB / 442.8 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.567921476904303]