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.001536/0.001536, allocations: 117.8 kB / 18.5 MB, free: 4.566 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.001634/0.001634, allocations: 212.9 kB / 21.46 MB, free: 1.605 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.462/1.462, allocations: 230.2 MB / 254.5 MB, free: 15.4 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.2279/0.2279, allocations: 46.88 MB / 357.4 MB, free: 10.53 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.002289/0.002289, allocations: 77.72 kB / 0.4912 GB, free: 26.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1202, allocations: 65.98 MB / 0.5557 GB, free: 9.141 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01368/0.1339, allocations: 11.42 MB / 0.5668 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008838/0.1428, allocations: 4.073 MB / 0.5708 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.1443, allocations: 63.81 kB / 0.5709 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004953/0.1492, allocations: 2.53 MB / 0.5733 GB, free: 6.965 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004951/0.1542, allocations: 1.875 MB / 0.5752 GB, free: 5.082 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.156, allocations: 0.7799 MB / 0.5759 GB, free: 4.301 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006723/0.1628, allocations: 4.515 MB / 0.5803 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003914/0.1667, allocations: 2.862 MB / 0.5831 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002768/0.1694, allocations: 1.565 MB / 0.5846 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003636/0.1731, allocations: 2.391 MB / 0.587 GB, free: 8.898 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000857/0.1739, allocations: 336 kB / 0.5873 GB, free: 8.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/0.1759, allocations: 0.987 MB / 0.5883 GB, free: 7.582 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002057/0.178, allocations: 1.971 MB / 0.5902 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002738/0.1807, allocations: 2.237 MB / 0.5924 GB, free: 3.355 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008165/0.1889, allocations: 6.851 MB / 0.5991 GB, free: 12.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1889, allocations: 0 / 0.5991 GB, free: 12.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1889, allocations: 4 kB / 0.5991 GB, free: 12.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002125/0.1891, allocations: 0 / 0.5991 GB, free: 12.47 MB / 462.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.01004/0.1992, allocations: 4.94 MB / 0.6039 GB, free: 7.453 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.1992, allocations: 8.031 kB / 0.6039 GB, free: 7.445 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00119/0.2004, allocations: 0.7358 MB / 0.6046 GB, free: 6.699 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007289/0.2077, allocations: 1.991 MB / 0.6066 GB, free: 4.703 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006698/0.2144, allocations: 2.783 MB / 0.6093 GB, free: 1.859 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.2146, allocations: 270.2 kB / 0.6095 GB, free: 1.594 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008206/0.2154, allocations: 323.8 kB / 0.6098 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2465/0.462, allocations: 10.23 MB / 0.6198 GB, free: 41.92 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001178/0.4621, allocations: 45.52 kB / 0.6199 GB, free: 41.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003616/0.4625, allocations: 158.9 kB / 0.62 GB, free: 41.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003079/0.4656, allocations: 1.904 MB / 0.6219 GB, free: 41.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.4818, allocations: 8.173 MB / 0.6299 GB, free: 38.99 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0347/0.5165, allocations: 39.32 MB / 0.6683 GB, free: 5.266 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006708/0.5232, allocations: 3.175 MB / 0.6714 GB, free: 1.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.5245, allocations: 0.9708 MB / 0.6723 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009371/0.5339, allocations: 5.984 MB / 0.6782 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/0.5339, allocations: 59.48 kB / 0.6782 GB, free: 10.67 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 4.619e-06/0.534, allocations: 0 / 0.6782 GB, free: 10.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.0243/0.5582, allocations: 9.745 MB / 0.6877 GB, free: 1.047 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.5584, allocations: 196.9 kB / 0.6879 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006873/0.5653, allocations: 4.068 MB / 0.6919 GB, free: 12.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002426/0.5655, allocations: 49.7 kB / 0.6919 GB, free: 12.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002726/0.5682, allocations: 3.313 MB / 0.6952 GB, free: 9.387 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008204/0.569, allocations: 0.6591 MB / 0.6958 GB, free: 8.723 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002061/0.5711, allocations: 1.215 MB / 0.697 GB, free: 7.496 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.5712, allocations: 309.1 kB / 0.6973 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002988/0.5742, allocations: 1.645 MB / 0.6989 GB, free: 5.543 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006256/0.5805, allocations: 5.514 MB / 0.7043 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009846/0.5903, allocations: 7.766 MB / 0.7119 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001123/0.5904, allocations: 40 kB / 0.7119 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01364/0.6041, allocations: 6.9 MB / 0.7187 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.6042, allocations: 64 kB / 0.7187 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001991/0.6044, allocations: 136.9 kB / 0.7189 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002021/0.6046, allocations: 180.2 kB / 0.719 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004359/0.609, allocations: 1.431 MB / 0.7204 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002659/0.6092, allocations: 274.9 kB / 0.7207 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003593/0.6128, allocations: 295.7 kB / 0.721 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006585/0.6135, allocations: 379.9 kB / 0.7213 GB, free: 10.72 MB / 0.5137 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.003291/0.6168, allocations: 2.04 MB / 0.7233 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006662/0.6174, allocations: 365.5 kB / 0.7237 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009148/0.6184, allocations: 418.7 kB / 0.7241 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/0.6184, allocations: 16 kB / 0.7241 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.6184, allocations: 0 / 0.7241 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.6184, allocations: 14.88 kB / 0.7241 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.6297, allocations: 5.856 MB / 0.7298 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-05/0.6297, allocations: 20 kB / 0.7298 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.6308, allocations: 287.5 kB / 0.7301 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.992e-05/0.6308, allocations: 24 kB / 0.7301 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.6309, allocations: 47.98 kB / 0.7302 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.97e-05/0.6309, allocations: 35.86 kB / 0.7302 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.018e-05/0.631, allocations: 23.94 kB / 0.7302 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00429/0.6352, allocations: 3.323 MB / 0.7335 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009193/0.6362, allocations: 442.5 kB / 0.7339 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004766/0.6366, allocations: 47.98 kB / 0.7339 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.6378, allocations: 63.95 kB / 0.734 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.6379, allocations: 151.5 kB / 0.7342 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.982e-05/0.638, allocations: 68 kB / 0.7342 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003803/0.6418, allocations: 2.516 MB / 0.7367 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6418, allocations: 0 / 0.7367 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004324/0.6462, allocations: 0.8827 MB / 0.7375 GB, free: 9.516 MB / 0.5294 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.004646/0.6508, allocations: 3.986 MB / 0.7414 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006263/0.6571, allocations: 3.672 MB / 0.745 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/0.6571, allocations: 4 kB / 0.745 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.6582, allocations: 0.7083 MB / 0.7457 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/0.6611, allocations: 475.1 kB / 0.7462 GB, free: 472 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06674/0.7278, allocations: 41.78 MB / 0.787 GB, free: 228 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005104/0.7329, allocations: 3.174 MB / 0.7901 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004623/0.7375, allocations: 1.805 MB / 0.7918 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003168/0.7407, allocations: 1.866 MB / 0.7936 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of SimCode: time 9.02e-07/0.7407, allocations: 0 / 0.7936 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3961/1.137, allocations: 59.15 MB / 0.8514 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.14/20.28, allocations: 1.781 kB / 0.8514 GB, free: 209.4 MB / 0.6387 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 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: 23.257708775810897] Failed to read output from testmodel.py, exit status != 0: ['time', 'prismatic.s', 'prismatic.v', 'prismatic1.s', 'prismatic1.v'] 20.387385806068778 20.401070397 20.209094254 Calling exit ...