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.Fourbar1.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.001301/0.001301, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001343/0.001343, allocations: 212.1 kB / 24.48 MB, free: 4.191 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.412/1.412, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") [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.001979/0.001979, allocations: 71.83 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2204, allocations: 53.3 MB / 432 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01779/0.2382, allocations: 15.97 MB / 448 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009608/0.2478, allocations: 5.166 MB / 453.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.249, allocations: 115.6 kB / 453.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007825/0.2568, allocations: 4.501 MB / 457.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005351/0.2622, allocations: 2.562 MB / 460.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.2644, allocations: 1.158 MB / 461.5 MB, free: 9.785 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01122/0.2757, allocations: 8.104 MB / 469.6 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005197/0.2808, allocations: 3.952 MB / 473.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003542/0.2844, allocations: 2.473 MB / 476.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004555/0.2889, allocations: 3.61 MB / 479.7 MB, free: 7.535 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000817/0.2898, allocations: 0.5038 MB / 480.2 MB, free: 7.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.2923, allocations: 1.541 MB / 481.7 MB, free: 5.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002758/0.2951, allocations: 3.031 MB / 484.7 MB, free: 2.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003157/0.2982, allocations: 3.325 MB / 488.1 MB, free: 15.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.3088, allocations: 10.34 MB / 498.4 MB, free: 4.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3088, allocations: 0 / 498.4 MB, free: 4.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3088, allocations: 0 / 498.4 MB, free: 4.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001189/0.309, allocations: 0 / 498.4 MB, free: 4.727 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.01565/0.3246, allocations: 7.822 MB / 0.4944 GB, free: 12.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3247, allocations: 15.97 kB / 0.4944 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01528/0.3399, allocations: 3.343 MB / 0.4976 GB, free: 9.441 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/0.3515, allocations: 4.768 MB / 0.5023 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002689/0.3518, allocations: 333.1 kB / 0.5026 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009721/0.3527, allocations: 471.6 kB / 0.5031 GB, free: 3.805 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0244/0.3771, allocations: 14.56 MB / 0.5173 GB, free: 4.316 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001752/0.3773, allocations: 71.52 kB / 0.5173 GB, free: 4.246 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005841/0.3779, allocations: 211.8 kB / 0.5175 GB, free: 4.039 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005738/0.3836, allocations: 2.836 MB / 0.5203 GB, free: 1.195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02454/0.4082, allocations: 13.22 MB / 0.5332 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2363/0.6444, allocations: 58.34 MB / 0.5902 GB, free: 51.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01491/0.6593, allocations: 7.396 MB / 0.5974 GB, free: 44.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004362/0.6637, allocations: 4.538 MB / 0.6019 GB, free: 39.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01733/0.681, allocations: 12.83 MB / 0.6144 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.6811, allocations: 72.62 kB / 0.6145 GB, free: 26.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=326): time 5.981e-06/0.6811, allocations: 0 / 0.6145 GB, free: 26.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=572): time 1.987/2.668, allocations: 411.6 MB / 1.016 GB, free: 147.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/2.668, allocations: 265.7 kB / 1.017 GB, free: 147 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005464/2.674, allocations: 5.444 MB / 1.022 GB, free: 141.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001331/2.675, allocations: 113.7 kB / 1.022 GB, free: 141.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001526/2.677, allocations: 4.082 MB / 1.026 GB, free: 138.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001703/2.678, allocations: 2.112 MB / 1.028 GB, free: 136.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003579/2.682, allocations: 2.183 MB / 1.03 GB, free: 134.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.304e-05/2.682, allocations: 304.9 kB / 1.031 GB, free: 134.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01151/2.693, allocations: 11.06 MB / 1.041 GB, free: 123 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01282/2.706, allocations: 15.24 MB / 1.056 GB, free: 106 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02615/2.732, allocations: 27.45 MB / 1.083 GB, free: 76.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.78e-05/2.732, allocations: 44 kB / 1.083 GB, free: 76.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.501/3.233, allocations: 140.8 MB / 1.221 GB, free: 133.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.034e-05/3.233, allocations: 64 kB / 1.221 GB, free: 133.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.54e-05/3.234, allocations: 140.9 kB / 1.221 GB, free: 133.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07582/3.309, allocations: 34.7 MB / 1.255 GB, free: 99.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004462/3.314, allocations: 1.575 MB / 1.256 GB, free: 97.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4268/3.741, allocations: 203.7 MB / 1.455 GB, free: 98.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01253/3.753, allocations: 1.717 MB / 1.457 GB, free: 97.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00166/3.755, allocations: 0.5365 MB / 1.457 GB, free: 96.59 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.004916/3.76, allocations: 3.098 MB / 1.46 GB, free: 94.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001706/3.761, allocations: 0.6051 MB / 1.461 GB, free: 93.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5021/4.264, allocations: 136.4 MB / 1.594 GB, free: 153.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001091/4.264, allocations: 31.83 kB / 1.594 GB, free: 153.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/4.264, allocations: 5.969 kB / 1.594 GB, free: 153.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001442/4.265, allocations: 0.6413 MB / 1.595 GB, free: 153.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002058/4.267, allocations: 89.47 kB / 1.595 GB, free: 153.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008819/4.276, allocations: 1.488 MB / 1.596 GB, free: 152.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00333/4.279, allocations: 0.8104 MB / 1.597 GB, free: 152 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07354/4.353, allocations: 42.8 MB / 1.639 GB, free: 120.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03286/4.386, allocations: 31.36 MB / 1.67 GB, free: 89.16 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01058/4.396, allocations: 11.1 MB / 1.68 GB, free: 78.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004108/4.4, allocations: 3.459 MB / 1.684 GB, free: 74.59 MB / 0.545 GB Notification: Performance of Backend: time 2.6e-07/4.4, allocations: 0 / 1.684 GB, free: 74.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.04464/4.445, allocations: 22.94 MB / 1.706 GB, free: 51.64 MB / 0.545 GB Notification: Performance of SimCode: time 0.02207/4.467, allocations: 19.31 MB / 1.725 GB, free: 32.32 MB / 0.545 GB Notification: Performance of Templates: time 0.6452/5.112, allocations: 247.2 MB / 1.966 GB, free: 177.4 MB / 0.5606 GB " [Timeout remaining time 655] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 480] Could not SIGINT process: 3471046. Could not SIGINT process: 3471047. Could not SIGINT process: 3471050. Could not SIGINT process: 3470402. [Calling os._exit(0), Time elapsed: 493.1830032370053] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 5.1202246942557395 5.128527109 4.817362855 Calling exit ...