Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.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.001405/0.001405, 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.001463/0.001463, allocations: 212.6 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.443/1.443, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2219/0.2219, allocations: 46.93 MB / 361.6 MB, free: 4.203 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.Damper,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Damper",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.002344/0.002344, allocations: 87.84 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3236, allocations: 66.08 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01853/0.3421, allocations: 16.2 MB / 0.5773 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.3537, allocations: 5.028 MB / 0.5822 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003194/0.3569, allocations: 115.5 kB / 0.5824 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0102/0.3671, allocations: 5.245 MB / 0.5875 GB, free: 9.617 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00751/0.3746, allocations: 2.547 MB / 0.59 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.3776, allocations: 1.189 MB / 0.5911 GB, free: 5.871 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01032/0.3879, allocations: 6.662 MB / 0.5976 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006944/0.3949, allocations: 5.051 MB / 0.6026 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004829/0.3997, allocations: 2.629 MB / 0.6051 GB, free: 7.422 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006963/0.4067, allocations: 3.941 MB / 0.609 GB, free: 3.469 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001887/0.4086, allocations: 0.5703 MB / 0.6095 GB, free: 2.898 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003167/0.4117, allocations: 1.307 MB / 0.6108 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003773/0.4155, allocations: 3.296 MB / 0.614 GB, free: 14.28 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006154/0.4216, allocations: 3.667 MB / 0.6176 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.4359, allocations: 11.16 MB / 0.6285 GB, free: 15.39 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4359, allocations: 0 / 0.6285 GB, free: 15.39 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4359, allocations: 0 / 0.6285 GB, free: 15.39 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004198/0.4363, allocations: 0 / 0.6285 GB, free: 15.39 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.01625/0.4526, allocations: 7.737 MB / 0.6361 GB, free: 7.578 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4526, allocations: 8.031 kB / 0.6361 GB, free: 7.57 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002099/0.4547, allocations: 1.194 MB / 0.6372 GB, free: 6.367 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009989/0.4647, allocations: 2.668 MB / 0.6398 GB, free: 3.691 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008974/0.4737, allocations: 4.173 MB / 0.6439 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004898/0.4742, allocations: 435 kB / 0.6443 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002081/0.4763, allocations: 0.5544 MB / 0.6449 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04195/0.5182, allocations: 19.74 MB / 0.6642 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002499/0.5185, allocations: 71.39 kB / 0.6642 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009617/0.5194, allocations: 271.8 kB / 0.6645 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005297/0.5247, allocations: 3.149 MB / 0.6676 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03816/0.5629, allocations: 15.86 MB / 0.683 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5632/1.126, allocations: 63.9 MB / 0.7455 GB, free: 111 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01441/1.141, allocations: 5.69 MB / 0.751 GB, free: 110.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002424/1.143, allocations: 1.895 MB / 0.7529 GB, free: 110.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/1.154, allocations: 7.983 MB / 0.7607 GB, free: 108.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/1.154, allocations: 59.42 kB / 0.7607 GB, free: 108.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 4.939e-06/1.154, allocations: 0 / 0.7607 GB, free: 108.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.04783/1.202, allocations: 21.61 MB / 0.7818 GB, free: 92.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/1.202, allocations: 154.5 kB / 0.782 GB, free: 92.22 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005528/1.207, allocations: 5.792 MB / 0.7876 GB, free: 86.57 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003547/1.208, allocations: 75.3 kB / 0.7877 GB, free: 86.49 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001855/1.21, allocations: 5.028 MB / 0.7926 GB, free: 81.72 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007352/1.21, allocations: 1.172 MB / 0.7937 GB, free: 80.56 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001451/1.212, allocations: 1.811 MB / 0.7955 GB, free: 78.74 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.915e-05/1.212, allocations: 301.1 kB / 0.7958 GB, free: 78.44 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003086/1.215, allocations: 2.614 MB / 0.7984 GB, free: 75.82 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004603/1.219, allocations: 8.169 MB / 0.8063 GB, free: 65.08 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008628/1.228, allocations: 11.72 MB / 0.8178 GB, free: 50.9 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.983e-05/1.228, allocations: 56 kB / 0.8178 GB, free: 50.85 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.01308/1.241, allocations: 10.51 MB / 0.8281 GB, free: 40.33 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.88e-05/1.241, allocations: 88 kB / 0.8282 GB, free: 40.25 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001545/1.242, allocations: 196 kB / 0.8284 GB, free: 40.05 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/1.242, allocations: 260 kB / 0.8286 GB, free: 39.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005735/1.247, allocations: 2.196 MB / 0.8308 GB, free: 37.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001912/1.248, allocations: 382.5 kB / 0.8311 GB, free: 37.23 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005169/1.253, allocations: 460.1 kB / 0.8316 GB, free: 36.78 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006993/1.253, allocations: 0.5351 MB / 0.8321 GB, free: 36.24 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1171): * Single equations (assignments): 1168 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003899/1.257, allocations: 3.155 MB / 0.8352 GB, free: 33.08 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007716/1.258, allocations: 0.5432 MB / 0.8357 GB, free: 32.53 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004002/1.262, allocations: 2.984 MB / 0.8386 GB, free: 29.53 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/1.262, allocations: 35.94 kB / 0.8386 GB, free: 29.49 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.262, allocations: 3.938 kB / 0.8386 GB, free: 29.49 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/1.262, allocations: 11.95 kB / 0.8387 GB, free: 29.48 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/1.279, allocations: 12.24 MB / 0.8506 GB, free: 16.77 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.564e-05/1.279, allocations: 36.06 kB / 0.8506 GB, free: 16.73 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/1.281, allocations: 0.5421 MB / 0.8512 GB, free: 16.19 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-05/1.281, allocations: 44 kB / 0.8512 GB, free: 16.15 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/1.281, allocations: 87.98 kB / 0.8513 GB, free: 16.06 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.919e-05/1.281, allocations: 71.72 kB / 0.8514 GB, free: 15.99 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.782e-05/1.281, allocations: 43.81 kB / 0.8514 GB, free: 15.95 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00566/1.287, allocations: 5.647 MB / 0.8569 GB, free: 9.773 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/1.288, allocations: 0.5236 MB / 0.8574 GB, free: 9.246 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006997/1.289, allocations: 95.91 kB / 0.8575 GB, free: 9.152 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/1.291, allocations: 147.8 kB / 0.8577 GB, free: 9.008 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/1.291, allocations: 275.9 kB / 0.8579 GB, free: 8.738 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.291, allocations: 116 kB / 0.858 GB, free: 8.625 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004802/1.296, allocations: 3.594 MB / 0.8615 GB, free: 5.062 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.8e-07/1.296, allocations: 0 / 0.8615 GB, free: 5.062 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006982/1.303, allocations: 1.409 MB / 0.8629 GB, free: 3.656 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * 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 (275): * Single equations (assignments): 272 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007811/1.311, allocations: 6.351 MB / 0.8691 GB, free: 12.77 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01044/1.321, allocations: 5.784 MB / 0.8748 GB, free: 7.016 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.901e-05/1.321, allocations: 4 kB / 0.8748 GB, free: 7.012 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.002431/1.324, allocations: 1.299 MB / 0.876 GB, free: 5.719 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004517/1.328, allocations: 0.7509 MB / 0.8768 GB, free: 4.98 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1037/1.432, allocations: 67.67 MB / 0.9429 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006562/1.438, allocations: 4.756 MB / 0.9475 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005946/1.444, allocations: 2.579 MB / 0.95 GB, free: 15.94 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00421/1.448, allocations: 3.194 MB / 0.9531 GB, free: 12.74 MB / 0.67 GB Notification: Performance of SimCode: time 6.91e-07/1.448, allocations: 7.938 kB / 0.9531 GB, free: 12.73 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4221/1.871, allocations: 96.72 MB / 1.048 GB, free: 244.7 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.47/25.34, allocations: 0 / 1.048 GB, free: 244.7 MB / 0.7013 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper_res.csv --start-time 0 --stop-time 7 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00139944 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 28.314360544085503] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.frame_a.r_0[1]', 'body.v_0[1]', 'heatCapacitor.T', 'prismatic1.s', 'prismatic1.v', 'prismatic2.s', 'prismatic2.v'] 25.48227374907583 25.498391731 25.059013672 Calling exit ...