Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001576/0.001576, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001675/0.001675, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.414/1.414, allocations: 230.4 MB / 258.1 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 79.8 kB / 378.8 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2177, allocations: 53.31 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02173/0.2395, allocations: 19.47 MB / 451.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01187/0.2513, allocations: 6.022 MB / 457.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002484/0.2538, allocations: 155.4 kB / 457.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.011/0.2648, allocations: 5.93 MB / 463.7 MB, free: 7.676 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007233/0.272, allocations: 3.403 MB / 467.1 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.2749, allocations: 1.576 MB / 468.6 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01537/0.2902, allocations: 12.67 MB / 481.3 MB, free: 5.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006539/0.2968, allocations: 5.44 MB / 486.7 MB, free: 472 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005558/0.3023, allocations: 3.583 MB / 490.3 MB, free: 12.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008141/0.3105, allocations: 5.122 MB / 495.5 MB, free: 7.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001575/0.312, allocations: 0.7148 MB / 496.2 MB, free: 7.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003206/0.3152, allocations: 1.701 MB / 497.9 MB, free: 5.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00441/0.3197, allocations: 4.309 MB / 0.4904 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005054/0.3247, allocations: 4.452 MB / 0.4948 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01495/0.3397, allocations: 13.65 MB / 0.5081 GB, free: 14.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3397, allocations: 0 / 0.5081 GB, free: 14.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3397, allocations: 0 / 0.5081 GB, free: 14.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002118/0.3399, allocations: 0 / 0.5081 GB, free: 14.81 MB / 430.1 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.01934/0.3592, allocations: 9.902 MB / 0.5178 GB, free: 4.809 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3593, allocations: 12.03 kB / 0.5178 GB, free: 4.797 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04675/0.406, allocations: 5.293 MB / 0.5229 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01921/0.4252, allocations: 7.925 MB / 0.5307 GB, free: 7.504 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003518/0.4256, allocations: 427.4 kB / 0.5311 GB, free: 7.086 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00111/0.4267, allocations: 0.601 MB / 0.5317 GB, free: 6.484 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2021/0.6288, allocations: 16.55 MB / 0.5478 GB, free: 89.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002007/0.629, allocations: 95.34 kB / 0.5479 GB, free: 89.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006033/0.6296, allocations: 266.3 kB / 0.5482 GB, free: 89.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003751/0.6334, allocations: 2.764 MB / 0.5509 GB, free: 89.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02014/0.6535, allocations: 13.63 MB / 0.5642 GB, free: 81.27 MB / 446.1 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.05941/0.7129, allocations: 67.85 MB / 0.6304 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01694/0.7299, allocations: 7.655 MB / 0.6379 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003763/0.7336, allocations: 4.229 MB / 0.6421 GB, free: 248 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02016/0.7538, allocations: 12.43 MB / 0.6542 GB, free: 3.594 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.847e-05/0.7538, allocations: 68.5 kB / 0.6543 GB, free: 3.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=280): time 4.969e-06/0.7538, allocations: 0 / 0.6543 GB, free: 3.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.1902/0.9441, allocations: 50.46 MB / 0.7035 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002392/0.9443, allocations: 402 kB / 0.7039 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01074/0.955, allocations: 7.131 MB / 0.7109 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006072/0.9556, allocations: 77.7 kB / 0.711 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004282/0.9599, allocations: 5.192 MB / 0.716 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001519/0.9614, allocations: 1.314 MB / 0.7173 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002849/0.9643, allocations: 1.869 MB / 0.7191 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.9644, allocations: 309.1 kB / 0.7194 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00696/0.9714, allocations: 4.539 MB / 0.7239 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01089/0.9823, allocations: 9.267 MB / 0.7329 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2037/1.186, allocations: 14.53 MB / 0.7471 GB, free: 180.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001637/1.186, allocations: 46.38 kB / 0.7471 GB, free: 180.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.03607/1.222, allocations: 19.72 MB / 0.7664 GB, free: 176 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.146e-05/1.222, allocations: 72.75 kB / 0.7665 GB, free: 176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001177/1.222, allocations: 168.6 kB / 0.7666 GB, free: 176 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01907/1.241, allocations: 7.052 MB / 0.7735 GB, free: 174.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005196/1.247, allocations: 1.924 MB / 0.7754 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03871/1.285, allocations: 35.34 MB / 0.8099 GB, free: 145.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006805/1.292, allocations: 0.5886 MB / 0.8105 GB, free: 144.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006135/1.293, allocations: 496 kB / 0.8109 GB, free: 144.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * 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 (1048): * Single equations (assignments): 1042 * 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.003903/1.297, allocations: 3.467 MB / 0.8143 GB, free: 140.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008803/1.298, allocations: 0.6669 MB / 0.815 GB, free: 140.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02416/1.322, allocations: 13.24 MB / 0.8279 GB, free: 127.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.612e-05/1.322, allocations: 19.94 kB / 0.8279 GB, free: 127.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/1.322, allocations: 4 kB / 0.8279 GB, free: 127.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/1.323, allocations: 0.7117 MB / 0.8286 GB, free: 126.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000884/1.324, allocations: 59.09 kB / 0.8287 GB, free: 126.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003153/1.327, allocations: 302.9 kB / 0.829 GB, free: 126.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005823/1.328, allocations: 297.6 kB / 0.8293 GB, free: 126 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02063/1.348, allocations: 12.23 MB / 0.8412 GB, free: 113.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01236/1.361, allocations: 12.55 MB / 0.8535 GB, free: 101.2 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003177/1.364, allocations: 3.32 MB / 0.8567 GB, free: 97.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005162/1.369, allocations: 4.555 MB / 0.8612 GB, free: 93.36 MB / 0.545 GB Notification: Performance of Backend: time 3.3e-07/1.369, allocations: 0 / 0.8612 GB, free: 93.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01414/1.383, allocations: 8.195 MB / 0.8692 GB, free: 85.19 MB / 0.545 GB Notification: Performance of SimCode: time 0.02111/1.404, allocations: 17.68 MB / 0.8864 GB, free: 67.46 MB / 0.545 GB Notification: Performance of Templates: time 0.3195/1.724, allocations: 104.9 MB / 0.9889 GB, free: 168.2 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.247474153991789] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia.phi', 'inertia.w'] 1.7315203100442886 1.740003231 1.398087526 Calling exit ...