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.001473/0.001473, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001847/0.001847, allocations: 174.9 kB / 25.61 MB, free: 8.91 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.8722/0.8722, allocations: 158.6 MB / 187.5 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.904e-06/1.904e-06, allocations: 0 / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.467e-05, allocations: 2.312 kB / 251.5 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01355/0.01358, allocations: 18.3 MB / 269.8 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.02493, allocations: 5.889 MB / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0033/0.02823, allocations: 190.9 kB / 275.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01034/0.03857, allocations: 6.21 MB / 282.1 MB, free: 8.527 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007752/0.04632, allocations: 3.6 MB / 285.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003236/0.04956, allocations: 1.829 MB / 287.5 MB, free: 3.078 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01465/0.06421, allocations: 13.28 MB / 300.8 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009721/0.07393, allocations: 7.763 MB / 308.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01156/0.0855, allocations: 7.385 MB / 315.9 MB, free: 6.523 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006619/0.09211, allocations: 5.749 MB / 321.7 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00217/0.09428, allocations: 0.7539 MB / 322.4 MB, free: 8 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004385/0.09867, allocations: 1.674 MB / 324.1 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005647/0.1043, allocations: 4.649 MB / 328.7 MB, free: 9.668 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005437/0.1098, allocations: 2.836 MB / 331.6 MB, free: 6.824 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.1206, allocations: 9.052 MB / 340.6 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1206, allocations: 0 / 340.6 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1206, allocations: 0 / 340.6 MB, free: 13.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003518/0.121, allocations: 0 / 340.6 MB, free: 13.74 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.01378/0.1348, allocations: 9.971 MB / 350.6 MB, free: 3.676 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1348, allocations: 15.98 kB / 350.6 MB, free: 3.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2228/0.3576, allocations: 5.022 MB / 355.6 MB, free: 95.89 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007103/0.3647, allocations: 5.442 MB / 361.1 MB, free: 95.52 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.3649, allocations: 424.5 kB / 361.5 MB, free: 95.51 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008864/0.3658, allocations: 0.5832 MB / 362.1 MB, free: 95.49 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/0.3775, allocations: 9.29 MB / 371.4 MB, free: 87.23 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003212/0.3778, allocations: 88.69 kB / 371.5 MB, free: 87.15 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004963/0.3783, allocations: 272.9 kB / 371.7 MB, free: 86.94 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001741/0.38, allocations: 2.509 MB / 374.2 MB, free: 84.43 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008965/0.389, allocations: 4.055 MB / 378.3 MB, free: 80.43 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.0418/0.4308, allocations: 69.55 MB / 447.8 MB, free: 9.961 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007029/0.4378, allocations: 3.206 MB / 451 MB, free: 6.703 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.4389, allocations: 0.9103 MB / 451.9 MB, free: 5.781 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009559/0.4484, allocations: 6.99 MB / 458.9 MB, free: 14.92 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.4485, allocations: 70.58 kB / 459 MB, free: 14.84 MB / 346.8 MB Notification: Performance of pre-optimization done (n=248): time 4.499e-06/0.4485, allocations: 0 / 459 MB, free: 14.84 MB / 346.8 MB Notification: Performance of matching and sorting (n=298): time 0.0509/0.4994, allocations: 17.58 MB / 476.6 MB, free: 13.74 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/0.4996, allocations: 397.8 kB / 477 MB, free: 13.27 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007577/0.5071, allocations: 6.204 MB / 483.2 MB, free: 7.078 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004069/0.5075, allocations: 73.7 kB / 483.2 MB, free: 7 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003823/0.5114, allocations: 5.64 MB / 488.9 MB, free: 1.316 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001469/0.5128, allocations: 1.209 MB / 490.1 MB, free: 100 kB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1362/0.6491, allocations: 1.972 MB / 492.1 MB, free: 110.6 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 5.093e-05/0.6491, allocations: 483.3 kB / 492.5 MB, free: 110.2 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.6507, allocations: 0.9219 MB / 493.5 MB, free: 110.1 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003354/0.654, allocations: 8.618 MB / 0.4903 GB, free: 100.4 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005456/0.6595, allocations: 10.11 MB / 0.5002 GB, free: 90.57 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001284/0.6596, allocations: 51.09 kB / 0.5002 GB, free: 90.57 MB / 362.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.01002/0.6696, allocations: 7.635 MB / 0.5077 GB, free: 89.09 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.546e-05/0.6697, allocations: 82.22 kB / 0.5078 GB, free: 89.09 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001379/0.6698, allocations: 178.7 kB / 0.5079 GB, free: 89.09 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002786/0.6726, allocations: 1.257 MB / 0.5092 GB, free: 88.99 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003354/0.676, allocations: 1.987 MB / 0.5111 GB, free: 87.99 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005468/0.6814, allocations: 6.709 MB / 0.5177 GB, free: 82.66 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00533/0.6868, allocations: 381.8 kB / 0.518 GB, free: 82.45 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007983/0.6876, allocations: 440 kB / 0.5184 GB, free: 82.1 MB / 362.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.00221/0.6898, allocations: 0.8897 MB / 0.5193 GB, free: 81.55 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/0.691, allocations: 0.7045 MB / 0.52 GB, free: 81.18 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/0.6943, allocations: 2.484 MB / 0.5224 GB, free: 79.23 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/0.6943, allocations: 28 kB / 0.5225 GB, free: 79.2 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.6943, allocations: 12 kB / 0.5225 GB, free: 79.19 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/0.6944, allocations: 13.12 kB / 0.5225 GB, free: 79.19 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/0.7087, allocations: 10.59 MB / 0.5328 GB, free: 70.48 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/0.7088, allocations: 20 kB / 0.5328 GB, free: 70.46 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009878/0.7097, allocations: 438 kB / 0.5333 GB, free: 70.09 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002502/0.7122, allocations: 1.024 MB / 0.5343 GB, free: 69.2 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002236/0.7125, allocations: 75.98 kB / 0.5343 GB, free: 69.13 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004503/0.717, allocations: 5.797 MB / 0.54 GB, free: 63.1 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/0.717, allocations: 30.53 kB / 0.54 GB, free: 63.07 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005614/0.7226, allocations: 4.561 MB / 0.5445 GB, free: 58 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002155/0.7248, allocations: 0.9288 MB / 0.5454 GB, free: 57.07 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/0.7258, allocations: 79.97 kB / 0.5455 GB, free: 56.99 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/0.7275, allocations: 83.73 kB / 0.5455 GB, free: 56.91 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003413/0.7279, allocations: 261.1 kB / 0.5458 GB, free: 56.66 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.728, allocations: 83.98 kB / 0.5459 GB, free: 56.58 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.003114/0.7311, allocations: 2.711 MB / 0.5485 GB, free: 53.88 MB / 362.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7311, allocations: 3.609 kB / 0.5485 GB, free: 53.88 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.007093/0.7382, allocations: 2.063 MB / 0.5505 GB, free: 51.83 MB / 362.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.0005778/0.7388, allocations: 264.9 kB / 0.5508 GB, free: 51.58 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.006196/0.745, allocations: 4.591 MB / 0.5553 GB, free: 46.96 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/0.745, allocations: 4 kB / 0.5553 GB, free: 46.95 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.7467, allocations: 1.613 MB / 0.5568 GB, free: 45.29 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004481/0.7512, allocations: 0.974 MB / 0.5578 GB, free: 44.33 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/0.7689, allocations: 14.37 MB / 0.5718 GB, free: 29.5 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0023/0.7712, allocations: 2.305 MB / 0.5741 GB, free: 27.17 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.002539/0.7737, allocations: 0.8436 MB / 0.5749 GB, free: 26.32 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/0.7753, allocations: 1.092 MB / 0.576 GB, free: 25.23 MB / 362.8 MB Notification: Performance of SimCode: time 2.023e-06/0.7753, allocations: 0 / 0.576 GB, free: 25.23 MB / 362.8 MB Notification: Performance of Templates: time 0.2161/0.9914, allocations: 71.13 MB / 0.6454 GB, free: 96.88 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 -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.981904267799109]