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.001639/0.001639, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001871/0.001871, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.523/1.523, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2552/0.2552, allocations: 46.94 MB / 361.6 MB, free: 4.195 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.002492/0.002492, allocations: 79.88 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3456, allocations: 66.08 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01421/0.3598, allocations: 10.42 MB / 0.5717 GB, free: 9.805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00944/0.3692, allocations: 3.942 MB / 0.5755 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.3713, allocations: 67.69 kB / 0.5756 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00499/0.3763, allocations: 2.11 MB / 0.5777 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005581/0.3819, allocations: 1.723 MB / 0.5793 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.384, allocations: 0.6939 MB / 0.58 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006808/0.3908, allocations: 4.005 MB / 0.5839 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003708/0.3945, allocations: 2.159 MB / 0.586 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002976/0.3975, allocations: 1.331 MB / 0.5873 GB, free: 9.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003845/0.4013, allocations: 2.001 MB / 0.5893 GB, free: 7.672 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001131/0.4024, allocations: 268 kB / 0.5896 GB, free: 7.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.4056, allocations: 1.213 MB / 0.5907 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002694/0.4083, allocations: 1.718 MB / 0.5924 GB, free: 4.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003577/0.4119, allocations: 1.949 MB / 0.5943 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.4225, allocations: 6.346 MB / 0.6005 GB, free: 12.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.4225, allocations: 4 kB / 0.6005 GB, free: 12.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.4225, allocations: 0 / 0.6005 GB, free: 12.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002477/0.4228, allocations: 0 / 0.6005 GB, free: 12.14 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.01266/0.4354, allocations: 4.366 MB / 0.6048 GB, free: 7.715 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.4355, allocations: 16.03 kB / 0.6048 GB, free: 7.699 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001556/0.4371, allocations: 0.6171 MB / 0.6054 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07699/0.514, allocations: 7.056 MB / 0.6123 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006975/0.521, allocations: 2.561 MB / 0.6148 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.5212, allocations: 193.3 kB / 0.615 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00121/0.5224, allocations: 275.7 kB / 0.6152 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01777/0.5402, allocations: 8.525 MB / 0.6236 GB, free: 3.762 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/0.5404, allocations: 43.64 kB / 0.6236 GB, free: 3.719 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007489/0.5411, allocations: 127.9 kB / 0.6237 GB, free: 3.594 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003196/0.5443, allocations: 1.735 MB / 0.6254 GB, free: 1.859 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01593/0.5603, allocations: 7.174 MB / 0.6324 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0454/0.6057, allocations: 33.76 MB / 0.6654 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008822/0.6145, allocations: 2.844 MB / 0.6682 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002509/0.617, allocations: 1.518 MB / 0.6697 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01282/0.6298, allocations: 6.297 MB / 0.6758 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.726e-05/0.6299, allocations: 51.5 kB / 0.6759 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=151): time 4.719e-06/0.6299, allocations: 0 / 0.6759 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=188): time 0.06924/0.6991, allocations: 18.91 MB / 0.6943 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.6993, allocations: 205.2 kB / 0.6945 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006121/0.7054, allocations: 3.745 MB / 0.6982 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004182/0.7058, allocations: 53.7 kB / 0.6982 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002867/0.7087, allocations: 2.937 MB / 0.7011 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001208/0.7099, allocations: 0.752 MB / 0.7018 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002847/0.7127, allocations: 1.175 MB / 0.703 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.7129, allocations: 301.4 kB / 0.7033 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004172/0.717, allocations: 2.104 MB / 0.7053 GB, free: 14.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007698/0.7247, allocations: 5.656 MB / 0.7108 GB, free: 7.273 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/0.7363, allocations: 8.428 MB / 0.7191 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001193/0.7364, allocations: 36 kB / 0.7191 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01997/0.7564, allocations: 8.692 MB / 0.7276 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.7565, allocations: 58.81 kB / 0.7276 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002153/0.7567, allocations: 124 kB / 0.7278 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005643/0.7624, allocations: 1.392 MB / 0.7291 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004625/0.767, allocations: 1.298 MB / 0.7304 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2815/1.048, allocations: 9.092 MB / 0.7393 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005003/1.053, allocations: 304.5 kB / 0.7396 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001158/1.055, allocations: 356 kB / 0.7399 GB, free: 147.8 MB / 0.5606 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.004001/1.059, allocations: 1.896 MB / 0.7417 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008139/1.059, allocations: 358.1 kB / 0.7421 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008539/1.068, allocations: 3.751 MB / 0.7458 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.46e-05/1.068, allocations: 19.59 kB / 0.7458 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/1.068, allocations: 7.875 kB / 0.7458 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.939e-05/1.068, allocations: 11.34 kB / 0.7458 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/1.085, allocations: 8.095 MB / 0.7537 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/1.085, allocations: 0 / 0.7537 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.086, allocations: 253.1 kB / 0.7539 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004351/1.09, allocations: 1.183 MB / 0.7551 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002584/1.09, allocations: 28 kB / 0.7551 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/1.101, allocations: 8.38 MB / 0.7633 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.101, allocations: 0 / 0.7633 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009863/1.111, allocations: 6.292 MB / 0.7694 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009431/1.111, allocations: 320 kB / 0.7698 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005296/1.112, allocations: 28 kB / 0.7698 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/1.113, allocations: 79.91 kB / 0.7699 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003563/1.114, allocations: 119.9 kB / 0.77 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/1.114, allocations: 59.5 kB / 0.77 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003019/1.117, allocations: 2.332 MB / 0.7723 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.117, allocations: 0 / 0.7723 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004195/1.121, allocations: 0.9438 MB / 0.7732 GB, free: 123.9 MB / 0.5606 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.009553/1.131, allocations: 6.993 MB / 0.7801 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006303/1.137, allocations: 5.015 MB / 0.785 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.137, allocations: 0 / 0.785 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001938/1.139, allocations: 1.626 MB / 0.7865 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/1.141, allocations: 402.3 kB / 0.7869 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05851/1.2, allocations: 44.35 MB / 0.8302 GB, free: 60.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002985/1.203, allocations: 2.957 MB / 0.8331 GB, free: 57.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003697/1.206, allocations: 1.811 MB / 0.8349 GB, free: 55.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002017/1.208, allocations: 1.643 MB / 0.8365 GB, free: 53.59 MB / 0.5606 GB Notification: Performance of SimCode: time 1.263e-06/1.208, allocations: 0 / 0.8365 GB, free: 53.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1187/1.327, allocations: 72.11 MB / 0.9069 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.49/27.81, allocations: 11.28 kB / 0.9069 GB, free: 13.8 MB / 0.5919 GB " [Timeout remaining time 632] (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: 31.013760386034846] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 27.94929083297029 27.978719439 27.549998915 Calling exit ...