Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.001433/0.001433, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001624/0.001624, allocations: 214.9 kB / 22.92 MB, free: 5.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 230.2 MB / 256.2 MB, free: 8.582 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2004/0.2004, allocations: 46.89 MB / 359.3 MB, free: 4.945 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002134/0.002134, allocations: 87.86 kB / 0.494 GB, free: 9.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2548, allocations: 65.98 MB / 0.5584 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01554/0.2703, allocations: 15.04 MB / 0.5731 GB, free: 6.078 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009446/0.2798, allocations: 5.058 MB / 0.5781 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.2815, allocations: 103.7 kB / 0.5782 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00697/0.2885, allocations: 4.065 MB / 0.5821 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004978/0.2934, allocations: 2.385 MB / 0.5845 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.2957, allocations: 1.166 MB / 0.5856 GB, free: 9.262 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008286/0.3039, allocations: 6.593 MB / 0.592 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004571/0.3085, allocations: 3.46 MB / 0.5954 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003235/0.3118, allocations: 2.204 MB / 0.5976 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004535/0.3163, allocations: 3.263 MB / 0.6008 GB, free: 9.641 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.3174, allocations: 463.9 kB / 0.6012 GB, free: 9.188 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.3206, allocations: 1.576 MB / 0.6027 GB, free: 7.609 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003225/0.3238, allocations: 2.805 MB / 0.6055 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004747/0.3286, allocations: 3.131 MB / 0.6085 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.3392, allocations: 9.767 MB / 0.6181 GB, free: 7.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3392, allocations: 0 / 0.6181 GB, free: 7.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3392, allocations: 0 / 0.6181 GB, free: 7.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001566/0.3393, allocations: 0 / 0.6181 GB, free: 7.84 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01499/0.3543, allocations: 7.172 MB / 0.6251 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3544, allocations: 16.02 kB / 0.6251 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001179/0.3555, allocations: 0.9219 MB / 0.626 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1606/0.5162, allocations: 12.53 MB / 0.6382 GB, free: 3.082 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009557/0.5257, allocations: 4.592 MB / 0.6427 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002687/0.526, allocations: 316.1 kB / 0.643 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000957/0.5269, allocations: 423.7 kB / 0.6434 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02274/0.5497, allocations: 13.69 MB / 0.6568 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001422/0.5498, allocations: 63.53 kB / 0.6568 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005006/0.5503, allocations: 195.8 kB / 0.657 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003955/0.5543, allocations: 2.523 MB / 0.6595 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02268/0.577, allocations: 11.55 MB / 0.6708 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06383/0.6408, allocations: 52.92 MB / 0.7225 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01595/0.6567, allocations: 5.563 MB / 0.7279 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004265/0.661, allocations: 3.076 MB / 0.7309 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2107/0.8717, allocations: 14.88 MB / 0.7454 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.8717, allocations: 58.34 kB / 0.7455 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 3.667e-06/0.8717, allocations: 0 / 0.7455 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264): time 0.06756/0.9393, allocations: 26.51 MB / 0.7714 GB, free: 130.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.9393, allocations: 265.2 kB / 0.7716 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004475/0.9438, allocations: 5.072 MB / 0.7766 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002346/0.944, allocations: 65.7 kB / 0.7766 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.9453, allocations: 4.11 MB / 0.7807 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005402/0.9459, allocations: 1.033 MB / 0.7817 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001285/0.9472, allocations: 1.473 MB / 0.7831 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.781e-05/0.9472, allocations: 305.1 kB / 0.7834 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002712/0.9499, allocations: 2.732 MB / 0.7861 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003847/0.9538, allocations: 7.086 MB / 0.793 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007212/0.961, allocations: 10.65 MB / 0.8034 GB, free: 93.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.947e-05/0.961, allocations: 48 kB / 0.8034 GB, free: 93.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01082/0.9718, allocations: 10.13 MB / 0.8133 GB, free: 83.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.524e-05/0.9719, allocations: 68.94 kB / 0.8134 GB, free: 83.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.828e-05/0.972, allocations: 152 kB / 0.8135 GB, free: 83.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.9734, allocations: 0.711 MB / 0.8142 GB, free: 82.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004535/0.9779, allocations: 1.778 MB / 0.816 GB, free: 80.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005005/0.9829, allocations: 6.835 MB / 0.8226 GB, free: 73.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004318/0.9872, allocations: 410.5 kB / 0.823 GB, free: 73.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004601/0.9877, allocations: 448 kB / 0.8235 GB, free: 72.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (913): * Single equations (assignments): 908 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002646/0.9903, allocations: 2.632 MB / 0.826 GB, free: 70.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005888/0.9909, allocations: 492.7 kB / 0.8265 GB, free: 69.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005323/0.9962, allocations: 4.377 MB / 0.8308 GB, free: 65.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/0.9963, allocations: 28 kB / 0.8308 GB, free: 65.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.9963, allocations: 4 kB / 0.8308 GB, free: 65.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.9963, allocations: 19.95 kB / 0.8308 GB, free: 65.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/1.009, allocations: 10.74 MB / 0.8413 GB, free: 54.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/1.009, allocations: 4 kB / 0.8413 GB, free: 54.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002214/1.012, allocations: 0.4953 MB / 0.8418 GB, free: 53.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/1.013, allocations: 491 kB / 0.8423 GB, free: 53.44 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/1.013, allocations: 44 kB / 0.8423 GB, free: 53.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004587/1.017, allocations: 6.222 MB / 0.8484 GB, free: 46.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.017, allocations: 3.984 kB / 0.8484 GB, free: 46.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007605/1.025, allocations: 7.644 MB / 0.8558 GB, free: 39.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008634/1.026, allocations: 0.5134 MB / 0.8564 GB, free: 38.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004327/1.026, allocations: 44 kB / 0.8564 GB, free: 38.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/1.028, allocations: 155.8 kB / 0.8565 GB, free: 38.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000295/1.028, allocations: 145.7 kB / 0.8567 GB, free: 38.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/1.029, allocations: 71.5 kB / 0.8567 GB, free: 38.24 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003152/1.032, allocations: 3.18 MB / 0.8599 GB, free: 35.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.032, allocations: 0 / 0.8599 GB, free: 35.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00425/1.036, allocations: 1.285 MB / 0.8611 GB, free: 33.79 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (224): * Single equations (assignments): 219 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007575/1.044, allocations: 8.347 MB / 0.8693 GB, free: 25.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006916/1.05, allocations: 6.536 MB / 0.8756 GB, free: 18.83 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.05, allocations: 0 / 0.8756 GB, free: 18.83 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002082/1.053, allocations: 2.203 MB / 0.8778 GB, free: 16.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/1.055, allocations: 0.6305 MB / 0.8784 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07059/1.126, allocations: 59.22 MB / 0.9362 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004467/1.13, allocations: 4.089 MB / 0.9402 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005213/1.135, allocations: 2.385 MB / 0.9426 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003324/1.139, allocations: 2.624 MB / 0.9451 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of SimCode: time 1.193e-06/1.139, allocations: 0 / 0.9451 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3343/1.473, allocations: 93.01 MB / 1.036 GB, free: 194.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.53/31.01, allocations: 6.281 kB / 1.036 GB, free: 194.6 MB / 0.6544 GB " [Timeout remaining time 629] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_LineForceWithMass_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 33.64086213699193]