Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000904/0.000904, allocations: 83.64 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004423/0.004423, allocations: 164 kB / 24.7 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8976/0.8976, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.76e-05, allocations: 6.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003248/0.003276, allocations: 3.205 MB / 301.6 MB, free: 292 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1385/0.1417, allocations: 0.8744 MB / 302.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004332/0.1422, allocations: 13.97 kB / 302.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.1424, allocations: 80.7 kB / 302.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.1428, allocations: 151.2 kB / 302.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.1433, allocations: 162.6 kB / 302.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006571/0.144, allocations: 0.6234 MB / 303.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002913/0.1442, allocations: 129.5 kB / 303.7 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005332/0.1448, allocations: 359.3 kB / 304 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.1451, allocations: 208.1 kB / 304.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.135e-05/0.1451, allocations: 53.34 kB / 304.3 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.666e-05/0.1452, allocations: 50.5 kB / 304.3 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.613e-05/0.1453, allocations: 122.9 kB / 304.4 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.1454, allocations: 189 kB / 304.6 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006193/0.1461, allocations: 0.6198 MB / 305.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1461, allocations: 0 / 305.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1461, allocations: 0 / 305.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.1461, allocations: 0.5 kB / 305.2 MB, free: 12.55 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001289/0.1474, allocations: 0.7806 MB / 306 MB, free: 12.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.1474, allocations: 14.7 kB / 306 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.571e-05/0.1475, allocations: 90.42 kB / 306.1 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.822e-05/0.1476, allocations: 55.17 kB / 306.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005263/0.1481, allocations: 264.3 kB / 306.4 MB, free: 11.74 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.1482, allocations: 32.28 kB / 306.5 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-05/0.1483, allocations: 55.97 kB / 306.5 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008964/0.1492, allocations: 453.2 kB / 307 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.1492, allocations: 1.562 kB / 307 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.1492, allocations: 24.41 kB / 307 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.1492, allocations: 11.94 kB / 307 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008492/0.1501, allocations: 453.4 kB / 307.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.152, allocations: 1.24 MB / 308.7 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007649/0.1528, allocations: 0.4955 MB / 309.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006549/0.1534, allocations: 347 kB / 309.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.164e-05/0.1535, allocations: 8.812 kB / 309.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.1535, allocations: 39.19 kB / 309.6 MB, free: 10.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=67): time 4.067e-06/0.1535, allocations: 0 / 309.6 MB, free: 10.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=103): time 0.005027/0.1585, allocations: 3.01 MB / 312.6 MB, free: 9.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.1586, allocations: 65.97 kB / 312.6 MB, free: 8.996 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.1588, allocations: 250.4 kB / 312.9 MB, free: 8.848 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.1588, allocations: 40.45 kB / 312.9 MB, free: 8.805 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.1589, allocations: 199.3 kB / 313.1 MB, free: 8.637 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.1591, allocations: 362.1 kB / 313.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.1592, allocations: 145.9 kB / 313.6 MB, free: 8.273 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.72e-05/0.1593, allocations: 362.4 kB / 314 MB, free: 7.938 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/0.1597, allocations: 273.6 kB / 314.2 MB, free: 7.852 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004865/0.1602, allocations: 358.9 kB / 314.6 MB, free: 7.711 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008325/0.161, allocations: 0.6163 MB / 315.2 MB, free: 7.438 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.161, allocations: 1.344 kB / 315.2 MB, free: 7.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001039/0.1621, allocations: 0.7875 MB / 316 MB, free: 7.125 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.1621, allocations: 6.25 kB / 316 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.1621, allocations: 1.25 kB / 316 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.1621, allocations: 7.875 kB / 316 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.1626, allocations: 211.9 kB / 316.2 MB, free: 7.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.1626, allocations: 8.438 kB / 316.2 MB, free: 7.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.1629, allocations: 46.09 kB / 316.3 MB, free: 7.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.1629, allocations: 30.27 kB / 316.3 MB, free: 7.074 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0001863/0.1631, allocations: 196.8 kB / 316.5 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.1631, allocations: 55.23 kB / 316.5 MB, free: 6.871 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.736e-05/0.1632, allocations: 71.16 kB / 316.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.1632, allocations: 15.83 kB / 316.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.981e-05/0.1633, allocations: 7.375 kB / 316.6 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.1633, allocations: 6.391 kB / 316.6 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.1654, allocations: 1.832 MB / 318.5 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.1655, allocations: 5.781 kB / 318.5 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004824/0.1659, allocations: 208.2 kB / 318.7 MB, free: 5.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.1659, allocations: 8.344 kB / 318.7 MB, free: 5.777 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.166, allocations: 26.16 kB / 318.7 MB, free: 5.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.899e-06/0.166, allocations: 13.19 kB / 318.7 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.166, allocations: 9.328 kB / 318.7 MB, free: 5.758 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.1675, allocations: 1.361 MB / 320.1 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1676, allocations: 53.19 kB / 320.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.1677, allocations: 27.67 kB / 320.2 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.1679, allocations: 49.16 kB / 320.2 MB, free: 4.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.168, allocations: 76.84 kB / 320.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.168, allocations: 38.58 kB / 320.3 MB, free: 4.953 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.1681, allocations: 182.7 kB / 320.5 MB, free: 4.844 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1681, allocations: 0 / 320.5 MB, free: 4.844 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004333/0.1685, allocations: 154.5 kB / 320.7 MB, free: 4.816 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.00164/0.1702, allocations: 1.933 MB / 322.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.1713, allocations: 0.6955 MB / 323.3 MB, free: 3.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.1714, allocations: 5.219 kB / 323.3 MB, free: 3.316 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.1718, allocations: 413.1 kB / 323.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.1724, allocations: 132.5 kB / 323.8 MB, free: 3.137 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005482/0.1779, allocations: 5.161 MB / 329 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.1781, allocations: 264.5 kB / 329.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002828/0.1784, allocations: 80.97 kB / 329.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.1786, allocations: 200.4 kB / 329.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of SimCode: time 1.492e-06/0.1786, allocations: 0 / 329.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03062/0.2093, allocations: 12.74 MB / 342.3 MB, free: 1.809 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.149/7.358, allocations: 15.94 kB / 342.3 MB, free: 1.793 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.083496891893446] Failed to read output from testmodel.py, exit status != 0: ['time', 'friction.v_rel', 'innerContactA.s_rel', 'innerContactB.s_rel', 'outerContactA.v_rel', 'outerContactB.s_rel', 'outerContactB.v_rel'] 7.451941458508372 7.46645238 7.31764154 Calling exit ...