Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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.001575/0.001575, allocations: 102.8 kB / 21.19 MB, free: 0.6367 MB / 14.72 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.001814/0.001814, allocations: 218.8 kB / 24.49 MB, free: 3.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 7.793 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+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.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 51.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2265, allocations: 53.37 MB / 432.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02391/0.2504, allocations: 20.1 MB / 452.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01478/0.2652, allocations: 6.826 MB / 459.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003289/0.2685, allocations: 218.8 kB / 459.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01455/0.283, allocations: 7.676 MB / 467.2 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009107/0.2921, allocations: 3.692 MB / 470.9 MB, free: 80 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004421/0.2966, allocations: 2.013 MB / 472.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0183/0.3149, allocations: 13.59 MB / 486.5 MB, free: 456 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009847/0.3247, allocations: 7.945 MB / 494.4 MB, free: 8.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006904/0.3316, allocations: 4.344 MB / 498.8 MB, free: 4.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00967/0.3413, allocations: 6.108 MB / 0.493 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003055/0.3443, allocations: 1.004 MB / 0.494 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005311/0.3496, allocations: 2.06 MB / 0.496 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006771/0.3564, allocations: 5.163 MB / 0.5011 GB, free: 5.684 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007003/0.3634, allocations: 4.143 MB / 0.5051 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01982/0.3832, allocations: 17.35 MB / 0.5221 GB, free: 112 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3832, allocations: 3.938 kB / 0.5221 GB, free: 108 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3832, allocations: 4 kB / 0.5221 GB, free: 104 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003939/0.3836, allocations: 0 / 0.5221 GB, free: 104 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2752 * Number of variables: 2752 Notification: Performance of Generate backend data structure: time 0.02598/0.4096, allocations: 11.38 MB / 0.5332 GB, free: 4.629 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.4097, allocations: 12.03 kB / 0.5332 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3854/0.795, allocations: 5.465 MB / 0.5385 GB, free: 94.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02089/0.8159, allocations: 8.832 MB / 0.5472 GB, free: 91.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000323/0.8162, allocations: 0.5185 MB / 0.5477 GB, free: 91.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002172/0.8184, allocations: 0.726 MB / 0.5484 GB, free: 91.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0295/0.8479, allocations: 19.84 MB / 0.5678 GB, free: 72.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002774/0.8482, allocations: 99.28 kB / 0.5679 GB, free: 72.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008629/0.849, allocations: 324.2 kB / 0.5682 GB, free: 71.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003212/0.8523, allocations: 2.816 MB / 0.5709 GB, free: 69.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0276/0.8799, allocations: 16.23 MB / 0.5868 GB, free: 52.83 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.08359/0.9634, allocations: 66.85 MB / 0.652 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0239/0.9873, allocations: 7.748 MB / 0.6596 GB, free: 9.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00682/0.9942, allocations: 4.496 MB / 0.664 GB, free: 4.641 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02532/1.019, allocations: 12.23 MB / 0.6759 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.357e-05/1.02, allocations: 72.59 kB / 0.676 GB, free: 8.414 MB / 494.1 MB Notification: Performance of pre-optimization done (n=320): time 6.683e-06/1.02, allocations: 4 kB / 0.676 GB, free: 8.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=426): time 0.1924/1.212, allocations: 52.43 MB / 0.7272 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002355/1.212, allocations: 410.7 kB / 0.7276 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01128/1.223, allocations: 7.308 MB / 0.7347 GB, free: 12.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001396/1.225, allocations: 89.7 kB / 0.7348 GB, free: 12.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005717/1.231, allocations: 5.802 MB / 0.7405 GB, free: 6.449 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002351/1.233, allocations: 1.624 MB / 0.7421 GB, free: 4.812 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003756/1.237, allocations: 2.092 MB / 0.7441 GB, free: 2.711 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.237, allocations: 305.1 kB / 0.7444 GB, free: 2.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2419/1.479, allocations: 5.208 MB / 0.7495 GB, free: 185 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009486/1.488, allocations: 10.49 MB / 0.7597 GB, free: 176.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01651/1.505, allocations: 16.29 MB / 0.7757 GB, free: 165 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001377/1.505, allocations: 49.28 kB / 0.7757 GB, free: 165 MB / 0.545 GB Notification: Performance of matching and sorting (n=1331) (initialization): time 0.03835/1.543, allocations: 21.13 MB / 0.7963 GB, free: 152.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.34e-05/1.543, allocations: 83.84 kB / 0.7964 GB, free: 152.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001427/1.543, allocations: 168 kB / 0.7966 GB, free: 152.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01922/1.563, allocations: 6.651 MB / 0.8031 GB, free: 146.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006524/1.569, allocations: 2.148 MB / 0.8052 GB, free: 144.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0404/1.61, allocations: 34.45 MB / 0.8388 GB, free: 110.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00752/1.617, allocations: 0.623 MB / 0.8394 GB, free: 109.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/1.618, allocations: 0.5273 MB / 0.8399 GB, free: 109.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 778 * Number of states: 0 () * Number of discrete variables: 73 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.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 (1174): * Single equations (assignments): 1169 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,129,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005054/1.623, allocations: 4.095 MB / 0.8439 GB, free: 105.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/1.625, allocations: 0.6803 MB / 0.8446 GB, free: 105 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02547/1.65, allocations: 14.17 MB / 0.8584 GB, free: 90.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.847e-05/1.65, allocations: 15.94 kB / 0.8585 GB, free: 90.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/1.65, allocations: 8.734 kB / 0.8585 GB, free: 90.74 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/1.652, allocations: 0.6371 MB / 0.8591 GB, free: 90.49 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/1.653, allocations: 72 kB / 0.8592 GB, free: 90.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003453/1.656, allocations: 317 kB / 0.8595 GB, free: 90.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008456/1.657, allocations: 390 kB / 0.8598 GB, free: 89.73 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02476/1.682, allocations: 13.78 MB / 0.8733 GB, free: 76.08 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01562/1.698, allocations: 14.93 MB / 0.8879 GB, free: 61.16 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004025/1.702, allocations: 3.97 MB / 0.8917 GB, free: 57.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00514/1.707, allocations: 4.446 MB / 0.8961 GB, free: 52.76 MB / 0.545 GB Notification: Performance of Backend: time 4.3e-07/1.707, allocations: 0 / 0.8961 GB, free: 52.76 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01375/1.721, allocations: 8.656 MB / 0.9045 GB, free: 44.18 MB / 0.545 GB Notification: Performance of SimCode: time 0.02651/1.747, allocations: 19.92 MB / 0.924 GB, free: 24.2 MB / 0.545 GB Notification: Performance of Templates: time 0.3473/2.094, allocations: 130.4 MB / 1.051 GB, free: 110.8 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.982961752997653] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia.phi', 'inertia.w'] 2.1025992400027462 2.111327965 1.7257197370000001 Calling exit ...