Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.00173/0.00173, allocations: 121.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.002037/0.002037, allocations: 205 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.483/1.483, allocations: 230.5 MB / 254.7 MB, free: 15.03 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.2265/0.2265, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",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.002295/0.002295, allocations: 79.86 kB / 0.4917 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.121, allocations: 66.04 MB / 0.5562 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01297/0.134, allocations: 10.39 MB / 0.5663 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008534/0.1425, allocations: 3.911 MB / 0.5701 GB, free: 7.199 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001581/0.1441, allocations: 71.62 kB / 0.5702 GB, free: 7.129 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004342/0.1484, allocations: 2.094 MB / 0.5722 GB, free: 5.027 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004533/0.1529, allocations: 1.708 MB / 0.5739 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.1548, allocations: 0.6979 MB / 0.5746 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006769/0.1615, allocations: 4.01 MB / 0.5785 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00319/0.1647, allocations: 2.211 MB / 0.5807 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.1672, allocations: 1.324 MB / 0.582 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003055/0.1702, allocations: 2.013 MB / 0.5839 GB, free: 8.988 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006413/0.1708, allocations: 264 kB / 0.5842 GB, free: 8.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002377/0.1732, allocations: 1.213 MB / 0.5854 GB, free: 7.516 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002001/0.1752, allocations: 1.706 MB / 0.587 GB, free: 5.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002393/0.1776, allocations: 1.957 MB / 0.5889 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2542/0.4318, allocations: 6.339 MB / 0.5951 GB, free: 13.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.4318, allocations: 0 / 0.5951 GB, free: 13.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4318, allocations: 0.7031 kB / 0.5951 GB, free: 13.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002011/0.432, allocations: 3.312 kB / 0.5951 GB, free: 13.41 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01253/0.4445, allocations: 4.443 MB / 0.5995 GB, free: 11.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.4446, allocations: 10.28 kB / 0.5995 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001758/0.4464, allocations: 0.6227 MB / 0.6001 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08765/0.534, allocations: 7.055 MB / 0.607 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006699/0.5407, allocations: 2.63 MB / 0.6096 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.5409, allocations: 196.9 kB / 0.6097 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001201/0.5421, allocations: 275.3 kB / 0.61 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01478/0.5569, allocations: 8.524 MB / 0.6183 GB, free: 8.055 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.557, allocations: 48.05 kB / 0.6184 GB, free: 8.047 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00047/0.5575, allocations: 126.3 kB / 0.6185 GB, free: 7.996 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002722/0.5602, allocations: 1.738 MB / 0.6202 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.5725, allocations: 7.17 MB / 0.6272 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04682/0.6193, allocations: 33.85 MB / 0.6603 GB, free: 3.168 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009651/0.6289, allocations: 3.3 MB / 0.6635 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00257/0.6315, allocations: 1.518 MB / 0.665 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01392/0.6454, allocations: 7.323 MB / 0.6721 GB, free: 6.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.15e-05/0.6455, allocations: 46.84 kB / 0.6722 GB, free: 6.609 MB / 494.1 MB Notification: Performance of pre-optimization done (n=151): time 4.168e-06/0.6455, allocations: 0 / 0.6722 GB, free: 6.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=188): time 0.07136/0.7169, allocations: 19.2 MB / 0.6909 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.717, allocations: 209.1 kB / 0.6911 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007544/0.7245, allocations: 3.749 MB / 0.6948 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000443/0.725, allocations: 57.3 kB / 0.6948 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002908/0.7279, allocations: 2.936 MB / 0.6977 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001196/0.7291, allocations: 0.742 MB / 0.6984 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002756/0.7318, allocations: 1.178 MB / 0.6996 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.732, allocations: 301.1 kB / 0.6998 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003943/0.7359, allocations: 2.1 MB / 0.7019 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00743/0.7434, allocations: 5.653 MB / 0.7074 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/0.7555, allocations: 8.421 MB / 0.7156 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001449/0.7556, allocations: 38.69 kB / 0.7157 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.0207/0.7763, allocations: 8.689 MB / 0.7242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001576/0.7765, allocations: 60 kB / 0.7242 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001982/0.7767, allocations: 124 kB / 0.7243 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005632/0.7823, allocations: 1.396 MB / 0.7257 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005067/0.7874, allocations: 1.298 MB / 0.727 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/0.8037, allocations: 9.209 MB / 0.736 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004586/0.8083, allocations: 305.8 kB / 0.7363 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/0.8095, allocations: 353.2 kB / 0.7366 GB, free: 1.691 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (695): * Single equations (assignments): 691 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,44,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004356/0.8138, allocations: 1.896 MB / 0.7384 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009426/0.8148, allocations: 357.6 kB / 0.7388 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/0.8249, allocations: 3.749 MB / 0.7424 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.727e-05/0.825, allocations: 24 kB / 0.7425 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.269e-05/0.825, allocations: 8 kB / 0.7425 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.745e-05/0.8251, allocations: 7.969 kB / 0.7425 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02067/0.8457, allocations: 8.137 MB / 0.7504 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-05/0.8457, allocations: 0 / 0.7504 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/0.8472, allocations: 251.6 kB / 0.7507 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005322/0.8525, allocations: 1.182 MB / 0.7518 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003469/0.8529, allocations: 36.86 kB / 0.7519 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01431/0.8672, allocations: 8.476 MB / 0.7601 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.8672, allocations: 0 / 0.7601 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01397/0.8812, allocations: 6.284 MB / 0.7663 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/0.8824, allocations: 394.6 kB / 0.7667 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001079/0.8835, allocations: 28 kB / 0.7667 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/0.8856, allocations: 79.91 kB / 0.7668 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005365/0.8861, allocations: 126.8 kB / 0.7669 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002507/0.8864, allocations: 52 kB / 0.7669 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005117/0.8915, allocations: 2.328 MB / 0.7692 GB, free: 104 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8915, allocations: 0 / 0.7692 GB, free: 104 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005951/0.8975, allocations: 0.9491 MB / 0.7701 GB, free: 15.15 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01419/0.9116, allocations: 6.982 MB / 0.7769 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009521/0.9212, allocations: 5.014 MB / 0.7818 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.9212, allocations: 0 / 0.7818 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003111/0.9243, allocations: 1.636 MB / 0.7834 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/0.9277, allocations: 403.3 kB / 0.7838 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09032/1.018, allocations: 44.29 MB / 0.8271 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005239/1.023, allocations: 2.961 MB / 0.83 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004885/1.028, allocations: 1.811 MB / 0.8317 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003233/1.031, allocations: 1.651 MB / 0.8333 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of SimCode: time 1.713e-06/1.031, allocations: 0 / 0.8333 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3847/1.416, allocations: 67.3 MB / 0.8991 GB, free: 205.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.91/27.32, allocations: 10.84 kB / 0.8991 GB, free: 205.5 MB / 0.6544 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_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_ForceWithTwoMasses.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 30.405285777058452] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 27.45275125000626 27.467178468 27.032398351 Calling exit ...