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.001269/0.001269, allocations: 109 kB / 21.23 MB, free: 0.6719 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.001563/0.001563, allocations: 209.6 kB / 24.54 MB, free: 4.035 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.496/1.496, allocations: 230.5 MB / 258.2 MB, free: 8.059 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.2305/0.2305, allocations: 46.94 MB / 361.6 MB, free: 4.215 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.002317/0.002317, allocations: 75.88 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3423, allocations: 66.08 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01765/0.36, allocations: 15.05 MB / 0.5762 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.3722, allocations: 5.066 MB / 0.5812 GB, free: 120 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003635/0.3759, allocations: 119.4 kB / 0.5813 GB, free: 0 / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008441/0.3843, allocations: 4.073 MB / 0.5853 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006989/0.3913, allocations: 2.393 MB / 0.5876 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.3943, allocations: 1.166 MB / 0.5887 GB, free: 8.344 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01024/0.4045, allocations: 6.601 MB / 0.5952 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005569/0.4101, allocations: 3.783 MB / 0.5989 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004333/0.4144, allocations: 2.243 MB / 0.6011 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005547/0.42, allocations: 3.26 MB / 0.6043 GB, free: 8.352 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001703/0.4217, allocations: 456 kB / 0.6047 GB, free: 7.906 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003944/0.4256, allocations: 1.584 MB / 0.6062 GB, free: 6.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003835/0.4294, allocations: 2.809 MB / 0.609 GB, free: 3.504 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005309/0.4347, allocations: 3.139 MB / 0.612 GB, free: 356 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01371/0.4484, allocations: 9.771 MB / 0.6216 GB, free: 6.535 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.4485, allocations: 0 / 0.6216 GB, free: 6.535 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4485, allocations: 0 / 0.6216 GB, free: 6.535 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003228/0.4488, allocations: 0 / 0.6216 GB, free: 6.535 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.02029/0.4691, allocations: 7.097 MB / 0.6285 GB, free: 15.37 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.4691, allocations: 8.031 kB / 0.6285 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00233/0.4715, allocations: 0.918 MB / 0.6294 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1376/0.609, allocations: 12.54 MB / 0.6417 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01066/0.6197, allocations: 4.485 MB / 0.646 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/0.62, allocations: 316.1 kB / 0.6463 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/0.6213, allocations: 435.6 kB / 0.6468 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02571/0.647, allocations: 13.69 MB / 0.6601 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001739/0.6472, allocations: 55.53 kB / 0.6602 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006291/0.6478, allocations: 195.8 kB / 0.6604 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003976/0.6518, allocations: 2.527 MB / 0.6628 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02416/0.676, allocations: 11.55 MB / 0.6741 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07179/0.7478, allocations: 52.78 MB / 0.7257 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01618/0.7639, allocations: 5.125 MB / 0.7307 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004848/0.7688, allocations: 3.07 MB / 0.7337 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2963/1.065, allocations: 12.79 MB / 0.7461 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/1.065, allocations: 59.12 kB / 0.7462 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 4.759e-06/1.065, allocations: 0 / 0.7462 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264): time 0.0663/1.131, allocations: 26.28 MB / 0.7719 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/1.132, allocations: 257.3 kB / 0.7721 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005169/1.137, allocations: 5.082 MB / 0.7771 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004406/1.137, allocations: 73.64 kB / 0.7771 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0015/1.139, allocations: 4.104 MB / 0.7812 GB, free: 124 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007697/1.139, allocations: 1.026 MB / 0.7822 GB, free: 123 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00138/1.141, allocations: 1.488 MB / 0.7836 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.584e-05/1.141, allocations: 305.1 kB / 0.7839 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002987/1.144, allocations: 2.728 MB / 0.7866 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004294/1.148, allocations: 7.078 MB / 0.7935 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008746/1.157, allocations: 10.65 MB / 0.8039 GB, free: 96.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.146e-05/1.157, allocations: 46.25 kB / 0.8039 GB, free: 96.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01377/1.171, allocations: 10.13 MB / 0.8138 GB, free: 86.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.989e-05/1.171, allocations: 72 kB / 0.8139 GB, free: 86.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/1.171, allocations: 152 kB / 0.814 GB, free: 86.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/1.172, allocations: 0.7151 MB / 0.8147 GB, free: 85.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005198/1.178, allocations: 1.766 MB / 0.8164 GB, free: 83.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005683/1.183, allocations: 6.634 MB / 0.8229 GB, free: 76.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005351/1.189, allocations: 411.6 kB / 0.8233 GB, free: 76.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001178/1.19, allocations: 443.8 kB / 0.8237 GB, free: 75.94 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.004578/1.194, allocations: 2.638 MB / 0.8263 GB, free: 73.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/1.195, allocations: 496.7 kB / 0.8268 GB, free: 72.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006919/1.202, allocations: 4.377 MB / 0.8311 GB, free: 68.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/1.202, allocations: 24 kB / 0.8311 GB, free: 68.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/1.202, allocations: 8 kB / 0.8311 GB, free: 68.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.401e-05/1.202, allocations: 11.95 kB / 0.8311 GB, free: 68.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01872/1.221, allocations: 10.7 MB / 0.8416 GB, free: 57.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/1.221, allocations: 4 kB / 0.8416 GB, free: 57.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002428/1.224, allocations: 0.4962 MB / 0.8421 GB, free: 57.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/1.225, allocations: 489.2 kB / 0.8425 GB, free: 56.67 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002805/1.225, allocations: 47.98 kB / 0.8426 GB, free: 56.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005281/1.23, allocations: 6.01 MB / 0.8484 GB, free: 50.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.23, allocations: 7.984 kB / 0.8484 GB, free: 50.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009006/1.239, allocations: 7.645 MB / 0.8559 GB, free: 42.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/1.241, allocations: 448.6 kB / 0.8563 GB, free: 42.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009369/1.242, allocations: 36 kB / 0.8564 GB, free: 42.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002361/1.244, allocations: 159.8 kB / 0.8565 GB, free: 42.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003614/1.244, allocations: 157.6 kB / 0.8567 GB, free: 41.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001914/1.244, allocations: 75.98 kB / 0.8567 GB, free: 41.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004027/1.249, allocations: 3.172 MB / 0.8598 GB, free: 38.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.249, allocations: 0 / 0.8598 GB, free: 38.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005568/1.254, allocations: 1.289 MB / 0.8611 GB, free: 37.38 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.008794/1.263, allocations: 8.343 MB / 0.8692 GB, free: 28.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008204/1.271, allocations: 6.543 MB / 0.8756 GB, free: 22.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.271, allocations: 0 / 0.8756 GB, free: 22.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002383/1.273, allocations: 2.203 MB / 0.8778 GB, free: 20.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002985/1.276, allocations: 0.6199 MB / 0.8784 GB, free: 19.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0776/1.354, allocations: 59.23 MB / 0.9362 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004847/1.359, allocations: 4.097 MB / 0.9402 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005453/1.364, allocations: 2.377 MB / 0.9426 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003514/1.368, allocations: 2.624 MB / 0.9451 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of SimCode: time 7.91e-07/1.368, allocations: 0 / 0.9451 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.448/1.816, allocations: 98.4 MB / 1.041 GB, free: 195.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.49/36.31, allocations: 6 kB / 1.041 GB, free: 195.3 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.413991891313344] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w'] 36.45749497413635 36.47211672 36.020037032 Calling exit ...