Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.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.001301/0.001301, allocations: 120 kB / 18.5 MB, free: 4.52 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.001373/0.001373, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.465/1.465, allocations: 230.4 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.2236/0.2236, 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.Spring,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Spring",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.002211/0.002211, allocations: 79.86 kB / 0.4917 GB, free: 7.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1202, allocations: 66.03 MB / 0.5562 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01292/0.1332, allocations: 11.42 MB / 0.5673 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008085/0.1413, allocations: 4.089 MB / 0.5713 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.1425, allocations: 79.56 kB / 0.5714 GB, free: 5.902 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004624/0.1471, allocations: 2.515 MB / 0.5738 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004381/0.1515, allocations: 1.875 MB / 0.5757 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.1531, allocations: 0.7799 MB / 0.5764 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005792/0.1589, allocations: 4.519 MB / 0.5808 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003433/0.1623, allocations: 2.866 MB / 0.5836 GB, free: 9.277 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.1646, allocations: 1.577 MB / 0.5852 GB, free: 7.695 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003406/0.168, allocations: 2.41 MB / 0.5875 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008303/0.1689, allocations: 336 kB / 0.5879 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.1708, allocations: 0.987 MB / 0.5888 GB, free: 3.961 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001987/0.1728, allocations: 1.963 MB / 0.5907 GB, free: 1.992 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.27/0.4428, allocations: 2.24 MB / 0.5929 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009307/0.4521, allocations: 6.84 MB / 0.5996 GB, free: 11.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.4521, allocations: 1.25 kB / 0.5996 GB, free: 11.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4521, allocations: 0.8125 kB / 0.5996 GB, free: 11.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002445/0.4523, allocations: 0 / 0.5996 GB, free: 11.52 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01154/0.4639, allocations: 4.941 MB / 0.6044 GB, free: 9.461 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.4639, allocations: 9.188 kB / 0.6044 GB, free: 9.461 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001383/0.4653, allocations: 0.7283 MB / 0.6052 GB, free: 9.387 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00784/0.4732, allocations: 1.998 MB / 0.6071 GB, free: 9.078 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006327/0.4795, allocations: 2.793 MB / 0.6098 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/0.4797, allocations: 247.6 kB / 0.6101 GB, free: 8.465 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007536/0.4805, allocations: 332.8 kB / 0.6104 GB, free: 8.457 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01795/0.4984, allocations: 10.24 MB / 0.6204 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.4986, allocations: 51.14 kB / 0.6204 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004293/0.499, allocations: 157.7 kB / 0.6206 GB, free: 4.402 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002562/0.5016, allocations: 1.903 MB / 0.6224 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/0.5161, allocations: 8.176 MB / 0.6304 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05016/0.5663, allocations: 39.32 MB / 0.6688 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008636/0.5749, allocations: 3.167 MB / 0.6719 GB, free: 7.625 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/0.5765, allocations: 0.9626 MB / 0.6729 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009168/0.5857, allocations: 5.988 MB / 0.6787 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.5857, allocations: 55.55 kB / 0.6788 GB, free: 276 kB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 4.077e-06/0.5857, allocations: 0 / 0.6788 GB, free: 276 kB / 494.1 MB Notification: Performance of matching and sorting (n=160): time 0.02495/0.6107, allocations: 9.752 MB / 0.6883 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.6108, allocations: 196.9 kB / 0.6885 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005906/0.6167, allocations: 4.06 MB / 0.6924 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/0.6169, allocations: 49.7 kB / 0.6925 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002458/0.6194, allocations: 3.312 MB / 0.6957 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006571/0.62, allocations: 0.6744 MB / 0.6964 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001588/0.6216, allocations: 1.211 MB / 0.6976 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6217, allocations: 304.9 kB / 0.6978 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002684/0.6244, allocations: 1.644 MB / 0.6994 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006076/0.6305, allocations: 5.517 MB / 0.7048 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009779/0.6403, allocations: 7.781 MB / 0.7124 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/0.6404, allocations: 37.41 kB / 0.7125 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01382/0.6542, allocations: 6.9 MB / 0.7192 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.104e-05/0.6543, allocations: 64 kB / 0.7193 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001597/0.6544, allocations: 136 kB / 0.7194 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.6546, allocations: 184 kB / 0.7196 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004518/0.6591, allocations: 1.425 MB / 0.721 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002495/0.6594, allocations: 274.9 kB / 0.7212 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004516/0.6639, allocations: 295.7 kB / 0.7215 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007866/0.6647, allocations: 379.7 kB / 0.7219 GB, free: 0.8438 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (767): * Single equations (assignments): 764 * 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.004025/0.6687, allocations: 2.033 MB / 0.7239 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007069/0.6694, allocations: 369.5 kB / 0.7242 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008979/0.6703, allocations: 414.7 kB / 0.7246 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.107e-05/0.6704, allocations: 23.94 kB / 0.7246 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.6704, allocations: 3.844 kB / 0.7246 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.6704, allocations: 7.922 kB / 0.7246 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/0.6813, allocations: 5.843 MB / 0.7303 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-05/0.6814, allocations: 20.03 kB / 0.7304 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.6824, allocations: 287.5 kB / 0.7306 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.913e-05/0.6825, allocations: 24 kB / 0.7307 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.531e-05/0.6826, allocations: 48 kB / 0.7307 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.007e-05/0.6826, allocations: 39.86 kB / 0.7307 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.321e-05/0.6826, allocations: 29.44 kB / 0.7308 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004458/0.6871, allocations: 3.324 MB / 0.734 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/0.6882, allocations: 438.5 kB / 0.7344 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004327/0.6887, allocations: 43.98 kB / 0.7345 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.6899, allocations: 71.95 kB / 0.7345 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/0.6902, allocations: 151.1 kB / 0.7347 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.6903, allocations: 60 kB / 0.7348 GB, free: 3.094 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004733/0.695, allocations: 2.519 MB / 0.7372 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.695, allocations: 0 / 0.7372 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005101/0.7001, allocations: 0.8827 MB / 0.7381 GB, free: 15.68 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.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 (145): * Single equations (assignments): 142 * 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.004953/0.705, allocations: 3.995 MB / 0.742 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006499/0.7115, allocations: 3.677 MB / 0.7456 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/0.7116, allocations: 4 kB / 0.7456 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.7127, allocations: 0.7039 MB / 0.7463 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/0.7156, allocations: 478.6 kB / 0.7467 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06402/0.7796, allocations: 41.75 MB / 0.7875 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004072/0.7837, allocations: 3.166 MB / 0.7906 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004187/0.7879, allocations: 1.821 MB / 0.7924 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002778/0.7907, allocations: 1.873 MB / 0.7942 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of SimCode: time 1.092e-06/0.7907, allocations: 0 / 0.7942 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3596/1.15, allocations: 59.17 MB / 0.852 GB, free: 235.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.9/21.05, allocations: 9.703 kB / 0.852 GB, free: 235.8 MB / 0.6544 GB " [Timeout remaining time 639] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring_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_Spring.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.120124199427664] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v', 'prismatic1.s', 'prismatic1.v'] 21.16866131965071 21.191461267 20.735101723 Calling exit ...