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.0009132/0.0009132, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.0009889/0.0009889, allocations: 166.2 kB / 25.69 MB, free: 8.457 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 0.8859/0.8859, allocations: 158.6 MB / 187.6 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] 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 1.593e-06/1.593e-06, allocations: 0 / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.522e-05, allocations: 2.312 kB / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01335/0.01336, allocations: 18.37 MB / 269.9 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.02602, allocations: 6.143 MB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002906/0.02892, allocations: 194.9 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006051/0.03498, allocations: 6.198 MB / 282.5 MB, free: 8.207 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005711/0.04069, allocations: 3.619 MB / 286.1 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.04292, allocations: 1.841 MB / 287.9 MB, free: 2.727 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01066/0.05358, allocations: 13.22 MB / 301.2 MB, free: 5.484 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006394/0.05997, allocations: 7.254 MB / 308.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006884/0.06686, allocations: 7.092 MB / 315.5 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006038/0.0729, allocations: 5.515 MB / 321 MB, free: 1.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001265/0.07416, allocations: 0.7539 MB / 321.8 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002289/0.07645, allocations: 1.709 MB / 323.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00332/0.07977, allocations: 4.649 MB / 328.1 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002629/0.0824, allocations: 2.84 MB / 331 MB, free: 7.508 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006765/0.08916, allocations: 9.052 MB / 340 MB, free: 14.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.08917, allocations: 4 kB / 340 MB, free: 14.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.08917, allocations: 0 / 340 MB, free: 14.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001413/0.08931, allocations: 4 kB / 340 MB, free: 14.42 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.01084/0.1001, allocations: 9.047 MB / 349.1 MB, free: 5.289 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.1002, allocations: 15.98 kB / 349.1 MB, free: 5.273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006932/0.1071, allocations: 2.221 MB / 351.3 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2063/0.3135, allocations: 5.12 MB / 356.4 MB, free: 94.84 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.3136, allocations: 428.9 kB / 356.8 MB, free: 94.82 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005842/0.3142, allocations: 0.5834 MB / 357.4 MB, free: 94.82 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007735/0.3219, allocations: 8.37 MB / 365.8 MB, free: 91.58 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001495/0.3221, allocations: 93.84 kB / 365.9 MB, free: 91.58 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003782/0.3225, allocations: 268.4 kB / 366.2 MB, free: 91.43 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002055/0.3245, allocations: 2.515 MB / 368.7 MB, free: 89.76 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007839/0.3324, allocations: 4.058 MB / 372.7 MB, free: 85.82 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.03962/0.372, allocations: 50.85 MB / 423.6 MB, free: 34.78 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007108/0.3791, allocations: 3.075 MB / 426.7 MB, free: 31.72 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008315/0.3799, allocations: 0.7215 MB / 427.4 MB, free: 30.99 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008266/0.3882, allocations: 6.669 MB / 434 MB, free: 24.44 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.3882, allocations: 64.5 kB / 434.1 MB, free: 24.37 MB / 330.8 MB Notification: Performance of pre-optimization done (n=248): time 3.727e-06/0.3882, allocations: 0 / 434.1 MB, free: 24.37 MB / 330.8 MB Notification: Performance of matching and sorting (n=298): time 0.04285/0.4311, allocations: 15.08 MB / 449.2 MB, free: 9.938 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.4311, allocations: 393.8 kB / 449.6 MB, free: 9.469 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004801/0.4359, allocations: 5.628 MB / 455.2 MB, free: 3.859 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.4361, allocations: 65.7 kB / 455.3 MB, free: 3.789 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001826/0.4379, allocations: 4.65 MB / 459.9 MB, free: 15.12 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009152/0.4388, allocations: 1.17 MB / 461.1 MB, free: 13.94 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001986/0.4408, allocations: 1.72 MB / 462.8 MB, free: 12.2 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 8.255e-05/0.4409, allocations: 309.1 kB / 463.1 MB, free: 11.9 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002367/0.4433, allocations: 1.136 MB / 464.2 MB, free: 10.75 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005069/0.4483, allocations: 6.226 MB / 470.5 MB, free: 2 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/0.4614, allocations: 7.969 MB / 478.4 MB, free: 7.531 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.341e-05/0.4615, allocations: 52 kB / 478.5 MB, free: 7.48 MB / 362.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.009155/0.4706, allocations: 6.525 MB / 485 MB, free: 0.8594 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.693e-05/0.4707, allocations: 83.94 kB / 485.1 MB, free: 0.7773 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/0.4708, allocations: 176 kB / 485.3 MB, free: 0.6055 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002672/0.4735, allocations: 1.249 MB / 486.5 MB, free: 15.34 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003428/0.4769, allocations: 2.106 MB / 488.6 MB, free: 13.23 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005799/0.4827, allocations: 5.457 MB / 494.1 MB, free: 7.57 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004292/0.487, allocations: 375.7 kB / 494.4 MB, free: 7.203 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004141/0.4874, allocations: 448 kB / 494.9 MB, free: 6.766 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * 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 (1106): * Single equations (assignments): 1099 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,42,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002196/0.4896, allocations: 0.8359 MB / 495.7 MB, free: 5.918 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007575/0.4904, allocations: 423.5 kB / 496.1 MB, free: 5.504 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/0.4935, allocations: 2.193 MB / 498.3 MB, free: 3.273 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.4936, allocations: 32 kB / 498.4 MB, free: 3.242 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.4936, allocations: 8 kB / 498.4 MB, free: 3.234 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.4936, allocations: 19.67 kB / 498.4 MB, free: 3.219 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1448/0.6383, allocations: 9.119 MB / 0.4956 GB, free: 116.9 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/0.6384, allocations: 19.22 kB / 0.4956 GB, free: 116.9 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.6396, allocations: 0.7599 MB / 0.4964 GB, free: 116.8 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002211/0.6418, allocations: 1.019 MB / 0.4974 GB, free: 116.8 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/0.642, allocations: 70.06 kB / 0.4974 GB, free: 116.8 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004182/0.6462, allocations: 4.556 MB / 0.5019 GB, free: 114.4 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.809e-06/0.6462, allocations: 29.97 kB / 0.5019 GB, free: 114.4 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005287/0.6515, allocations: 3.899 MB / 0.5057 GB, free: 112.5 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/0.653, allocations: 0.8829 MB / 0.5066 GB, free: 112.5 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006432/0.6536, allocations: 77.94 kB / 0.5067 GB, free: 112.5 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/0.6553, allocations: 80.73 kB / 0.5067 GB, free: 112.5 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003861/0.6557, allocations: 266.4 kB / 0.507 GB, free: 112.5 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/0.6558, allocations: 84.31 kB / 0.5071 GB, free: 112.5 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002271/0.6581, allocations: 2.312 MB / 0.5093 GB, free: 112.3 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6581, allocations: 0 / 0.5093 GB, free: 112.3 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005999/0.6641, allocations: 2.058 MB / 0.5113 GB, free: 112.3 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 88 * 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 (245): * Single equations (assignments): 238 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,37,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004123/0.6645, allocations: 247.3 kB / 0.5116 GB, free: 112.2 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004891/0.6694, allocations: 4.167 MB / 0.5156 GB, free: 111.2 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002149/0.6696, allocations: 132.2 kB / 0.5158 GB, free: 111.1 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.6713, allocations: 1.38 MB / 0.5171 GB, free: 110 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003959/0.6753, allocations: 1.313 MB / 0.5184 GB, free: 109.4 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/0.6917, allocations: 14.13 MB / 0.5322 GB, free: 96.46 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002217/0.6939, allocations: 2.297 MB / 0.5344 GB, free: 94.77 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002262/0.6961, allocations: 0.8323 MB / 0.5353 GB, free: 93.96 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001868/0.698, allocations: 1.007 MB / 0.5362 GB, free: 92.95 MB / 378.8 MB Notification: Performance of SimCode: time 1.223e-06/0.698, allocations: 0 / 0.5362 GB, free: 92.95 MB / 378.8 MB Notification: Performance of Templates: time 0.09582/0.7938, allocations: 71 MB / 0.6056 GB, free: 21.92 MB / 378.8 MB " [Timeout remaining time 659] 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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.724805537145585]