Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.001604/0.001604, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.001939/0.001939, allocations: 214.8 kB / 24.49 MB, free: 3.934 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.433/1.433, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2243, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01658/0.2409, allocations: 13.75 MB / 446.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.2515, allocations: 4.941 MB / 451 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/0.2535, allocations: 143.2 kB / 451.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008089/0.2616, allocations: 4.31 MB / 455.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006018/0.2676, allocations: 2.587 MB / 458.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.2698, allocations: 1.154 MB / 459.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01003/0.2799, allocations: 8.116 MB / 467.3 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004915/0.2848, allocations: 4.279 MB / 471.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003361/0.2881, allocations: 2.512 MB / 474.1 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004597/0.2927, allocations: 3.614 MB / 477.7 MB, free: 9.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009543/0.2937, allocations: 0.5039 MB / 478.2 MB, free: 8.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002531/0.2962, allocations: 1.409 MB / 479.7 MB, free: 7.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002816/0.299, allocations: 3.035 MB / 482.7 MB, free: 4.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002801/0.3018, allocations: 2.505 MB / 485.2 MB, free: 1.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.3133, allocations: 10.39 MB / 495.6 MB, free: 7.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3133, allocations: 3.938 kB / 495.6 MB, free: 7.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3134, allocations: 3.938 kB / 495.6 MB, free: 7.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002575/0.3136, allocations: 0 / 495.6 MB, free: 7.18 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.01765/0.3313, allocations: 7.75 MB / 0.4915 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.3313, allocations: 8.031 kB / 0.4916 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01522/0.3465, allocations: 3.339 MB / 0.4948 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/0.3586, allocations: 4.696 MB / 0.4994 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003202/0.3589, allocations: 341 kB / 0.4997 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001481/0.3604, allocations: 467.6 kB / 0.5002 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02741/0.3878, allocations: 14.64 MB / 0.5145 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002227/0.388, allocations: 79.41 kB / 0.5145 GB, free: 6.758 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006571/0.3887, allocations: 207.8 kB / 0.5147 GB, free: 6.555 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005836/0.3945, allocations: 2.84 MB / 0.5175 GB, free: 3.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02687/0.4214, allocations: 13.15 MB / 0.5304 GB, free: 6.535 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2478/0.6692, allocations: 53.9 MB / 0.583 GB, free: 57.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01563/0.6848, allocations: 6.927 MB / 0.5898 GB, free: 50.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004751/0.6896, allocations: 4.59 MB / 0.5942 GB, free: 46.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01913/0.7087, allocations: 11.46 MB / 0.6054 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.7087, allocations: 65.52 kB / 0.6055 GB, free: 34.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=326): time 7.575e-06/0.7087, allocations: 0 / 0.6055 GB, free: 34.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=572): time 2.022/2.73, allocations: 411.5 MB / 1.007 GB, free: 155.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/2.73, allocations: 265.7 kB / 1.008 GB, free: 155 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004808/2.735, allocations: 4.975 MB / 1.012 GB, free: 150.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001298/2.736, allocations: 109.7 kB / 1.013 GB, free: 150.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001417/2.738, allocations: 4.117 MB / 1.017 GB, free: 147.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00181/2.74, allocations: 2.105 MB / 1.019 GB, free: 145 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00374/2.743, allocations: 2.183 MB / 1.021 GB, free: 142.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.362e-05/2.743, allocations: 301.1 kB / 1.021 GB, free: 142.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01086/2.754, allocations: 11.06 MB / 1.032 GB, free: 131.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01232/2.767, allocations: 15.31 MB / 1.047 GB, free: 114.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02592/2.793, allocations: 27.45 MB / 1.074 GB, free: 84.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-05/2.793, allocations: 40.75 kB / 1.074 GB, free: 84.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.5047/3.297, allocations: 140.8 MB / 1.211 GB, free: 142.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.074e-05/3.297, allocations: 64.94 kB / 1.211 GB, free: 142.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/3.298, allocations: 136 kB / 1.211 GB, free: 142.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07721/3.375, allocations: 34.69 MB / 1.245 GB, free: 107.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004659/3.379, allocations: 1.571 MB / 1.247 GB, free: 106.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4366/3.816, allocations: 200.9 MB / 1.443 GB, free: 108.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01199/3.828, allocations: 1.727 MB / 1.445 GB, free: 107.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001377/3.829, allocations: 0.5359 MB / 1.445 GB, free: 107.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 54 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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 (840): * Single equations (assignments): 833 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,164,40.5%), (16,102,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,76)} Notification: Performance of prepare postOptimizeDAE: time 0.004597/3.834, allocations: 3.096 MB / 1.448 GB, free: 104.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001513/3.836, allocations: 0.5465 MB / 1.449 GB, free: 104.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4947/4.33, allocations: 136.3 MB / 1.582 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001077/4.33, allocations: 30.25 kB / 1.582 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/4.33, allocations: 3.938 kB / 1.582 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/4.332, allocations: 0.4995 MB / 1.582 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002012/4.334, allocations: 91.56 kB / 1.582 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008023/4.342, allocations: 1.488 MB / 1.584 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003695/4.345, allocations: 0.8507 MB / 1.585 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07247/4.418, allocations: 42.68 MB / 1.626 GB, free: 133.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0325/4.45, allocations: 31.31 MB / 1.657 GB, free: 102 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01039/4.461, allocations: 11.1 MB / 1.668 GB, free: 90.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004314/4.465, allocations: 2.957 MB / 1.671 GB, free: 87.92 MB / 0.545 GB Notification: Performance of Backend: time 3.41e-07/4.465, allocations: 0 / 1.671 GB, free: 87.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.04241/4.507, allocations: 22.94 MB / 1.693 GB, free: 64.98 MB / 0.545 GB Notification: Performance of SimCode: time 0.02121/4.529, allocations: 19.13 MB / 1.712 GB, free: 45.83 MB / 0.545 GB Notification: Performance of Templates: time 0.6304/5.159, allocations: 255.7 MB / 1.962 GB, free: 182.7 MB / 0.5606 GB " [Timeout remaining time 655] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 480] Could not SIGINT process: 452158. Could not SIGINT process: 452159. Could not SIGINT process: 452162. Could not SIGINT process: 451563. [Calling os._exit(0), Time elapsed: 493.1375409809989] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 5.167616411999916 5.177538052 4.861873105 Calling exit ...