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.001698/0.001698, allocations: 114.2 kB / 20.22 MB, free: 1.793 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.001952/0.001952, allocations: 212.2 kB / 23.48 MB, free: 5.227 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.422/1.422, allocations: 230.2 MB / 256.8 MB, free: 8.574 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.2282/0.2282, allocations: 46.9 MB / 360 MB, free: 4.723 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.002395/0.002395, allocations: 83.86 kB / 0.4951 GB, free: 8.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.318, allocations: 65.99 MB / 0.5595 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01282/0.3308, allocations: 10.42 MB / 0.5697 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008328/0.3391, allocations: 3.932 MB / 0.5735 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.3408, allocations: 63.88 kB / 0.5736 GB, free: 6.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004674/0.3455, allocations: 2.102 MB / 0.5757 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004701/0.3502, allocations: 1.704 MB / 0.5773 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.352, allocations: 0.7017 MB / 0.578 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006258/0.3583, allocations: 4.001 MB / 0.5819 GB, free: 13.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00313/0.3614, allocations: 1.949 MB / 0.5838 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/0.3639, allocations: 1.3 MB / 0.5851 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003332/0.3672, allocations: 2.009 MB / 0.5871 GB, free: 8.648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009342/0.3681, allocations: 268 kB / 0.5873 GB, free: 8.387 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002737/0.3709, allocations: 1.217 MB / 0.5885 GB, free: 7.168 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002293/0.3732, allocations: 1.706 MB / 0.5902 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003165/0.3763, allocations: 1.953 MB / 0.5921 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008906/0.3852, allocations: 6.346 MB / 0.5983 GB, free: 13.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3852, allocations: 0 / 0.5983 GB, free: 13.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3852, allocations: 0 / 0.5983 GB, free: 13.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002137/0.3855, allocations: 4 kB / 0.5983 GB, free: 13.11 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.01214/0.3976, allocations: 4.437 MB / 0.6026 GB, free: 8.602 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.3976, allocations: 8.031 kB / 0.6026 GB, free: 8.594 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001704/0.3994, allocations: 0.6403 MB / 0.6032 GB, free: 7.945 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08623/0.4856, allocations: 7.048 MB / 0.6101 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006454/0.492, allocations: 2.637 MB / 0.6127 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/0.4922, allocations: 197.3 kB / 0.6129 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001059/0.4933, allocations: 271.7 kB / 0.6131 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01667/0.51, allocations: 8.521 MB / 0.6215 GB, free: 4.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001543/0.5101, allocations: 43.64 kB / 0.6215 GB, free: 4.527 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006799/0.5108, allocations: 127.9 kB / 0.6216 GB, free: 4.402 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003117/0.5139, allocations: 1.735 MB / 0.6233 GB, free: 2.664 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01485/0.5288, allocations: 7.167 MB / 0.6303 GB, free: 11.49 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04483/0.5736, allocations: 33.86 MB / 0.6634 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009087/0.5827, allocations: 3.297 MB / 0.6666 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002353/0.585, allocations: 1.518 MB / 0.6681 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/0.5971, allocations: 7.313 MB / 0.6752 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.5972, allocations: 51.5 kB / 0.6753 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=151): time 4.939e-06/0.5972, allocations: 0 / 0.6753 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=188): time 0.06669/0.6639, allocations: 19.21 MB / 0.694 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.664, allocations: 205.2 kB / 0.6942 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006373/0.6704, allocations: 3.749 MB / 0.6979 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003879/0.6708, allocations: 53.7 kB / 0.698 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002699/0.6735, allocations: 2.933 MB / 0.7008 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001138/0.6746, allocations: 0.7403 MB / 0.7015 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002355/0.677, allocations: 1.183 MB / 0.7027 GB, free: 15.61 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6771, allocations: 305.1 kB / 0.703 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003799/0.6809, allocations: 2.1 MB / 0.705 GB, free: 13.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007232/0.6881, allocations: 5.652 MB / 0.7106 GB, free: 5.781 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/0.6994, allocations: 8.428 MB / 0.7188 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/0.6995, allocations: 36 kB / 0.7188 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01928/0.7188, allocations: 8.687 MB / 0.7273 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.7189, allocations: 62.34 kB / 0.7274 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002085/0.7191, allocations: 124.9 kB / 0.7275 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00528/0.7244, allocations: 1.392 MB / 0.7288 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2482/0.9726, allocations: 1.29 MB / 0.7301 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/0.9857, allocations: 9.212 MB / 0.7391 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004284/0.9899, allocations: 308.4 kB / 0.7394 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009605/0.9909, allocations: 360.2 kB / 0.7397 GB, free: 148.2 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.002971/0.9939, allocations: 1.891 MB / 0.7416 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007028/0.9946, allocations: 351.8 kB / 0.7419 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007672/1.002, allocations: 3.751 MB / 0.7456 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.688e-05/1.002, allocations: 25.53 kB / 0.7456 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.795e-05/1.002, allocations: 5.25 kB / 0.7456 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-05/1.002, allocations: 13.83 kB / 0.7456 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/1.017, allocations: 8.121 MB / 0.7536 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/1.017, allocations: 0.875 kB / 0.7536 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/1.019, allocations: 256.1 kB / 0.7538 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004115/1.023, allocations: 1.175 MB / 0.7549 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002993/1.023, allocations: 39.98 kB / 0.755 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009846/1.033, allocations: 8.471 MB / 0.7633 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.033, allocations: 8 kB / 0.7633 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009668/1.043, allocations: 6.291 MB / 0.7694 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008004/1.043, allocations: 398.1 kB / 0.7698 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006434/1.044, allocations: 24 kB / 0.7698 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/1.046, allocations: 95.8 kB / 0.7699 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003967/1.046, allocations: 105.2 kB / 0.77 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.046, allocations: 51.98 kB / 0.7701 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003208/1.049, allocations: 2.332 MB / 0.7723 GB, free: 124 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.7e-07/1.049, allocations: 0 / 0.7723 GB, free: 124 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004779/1.054, allocations: 0.9514 MB / 0.7733 GB, free: 123 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.01031/1.065, allocations: 6.982 MB / 0.7801 GB, free: 116 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007163/1.072, allocations: 5.022 MB / 0.785 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.072, allocations: 4 kB / 0.785 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002206/1.074, allocations: 1.623 MB / 0.7866 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/1.077, allocations: 407.5 kB / 0.787 GB, free: 109 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06046/1.137, allocations: 44.33 MB / 0.8303 GB, free: 59.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002789/1.14, allocations: 2.965 MB / 0.8332 GB, free: 56.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003603/1.144, allocations: 1.81 MB / 0.8349 GB, free: 54.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001922/1.146, allocations: 1.651 MB / 0.8365 GB, free: 52.74 MB / 0.5606 GB Notification: Performance of SimCode: time 1.283e-06/1.146, allocations: 0 / 0.8365 GB, free: 52.74 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1103/1.256, allocations: 67.79 MB / 0.9027 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.83/27.08, allocations: 11.98 kB / 0.9027 GB, free: 1.266 MB / 0.5762 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.00181812804658] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 27.21100768400356 27.23383839 26.843772112 Calling exit ...