Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.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.001813/0.001813, allocations: 121.4 kB / 18.51 MB, free: 4.539 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.002166/0.002166, allocations: 213.6 kB / 21.46 MB, free: 1.59 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.522/1.522, allocations: 230.5 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.2384/0.2384, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents",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.002342/0.002342, allocations: 79.86 kB / 0.4916 GB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1304, allocations: 66.04 MB / 0.5561 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00561/0.136, allocations: 4.19 MB / 0.5602 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.1384, allocations: 1.184 MB / 0.5614 GB, free: 192 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003035/0.1387, allocations: 19.88 kB / 0.5614 GB, free: 172 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.139, allocations: 106.9 kB / 0.5615 GB, free: 64 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005052/0.1395, allocations: 210.2 kB / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005782/0.1401, allocations: 231.5 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009003/0.141, allocations: 0.7977 MB / 0.5627 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003434/0.1413, allocations: 171.5 kB / 0.5629 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004463/0.1417, allocations: 338.8 kB / 0.5632 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.1422, allocations: 338.5 kB / 0.5635 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.481e-05/0.1423, allocations: 59.94 kB / 0.5636 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.1425, allocations: 91.97 kB / 0.5637 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.1426, allocations: 147.5 kB / 0.5638 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000353/0.143, allocations: 358.1 kB / 0.5641 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009099/0.1439, allocations: 0.7857 MB / 0.5649 GB, free: 12.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1439, allocations: 4 kB / 0.5649 GB, free: 12.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1439, allocations: 0 / 0.5649 GB, free: 12.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.1439, allocations: 4 kB / 0.5649 GB, free: 12.55 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.00205/0.1459, allocations: 1.02 MB / 0.5659 GB, free: 11.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.146, allocations: 16.03 kB / 0.5659 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/0.1461, allocations: 102.6 kB / 0.566 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007112/0.1468, allocations: 144.3 kB / 0.5662 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.1474, allocations: 445.9 kB / 0.5666 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/0.1475, allocations: 41.69 kB / 0.5666 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.1476, allocations: 72.06 kB / 0.5667 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.1488, allocations: 0.6155 MB / 0.5673 GB, free: 9.984 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.231e-05/0.1489, allocations: 11.95 kB / 0.5673 GB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.1489, allocations: 20 kB / 0.5673 GB, free: 9.953 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.1489, allocations: 16 kB / 0.5673 GB, free: 9.938 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.1501, allocations: 0.519 MB / 0.5678 GB, free: 9.418 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/0.1535, allocations: 2.175 MB / 0.57 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.1547, allocations: 0.6486 MB / 0.5706 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006444/0.1554, allocations: 307.5 kB / 0.5709 GB, free: 6.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.1556, allocations: 101.5 kB / 0.571 GB, free: 5.973 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.1556, allocations: 46.94 kB / 0.571 GB, free: 5.918 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.595e-06/0.1556, allocations: 0 / 0.571 GB, free: 5.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=116): time 0.008929/0.1645, allocations: 4.546 MB / 0.5755 GB, free: 1.023 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.1647, allocations: 218.3 kB / 0.5757 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005235/0.1652, allocations: 393.8 kB / 0.5761 GB, free: 372 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.056e-05/0.1653, allocations: 45.7 kB / 0.5761 GB, free: 320 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.1656, allocations: 281.4 kB / 0.5764 GB, free: 32 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004429/0.166, allocations: 432.4 kB / 0.5768 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/0.1663, allocations: 187 kB / 0.577 GB, free: 15.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.1665, allocations: 386.8 kB / 0.5773 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006404/0.1672, allocations: 302.5 kB / 0.5776 GB, free: 14.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007959/0.168, allocations: 0.4965 MB / 0.5781 GB, free: 14.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.1695, allocations: 0.8594 MB / 0.5789 GB, free: 13.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1695, allocations: 0 / 0.5789 GB, free: 13.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001867/0.1714, allocations: 0.9993 MB / 0.5799 GB, free: 12.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.1714, allocations: 8 kB / 0.5799 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.1714, allocations: 8.438 kB / 0.5799 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.1714, allocations: 12 kB / 0.5799 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.1725, allocations: 279.6 kB / 0.5802 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.221e-05/0.1725, allocations: 19.92 kB / 0.5802 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.173, allocations: 44.05 kB / 0.5803 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-05/0.1731, allocations: 43.92 kB / 0.5803 GB, free: 11.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * Array equations: 0 * 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.0003501/0.1734, allocations: 237.5 kB / 0.5805 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.1736, allocations: 79.53 kB / 0.5806 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005006/0.1741, allocations: 223.1 kB / 0.5808 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.1742, allocations: 12 kB / 0.5808 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.1742, allocations: 4 kB / 0.5808 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.1742, allocations: 3.984 kB / 0.5809 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003921/0.1781, allocations: 2.332 MB / 0.5831 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.1781, allocations: 7.938 kB / 0.5831 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.1792, allocations: 243.7 kB / 0.5834 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.1792, allocations: 8.281 kB / 0.5834 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.942e-05/0.1793, allocations: 35.98 kB / 0.5834 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.1793, allocations: 8 kB / 0.5834 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.1793, allocations: 7.938 kB / 0.5834 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/0.1821, allocations: 1.886 MB / 0.5853 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.1824, allocations: 200.6 kB / 0.5855 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.1825, allocations: 35.98 kB / 0.5855 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006202/0.1832, allocations: 39.97 kB / 0.5855 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.1833, allocations: 84.33 kB / 0.5856 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.328e-05/0.1834, allocations: 35.98 kB / 0.5856 GB, free: 6.195 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003124/0.1837, allocations: 267.1 kB / 0.5859 GB, free: 5.938 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1837, allocations: 4 kB / 0.5859 GB, free: 5.934 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009618/0.1847, allocations: 200.1 kB / 0.5861 GB, free: 5.738 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 116 * Array equations: 0 * 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.003251/0.1879, allocations: 2.467 MB / 0.5885 GB, free: 3.215 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.1897, allocations: 0.7846 MB / 0.5893 GB, free: 2.434 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.433e-06/0.1897, allocations: 8 kB / 0.5893 GB, free: 2.426 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000879/0.1905, allocations: 458.6 kB / 0.5897 GB, free: 1.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.1919, allocations: 153.7 kB / 0.5899 GB, free: 1.836 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.254/0.4459, allocations: 7.283 MB / 0.597 GB, free: 32.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.4464, allocations: 0.9526 MB / 0.5979 GB, free: 31.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004562/0.4469, allocations: 101.4 kB / 0.598 GB, free: 31.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004104/0.4473, allocations: 276.6 kB / 0.5983 GB, free: 31.64 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4473, allocations: 0 / 0.5983 GB, free: 31.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06507/0.5124, allocations: 14.34 MB / 0.6123 GB, free: 28.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.659/10.17, allocations: 10.23 kB / 0.6123 GB, free: 28.23 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219824 ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.32930663228035] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper.s_rel', 'elastoGap.s_rel', 'elastoGap.v_rel', 'position.s', 'position.v', 'position1.s', 'position1.v', 'position2.s', 'position2.v', 'relativeStates.s_rel', 'relativeStates.v_rel', 'slidingMass.s', 'slidingMass.v', 'springDamper.s_rel', 'springDamper.v_rel'] 10.249769438058138 10.26501086 10.118249998 Calling exit ...