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.001907/0.001907, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.002346/0.002346, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.486/1.486, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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.224/0.224, allocations: 46.93 MB / 357.7 MB, free: 10.22 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.002319/0.002319, allocations: 83.86 kB / 0.4917 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1335, allocations: 66.04 MB / 0.5562 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01799/0.1515, allocations: 15.03 MB / 0.5709 GB, free: 6.469 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.1626, allocations: 5.023 MB / 0.5758 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002251/0.1648, allocations: 127.4 kB / 0.5759 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007593/0.1724, allocations: 4.057 MB / 0.5798 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006347/0.1788, allocations: 2.381 MB / 0.5822 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.1815, allocations: 1.166 MB / 0.5833 GB, free: 9.676 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009738/0.1913, allocations: 6.59 MB / 0.5897 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2636/0.4548, allocations: 3.984 MB / 0.5936 GB, free: 7.324 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005805/0.4606, allocations: 2.235 MB / 0.5958 GB, free: 7.238 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006722/0.4674, allocations: 3.264 MB / 0.599 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00263/0.47, allocations: 457.6 kB / 0.5994 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005394/0.4754, allocations: 1.579 MB / 0.601 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00529/0.4807, allocations: 2.797 MB / 0.6037 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007356/0.488, allocations: 3.132 MB / 0.6068 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01624/0.5043, allocations: 9.766 MB / 0.6163 GB, free: 3.512 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.5043, allocations: 0 / 0.6163 GB, free: 3.512 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5043, allocations: 0 / 0.6163 GB, free: 3.512 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004277/0.5047, allocations: 3.938 kB / 0.6163 GB, free: 3.508 MB / 446.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.02782/0.5325, allocations: 7.175 MB / 0.6233 GB, free: 15.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.5326, allocations: 13.78 kB / 0.6233 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003986/0.5366, allocations: 0.9165 MB / 0.6242 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1649/0.7014, allocations: 12.54 MB / 0.6365 GB, free: 9.395 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01319/0.7146, allocations: 4.59 MB / 0.6409 GB, free: 4.984 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000349/0.715, allocations: 309.6 kB / 0.6412 GB, free: 4.727 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002279/0.7172, allocations: 429 kB / 0.6416 GB, free: 4.355 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03277/0.75, allocations: 13.69 MB / 0.655 GB, free: 6.035 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002561/0.7503, allocations: 59.56 kB / 0.6551 GB, free: 6 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001455/0.7517, allocations: 200.4 kB / 0.6553 GB, free: 5.848 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004834/0.7566, allocations: 2.524 MB / 0.6577 GB, free: 3.363 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02807/0.7846, allocations: 11.55 MB / 0.669 GB, free: 8.039 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07923/0.8638, allocations: 52.92 MB / 0.7207 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0178/0.8817, allocations: 5.577 MB / 0.7261 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005184/0.8868, allocations: 3.07 MB / 0.7291 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02731/0.9141, allocations: 14.89 MB / 0.7437 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.998e-05/0.9142, allocations: 63.38 kB / 0.7437 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 5.24e-06/0.9142, allocations: 0 / 0.7437 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264): time 0.0933/1.008, allocations: 26.5 MB / 0.7696 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/1.008, allocations: 264.4 kB / 0.7699 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00989/1.018, allocations: 5.082 MB / 0.7748 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006206/1.018, allocations: 65.7 kB / 0.7749 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004185/1.022, allocations: 4.104 MB / 0.7789 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001633/1.024, allocations: 1.03 MB / 0.7799 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003509/1.028, allocations: 1.476 MB / 0.7813 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.028, allocations: 305.1 kB / 0.7816 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005269/1.033, allocations: 2.732 MB / 0.7843 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009759/1.043, allocations: 7.085 MB / 0.7912 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01461/1.057, allocations: 10.65 MB / 0.8016 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/1.057, allocations: 44 kB / 0.8017 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.02042/1.078, allocations: 10.13 MB / 0.8116 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/1.078, allocations: 70.19 kB / 0.8116 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001935/1.078, allocations: 152.1 kB / 0.8118 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/1.08, allocations: 0.7154 MB / 0.8125 GB, free: 132 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006759/1.087, allocations: 1.774 MB / 0.8142 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008836/1.096, allocations: 6.845 MB / 0.8209 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006323/1.102, allocations: 407.6 kB / 0.8213 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001677/1.104, allocations: 446.5 kB / 0.8217 GB, free: 6.402 MB / 0.6387 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.006615/1.11, allocations: 2.627 MB / 0.8243 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/1.112, allocations: 496.7 kB / 0.8247 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009674/1.121, allocations: 4.374 MB / 0.829 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-05/1.121, allocations: 32 kB / 0.829 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.539e-05/1.121, allocations: 8 kB / 0.8291 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-05/1.121, allocations: 11.95 kB / 0.8291 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02728/1.149, allocations: 10.74 MB / 0.8396 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.618e-05/1.149, allocations: 3.984 kB / 0.8396 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002891/1.152, allocations: 0.4939 MB / 0.84 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/1.153, allocations: 490.4 kB / 0.8405 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004682/1.154, allocations: 51.58 kB / 0.8406 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2547/1.408, allocations: 6.207 MB / 0.8466 GB, free: 227.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.408, allocations: 1.375 kB / 0.8466 GB, free: 227.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/1.423, allocations: 7.649 MB / 0.8541 GB, free: 226.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001988/1.425, allocations: 0.5082 MB / 0.8546 GB, free: 226.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001761/1.426, allocations: 43.03 kB / 0.8546 GB, free: 226.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003195/1.429, allocations: 161.8 kB / 0.8548 GB, free: 226.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007059/1.43, allocations: 145.4 kB / 0.8549 GB, free: 226.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000421/1.431, allocations: 75.47 kB / 0.855 GB, free: 226.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.008459/1.439, allocations: 3.179 MB / 0.8581 GB, free: 225.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/1.439, allocations: 3.906 kB / 0.8581 GB, free: 225.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008655/1.448, allocations: 1.282 MB / 0.8593 GB, free: 225.1 MB / 0.6544 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.01396/1.462, allocations: 8.341 MB / 0.8675 GB, free: 221.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01019/1.472, allocations: 6.538 MB / 0.8739 GB, free: 219.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/1.472, allocations: 0.5 kB / 0.8739 GB, free: 219.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003375/1.475, allocations: 2.202 MB / 0.876 GB, free: 218.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005713/1.481, allocations: 0.6197 MB / 0.8766 GB, free: 218.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08673/1.568, allocations: 59.14 MB / 0.9344 GB, free: 160.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006365/1.574, allocations: 4.097 MB / 0.9384 GB, free: 156.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005815/1.58, allocations: 2.377 MB / 0.9407 GB, free: 154.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00456/1.584, allocations: 2.631 MB / 0.9433 GB, free: 151.5 MB / 0.6544 GB Notification: Performance of SimCode: time 1.573e-06/1.584, allocations: 0 / 0.9433 GB, free: 151.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1436/1.728, allocations: 92.48 MB / 1.034 GB, free: 59.47 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.07/35.8, allocations: 11.83 kB / 1.034 GB, free: 59.46 MB / 0.6544 GB " [Timeout remaining time 624] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 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: 39.00211296370253] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w'] 35.94585283473134 35.964493745 35.45617711 Calling exit ...