Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.001404/0.001404, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.001468/0.001468, allocations: 149.4 kB / 24.26 MB, free: 184 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 1.465/1.465, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.418e-05/3.625e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02351/0.02355, allocations: 16.82 MB / 284.2 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0155/0.03904, allocations: 5.79 MB / 289.9 MB, free: 4 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.1503/0.1894, allocations: 187.3 kB / 290.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01113/0.2005, allocations: 6.089 MB / 296.2 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008566/0.2091, allocations: 3.563 MB / 299.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003666/0.2128, allocations: 1.82 MB / 301.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01553/0.2283, allocations: 14.28 MB / 315.9 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01051/0.2388, allocations: 7.71 MB / 323.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01503/0.2538, allocations: 5.541 MB / 329.1 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01167/0.2655, allocations: 5.666 MB / 334.8 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003107/0.2686, allocations: 0.7578 MB / 335.6 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005291/0.2739, allocations: 1.686 MB / 337.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007455/0.2814, allocations: 4.594 MB / 341.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007233/0.2886, allocations: 2.837 MB / 344.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02243/0.311, allocations: 14.2 MB / 358.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.311, allocations: 8 kB / 358.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.311, allocations: 0 / 358.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004162/0.3114, allocations: 0 / 358.9 MB, free: 12.62 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.03359/0.345, allocations: 10.2 MB / 369.1 MB, free: 2.477 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.3451, allocations: 8.922 kB / 369.1 MB, free: 2.469 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05036/0.3955, allocations: 6.245 MB / 375.3 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02073/0.4162, allocations: 7.774 MB / 383.1 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006135/0.4168, allocations: 427.4 kB / 383.5 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002155/0.419, allocations: 0.5929 MB / 384.1 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03682/0.4558, allocations: 17.12 MB / 401.2 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003415/0.4561, allocations: 99.3 kB / 401.3 MB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000974/0.4571, allocations: 275.8 kB / 401.6 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005358/0.4624, allocations: 2.783 MB / 404.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03185/0.4943, allocations: 13.91 MB / 418.3 MB, free: 464 kB / 362.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.3293/0.8236, allocations: 63.68 MB / 482 MB, free: 75.29 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01832/0.8419, allocations: 7.21 MB / 489.2 MB, free: 73.58 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004731/0.8466, allocations: 4.422 MB / 493.6 MB, free: 71.48 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0173/0.8639, allocations: 11.63 MB / 0.4934 GB, free: 62.2 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.864, allocations: 64.56 kB / 0.4935 GB, free: 62.13 MB / 378.8 MB Notification: Performance of pre-optimization done (n=286): time 6.201e-06/0.864, allocations: 0 / 0.4935 GB, free: 62.13 MB / 378.8 MB Notification: Performance of matching and sorting (n=346): time 0.413/1.277, allocations: 82.62 MB / 0.5741 GB, free: 128.1 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002285/1.277, allocations: 400.9 kB / 0.5745 GB, free: 127.7 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01259/1.29, allocations: 7.206 MB / 0.5816 GB, free: 126.3 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00116/1.291, allocations: 77.92 kB / 0.5816 GB, free: 126.2 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003254/1.294, allocations: 5.145 MB / 0.5867 GB, free: 123.5 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001886/1.296, allocations: 1.318 MB / 0.588 GB, free: 122.5 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003072/1.299, allocations: 1.857 MB / 0.5898 GB, free: 121.6 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 5.735e-05/1.299, allocations: 301.1 kB / 0.5901 GB, free: 121.3 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00617/1.305, allocations: 5.461 MB / 0.5954 GB, free: 119.3 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008386/1.314, allocations: 10.31 MB / 0.6054 GB, free: 111 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01657/1.33, allocations: 16.27 MB / 0.6213 GB, free: 96.59 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001488/1.331, allocations: 44 kB / 0.6214 GB, free: 96.54 MB / 394.8 MB Notification: Performance of matching and sorting (n=1173) (initialization): time 0.05083/1.381, allocations: 24.91 MB / 0.6457 GB, free: 71.58 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002586/1.382, allocations: 75.94 kB / 0.6458 GB, free: 71.51 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003142/1.382, allocations: 156 kB / 0.6459 GB, free: 71.36 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03416/1.416, allocations: 11.77 MB / 0.6574 GB, free: 59.57 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006167/1.422, allocations: 1.942 MB / 0.6593 GB, free: 57.63 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05332/1.476, allocations: 45.21 MB / 0.7035 GB, free: 12.12 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009521/1.485, allocations: 0.8386 MB / 0.7043 GB, free: 11.29 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/1.487, allocations: 495.8 kB / 0.7048 GB, free: 10.8 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 715 * Number of states: 0 () * Number of discrete variables: 66 (cylinder.boxColor[3],cylinder.boxColor[2],cylinder.boxColor[1],b2.cylinderColor[3],b2.cylinderColor[2],b2.cylinderColor[1],b1.cylinderColor[3],b1.cylinderColor[2],b1.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 (1025): * Single equations (assignments): 1019 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,100,55.1%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.005314/1.492, allocations: 3.468 MB / 0.7082 GB, free: 7.324 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001964/1.494, allocations: 0.7069 MB / 0.7088 GB, free: 6.613 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1961/1.69, allocations: 18.33 MB / 0.7267 GB, free: 115.4 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.674e-05/1.69, allocations: 35.78 kB / 0.7268 GB, free: 115.4 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.751e-05/1.69, allocations: 21.62 kB / 0.7268 GB, free: 115.4 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.065e-05/1.69, allocations: 14.95 kB / 0.7268 GB, free: 115.4 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05939/1.75, allocations: 31.62 MB / 0.7577 GB, free: 93.83 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-05/1.75, allocations: 4 kB / 0.7577 GB, free: 93.83 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002196/1.752, allocations: 478 kB / 0.7581 GB, free: 93.36 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03242/1.784, allocations: 11.35 MB / 0.7692 GB, free: 82.11 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009227/1.785, allocations: 63.94 kB / 0.7693 GB, free: 82.05 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05154/1.837, allocations: 43.79 MB / 0.8121 GB, free: 38.3 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.837, allocations: 13.94 kB / 0.8121 GB, free: 38.29 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04398/1.881, allocations: 25.29 MB / 0.8368 GB, free: 13.14 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002346/1.883, allocations: 0.6813 MB / 0.8374 GB, free: 12.77 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001626/1.885, allocations: 60 kB / 0.8375 GB, free: 12.71 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004571/1.889, allocations: 0.542 MB / 0.838 GB, free: 12.16 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00138/1.891, allocations: 270 kB / 0.8383 GB, free: 11.9 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003709/1.891, allocations: 99.92 kB / 0.8384 GB, free: 11.8 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.006642/1.898, allocations: 4.468 MB / 0.8427 GB, free: 7.344 MB / 394.8 MB Notification: Performance of sort global known variables: time 1e-07/1.898, allocations: 0 / 0.8427 GB, free: 7.344 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01067/1.908, allocations: 2.66 MB / 0.8453 GB, free: 4.691 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (210): * Single equations (assignments): 204 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,93,55.1%), (2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001071/1.909, allocations: 244.6 kB / 0.8456 GB, free: 4.457 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.1582/2.068, allocations: 13 MB / 0.8583 GB, free: 127.3 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/2.068, allocations: 1.438 kB / 0.8583 GB, free: 127.3 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01032/2.078, allocations: 5.712 MB / 0.8638 GB, free: 126.8 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006983/2.085, allocations: 0.9506 MB / 0.8648 GB, free: 126.8 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03152/2.116, allocations: 20.05 MB / 0.8844 GB, free: 118.4 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005958/2.122, allocations: 5.087 MB / 0.8893 GB, free: 117 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005575/2.128, allocations: 2.539 MB / 0.8918 GB, free: 116.5 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/2.129, allocations: 381.5 kB / 0.8922 GB, free: 116.1 MB / 410.8 MB Notification: Performance of SimCode: time 1.383e-06/2.129, allocations: 3.156 kB / 0.8922 GB, free: 116.1 MB / 410.8 MB Notification: Performance of Templates: time 0.2901/2.419, allocations: 113.7 MB / 1.003 GB, free: 121.8 MB / 410.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.63571568496991]