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.001632/0.001632, allocations: 121.3 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.001931/0.001931, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.54/1.54, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2408/0.2408, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.003204/0.003204, allocations: 87.84 kB / 0.4912 GB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1438, allocations: 65.98 MB / 0.5557 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01758/0.1614, allocations: 15.03 MB / 0.5703 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.1734, allocations: 5.037 MB / 0.5753 GB, free: 2.258 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002469/0.1759, allocations: 99.69 kB / 0.5754 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008006/0.1839, allocations: 4.061 MB / 0.5793 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006583/0.1904, allocations: 2.381 MB / 0.5816 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.1934, allocations: 1.17 MB / 0.5828 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01028/0.2037, allocations: 6.59 MB / 0.5892 GB, free: 3.922 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.28/0.4837, allocations: 3.992 MB / 0.5931 GB, free: 6.973 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00445/0.4881, allocations: 2.205 MB / 0.5953 GB, free: 6.883 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006349/0.4945, allocations: 3.263 MB / 0.5985 GB, free: 6.578 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002331/0.4968, allocations: 458 kB / 0.5989 GB, free: 6.578 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00504/0.5018, allocations: 1.579 MB / 0.6004 GB, free: 6.578 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005601/0.5074, allocations: 2.792 MB / 0.6032 GB, free: 6.258 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008136/0.5156, allocations: 3.133 MB / 0.6062 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01722/0.5328, allocations: 9.77 MB / 0.6158 GB, free: 3.469 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.5328, allocations: 1.094 kB / 0.6158 GB, free: 3.469 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.5328, allocations: 0.9375 kB / 0.6158 GB, free: 3.469 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004475/0.5332, allocations: 0 / 0.6158 GB, free: 3.469 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.02713/0.5604, allocations: 7.178 MB / 0.6228 GB, free: 15.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5604, allocations: 9.5 kB / 0.6228 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003985/0.5644, allocations: 0.9173 MB / 0.6237 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.148/0.7124, allocations: 12.54 MB / 0.6359 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01454/0.7269, allocations: 4.583 MB / 0.6404 GB, free: 5.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000338/0.7273, allocations: 310.8 kB / 0.6407 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002404/0.7297, allocations: 427.3 kB / 0.6411 GB, free: 5.113 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03491/0.7646, allocations: 13.69 MB / 0.6545 GB, free: 6.793 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002954/0.7649, allocations: 66.06 kB / 0.6545 GB, free: 6.754 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001962/0.7668, allocations: 200.2 kB / 0.6547 GB, free: 6.602 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004784/0.7716, allocations: 2.52 MB / 0.6572 GB, free: 4.117 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02818/0.7998, allocations: 11.55 MB / 0.6685 GB, free: 8.793 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08571/0.8855, allocations: 52.92 MB / 0.7202 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01719/0.9027, allocations: 5.561 MB / 0.7256 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005475/0.9082, allocations: 3.066 MB / 0.7286 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0297/0.9379, allocations: 14.89 MB / 0.7431 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.342e-05/0.938, allocations: 71.58 kB / 0.7432 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 5.12e-06/0.938, allocations: 0 / 0.7432 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264): time 0.09087/1.029, allocations: 26.51 MB / 0.7691 GB, free: 428 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001878/1.029, allocations: 261.3 kB / 0.7693 GB, free: 112 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/1.039, allocations: 5.082 MB / 0.7743 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006666/1.04, allocations: 61.7 kB / 0.7743 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004086/1.044, allocations: 4.098 MB / 0.7783 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001648/1.046, allocations: 1.034 MB / 0.7794 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003411/1.049, allocations: 1.477 MB / 0.7808 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.049, allocations: 305.1 kB / 0.7811 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005209/1.054, allocations: 2.728 MB / 0.7838 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009847/1.064, allocations: 7.085 MB / 0.7907 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01489/1.079, allocations: 10.65 MB / 0.8011 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001339/1.079, allocations: 44 kB / 0.8011 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.02234/1.101, allocations: 10.14 MB / 0.811 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/1.102, allocations: 68 kB / 0.8111 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002229/1.102, allocations: 152 kB / 0.8112 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/1.104, allocations: 0.7088 MB / 0.8119 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007246/1.111, allocations: 1.766 MB / 0.8136 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009235/1.12, allocations: 6.86 MB / 0.8203 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007946/1.128, allocations: 407.5 kB / 0.8207 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001787/1.13, allocations: 444 kB / 0.8212 GB, free: 7.102 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.006915/1.137, allocations: 2.625 MB / 0.8237 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/1.138, allocations: 496.7 kB / 0.8242 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008797/1.147, allocations: 4.381 MB / 0.8285 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.735e-05/1.147, allocations: 28 kB / 0.8285 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/1.147, allocations: 4 kB / 0.8285 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.245e-05/1.147, allocations: 15.94 kB / 0.8285 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02625/1.173, allocations: 10.74 MB / 0.839 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/1.173, allocations: 0 / 0.839 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002723/1.176, allocations: 0.4915 MB / 0.8395 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001534/1.178, allocations: 498.3 kB / 0.84 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003678/1.178, allocations: 44 kB / 0.84 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.274/1.452, allocations: 6.209 MB / 0.8461 GB, free: 229 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.452, allocations: 1.688 kB / 0.8461 GB, free: 229 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/1.466, allocations: 7.647 MB / 0.8535 GB, free: 228.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001646/1.467, allocations: 0.5091 MB / 0.854 GB, free: 228.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/1.469, allocations: 46.2 kB / 0.8541 GB, free: 228.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002471/1.471, allocations: 154 kB / 0.8542 GB, free: 228.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004633/1.472, allocations: 147.7 kB / 0.8544 GB, free: 228 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/1.472, allocations: 73.23 kB / 0.8544 GB, free: 228 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.007116/1.479, allocations: 3.182 MB / 0.8575 GB, free: 227 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/1.479, allocations: 0 / 0.8575 GB, free: 227 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.007962/1.487, allocations: 1.283 MB / 0.8588 GB, free: 226.8 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.01219/1.499, allocations: 8.356 MB / 0.867 GB, free: 223.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01001/1.509, allocations: 6.526 MB / 0.8733 GB, free: 221.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.509, allocations: 0.5 kB / 0.8733 GB, free: 221.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00299/1.512, allocations: 2.205 MB / 0.8755 GB, free: 220.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005007/1.517, allocations: 0.6259 MB / 0.8761 GB, free: 219.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09039/1.607, allocations: 59.14 MB / 0.9339 GB, free: 161.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006838/1.614, allocations: 4.094 MB / 0.9379 GB, free: 157.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006006/1.62, allocations: 2.377 MB / 0.9402 GB, free: 155.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004569/1.625, allocations: 2.62 MB / 0.9427 GB, free: 152.8 MB / 0.6544 GB Notification: Performance of SimCode: time 2.014e-06/1.625, allocations: 3.938 kB / 0.9427 GB, free: 152.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.147/1.772, allocations: 92.48 MB / 1.033 GB, free: 60.75 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.28/35.05, allocations: 14.22 kB / 1.033 GB, free: 60.74 MB / 0.6544 GB " [Timeout remaining time 625] (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 --stepSize=0.00059976 --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: 38.21257470175624] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w'] 35.19934983085841 35.214038132 34.677756584 Calling exit ...