Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.001858/0.001858, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.001971/0.001971, allocations: 165.1 kB / 25.03 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.568e-05, allocations: 2.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02628/0.02631, allocations: 18.82 MB / 269.2 MB, free: 4.922 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.04189, allocations: 5.912 MB / 275.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004945/0.04684, allocations: 194.9 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.014/0.06084, allocations: 6.296 MB / 281.6 MB, free: 8.484 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.07166, allocations: 3.584 MB / 285.2 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004623/0.07628, allocations: 1.841 MB / 287 MB, free: 3.039 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.02049/0.09678, allocations: 13.27 MB / 300.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01311/0.1099, allocations: 7.759 MB / 308 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01341/0.1233, allocations: 5.606 MB / 313.6 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01111/0.1344, allocations: 5.788 MB / 319.4 MB, free: 2.488 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002495/0.1369, allocations: 0.7539 MB / 320.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004796/0.1417, allocations: 1.662 MB / 321.8 MB, free: 72 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006948/0.1486, allocations: 4.637 MB / 326.5 MB, free: 11.42 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006352/0.155, allocations: 2.828 MB / 329.3 MB, free: 8.586 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02201/0.177, allocations: 14.15 MB / 343.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.738e-05/0.177, allocations: 0 / 343.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.177, allocations: 0 / 343.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004685/0.1775, allocations: 0 / 343.5 MB, free: 10.39 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: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.2438/0.4213, allocations: 11.47 MB / 354.9 MB, free: 96.05 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.4214, allocations: 16.2 kB / 354.9 MB, free: 96.05 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0509/0.4723, allocations: 6.201 MB / 361.2 MB, free: 93.52 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01961/0.4919, allocations: 7.273 MB / 368.4 MB, free: 87.07 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003362/0.4922, allocations: 423.6 kB / 368.8 MB, free: 86.7 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002014/0.4942, allocations: 0.5829 MB / 369.4 MB, free: 86.17 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02233/0.5166, allocations: 10.98 MB / 380.4 MB, free: 73.87 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002803/0.5168, allocations: 88.62 kB / 380.5 MB, free: 73.78 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000754/0.5176, allocations: 271.3 kB / 380.8 MB, free: 73.57 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003675/0.5213, allocations: 2.766 MB / 383.5 MB, free: 70.81 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01832/0.5396, allocations: 5.729 MB / 389.2 MB, free: 65.09 MB / 330.8 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.08731/0.6269, allocations: 76.91 MB / 466.2 MB, free: 2.531 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01852/0.6454, allocations: 4.616 MB / 470.8 MB, free: 13.88 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003515/0.6489, allocations: 1.413 MB / 472.2 MB, free: 12.45 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01923/0.6682, allocations: 7.571 MB / 479.8 MB, free: 4.969 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.442e-05/0.6682, allocations: 71.39 kB / 479.8 MB, free: 4.891 MB / 362.8 MB Notification: Performance of pre-optimization done (n=280): time 5.691e-06/0.6682, allocations: 0 / 479.8 MB, free: 4.891 MB / 362.8 MB Notification: Performance of matching and sorting (n=340): time 0.3016/0.9698, allocations: 39.18 MB / 0.5068 GB, free: 120.3 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.9699, allocations: 397.4 kB / 0.5072 GB, free: 119.9 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0102/0.9801, allocations: 7.762 MB / 0.5148 GB, free: 118.3 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009179/0.981, allocations: 77.7 kB / 0.5149 GB, free: 118.3 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003695/0.9847, allocations: 5.835 MB / 0.5206 GB, free: 115 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001766/0.9865, allocations: 1.443 MB / 0.522 GB, free: 113.9 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002894/0.9894, allocations: 2.318 MB / 0.5242 GB, free: 112.2 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 6.561e-05/0.9894, allocations: 480.8 kB / 0.5247 GB, free: 111.8 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00293/0.9924, allocations: 1.622 MB / 0.5263 GB, free: 110.1 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005253/0.9976, allocations: 9.087 MB / 0.5352 GB, free: 97.86 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/1.009, allocations: 12.32 MB / 0.5472 GB, free: 82.52 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001735/1.009, allocations: 44 kB / 0.5472 GB, free: 82.48 MB / 378.8 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.03358/1.042, allocations: 12.54 MB / 0.5595 GB, free: 69.89 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000244/1.043, allocations: 79.98 kB / 0.5596 GB, free: 69.82 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002551/1.043, allocations: 163.9 kB / 0.5597 GB, free: 69.66 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02247/1.065, allocations: 5.195 MB / 0.5648 GB, free: 64.45 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006193/1.071, allocations: 1.926 MB / 0.5667 GB, free: 62.52 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0283/1.1, allocations: 15.11 MB / 0.5814 GB, free: 47.07 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008541/1.108, allocations: 0.7262 MB / 0.5821 GB, free: 46.35 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00141/1.11, allocations: 500 kB / 0.5826 GB, free: 45.86 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1049): * Single equations (assignments): 1043 * 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 {(8,93,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00382/1.114, allocations: 0.9923 MB / 0.5836 GB, free: 44.86 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002233/1.116, allocations: 0.7185 MB / 0.5843 GB, free: 44.14 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02367/1.139, allocations: 7.427 MB / 0.5915 GB, free: 36.63 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-05/1.139, allocations: 36 kB / 0.5916 GB, free: 36.6 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-05/1.14, allocations: 20 kB / 0.5916 GB, free: 36.58 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.56e-05/1.14, allocations: 15.94 kB / 0.5916 GB, free: 36.56 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04979/1.189, allocations: 18.91 MB / 0.6101 GB, free: 17.22 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.202e-05/1.189, allocations: 8.75 kB / 0.6101 GB, free: 17.21 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002011/1.191, allocations: 421.8 kB / 0.6105 GB, free: 16.8 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02229/1.214, allocations: 4.861 MB / 0.6152 GB, free: 11.94 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008273/1.215, allocations: 60 kB / 0.6153 GB, free: 11.88 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1884/1.403, allocations: 14.3 MB / 0.6293 GB, free: 100.9 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.403, allocations: 7.219 kB / 0.6293 GB, free: 100.9 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02695/1.43, allocations: 9.306 MB / 0.6384 GB, free: 99.7 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005132/1.435, allocations: 1.315 MB / 0.6396 GB, free: 99.7 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002042/1.437, allocations: 67.06 kB / 0.6397 GB, free: 99.7 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00505/1.442, allocations: 436.7 kB / 0.6401 GB, free: 99.7 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/1.443, allocations: 257 kB / 0.6404 GB, free: 99.69 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002868/1.443, allocations: 90.27 kB / 0.6404 GB, free: 99.69 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.005924/1.449, allocations: 3.453 MB / 0.6438 GB, free: 99.43 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.1e-07/1.449, allocations: 0 / 0.6438 GB, free: 99.43 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.01031/1.46, allocations: 2.446 MB / 0.6462 GB, free: 99.43 MB / 378.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 (215): * Single equations (assignments): 209 * 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,87,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009535/1.461, allocations: 234.7 kB / 0.6464 GB, free: 99.32 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.01437/1.475, allocations: 7.171 MB / 0.6534 GB, free: 97.8 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/1.475, allocations: 0 / 0.6534 GB, free: 97.8 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006723/1.482, allocations: 3.113 MB / 0.6565 GB, free: 95.59 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007026/1.489, allocations: 0.9591 MB / 0.6574 GB, free: 95.12 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02978/1.519, allocations: 15.86 MB / 0.6729 GB, free: 80.5 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006482/1.525, allocations: 4.656 MB / 0.6774 GB, free: 75.82 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.005452/1.531, allocations: 2.157 MB / 0.6796 GB, free: 73.72 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/1.532, allocations: 392.4 kB / 0.6799 GB, free: 73.34 MB / 378.8 MB Notification: Performance of SimCode: time 1.423e-06/1.532, allocations: 4 kB / 0.6799 GB, free: 73.33 MB / 378.8 MB Notification: Performance of Templates: time 0.3005/1.832, allocations: 97 MB / 0.7747 GB, free: 110.6 MB / 394.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.968121576006524]