Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 107.8 kB / 18.48 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 198.6 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 249.8 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 51.92 kB / 366.3 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1158, allocations: 52.13 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005563/0.1213, allocations: 3.563 MB / 422 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.1235, allocations: 0.8762 MB / 422.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005713/0.1241, allocations: 11.94 kB / 422.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.1245, allocations: 83.16 kB / 423 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006589/0.1251, allocations: 146.7 kB / 423.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000666/0.1258, allocations: 155.7 kB / 423.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.1268, allocations: 0.5879 MB / 423.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.1272, allocations: 149.5 kB / 424 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004692/0.1277, allocations: 247.2 kB / 424.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003388/0.128, allocations: 270.9 kB / 424.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.232e-05/0.1281, allocations: 48 kB / 424.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.52e-05/0.1282, allocations: 52 kB / 424.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.1283, allocations: 123.6 kB / 424.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.1286, allocations: 274.6 kB / 425 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007665/0.1293, allocations: 0.5991 MB / 425.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1293, allocations: 3.938 kB / 425.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1293, allocations: 0 / 425.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.1294, allocations: 0 / 425.6 MB, free: 5.387 MB / 350.1 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.001748/0.1311, allocations: 0.8609 MB / 426.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1312, allocations: 8.031 kB / 426.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.273e-05/0.1312, allocations: 13.19 kB / 426.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.569e-05/0.1313, allocations: 94.64 kB / 426.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.1314, allocations: 56.61 kB / 426.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.1319, allocations: 331.4 kB / 427 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.1319, allocations: 37.38 kB / 427 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.751e-05/0.132, allocations: 48.33 kB / 427.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009315/0.133, allocations: 458.3 kB / 427.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.133, allocations: 4 kB / 427.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.133, allocations: 20 kB / 427.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.133, allocations: 8 kB / 427.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.1341, allocations: 455.7 kB / 428 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00242/0.1365, allocations: 1.375 MB / 429.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009724/0.1375, allocations: 0.4942 MB / 429.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008156/0.1383, allocations: 358.8 kB / 430.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.145e-05/0.1384, allocations: 8.562 kB / 430.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.1384, allocations: 39.06 kB / 430.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.665e-06/0.1384, allocations: 0 / 430.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of matching and sorting (n=103): time 0.007617/0.146, allocations: 3.158 MB / 433.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.1461, allocations: 64.41 kB / 433.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.1464, allocations: 251 kB / 433.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.1464, allocations: 41.7 kB / 433.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1466, allocations: 201.5 kB / 434 MB, free: 12.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/0.1468, allocations: 360.8 kB / 434.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.1471, allocations: 146.7 kB / 434.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.1473, allocations: 366.8 kB / 434.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006126/0.1479, allocations: 269.9 kB / 435.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000688/0.1486, allocations: 353.3 kB / 435.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.1498, allocations: 0.6156 MB / 436 MB, free: 10.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1498, allocations: 0 / 436 MB, free: 10.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00154/0.1514, allocations: 0.79 MB / 436.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.1514, allocations: 11.94 kB / 436.8 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1514, allocations: 0 / 436.8 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.1514, allocations: 4 kB / 436.8 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008178/0.1522, allocations: 215.7 kB / 437.1 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.1523, allocations: 4 kB / 437.1 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.1526, allocations: 48.02 kB / 437.1 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.416e-05/0.1527, allocations: 31.94 kB / 437.1 MB, free: 9.543 MB / 366.1 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.0002576/0.1529, allocations: 197.6 kB / 437.3 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.153, allocations: 59.61 kB / 437.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.1532, allocations: 73.39 kB / 437.5 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.1532, allocations: 8 kB / 437.5 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.1532, allocations: 4 kB / 437.5 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.1532, allocations: 7.984 kB / 437.5 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00324/0.1565, allocations: 1.98 MB / 439.5 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.1565, allocations: 4 kB / 439.5 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000825/0.1573, allocations: 208.3 kB / 439.7 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/0.1573, allocations: 11.94 kB / 439.7 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.286e-05/0.1574, allocations: 27.98 kB / 439.7 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.1574, allocations: 11.94 kB / 439.7 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.1574, allocations: 4 kB / 439.7 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/0.1598, allocations: 1.377 MB / 441.1 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.1599, allocations: 128.8 kB / 441.2 MB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.16, allocations: 27.94 kB / 441.3 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.1604, allocations: 55.95 kB / 441.3 MB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.1605, allocations: 68.8 kB / 441.4 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.1606, allocations: 35.98 kB / 441.4 MB, free: 5.047 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.1608, allocations: 178 kB / 441.6 MB, free: 4.871 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1608, allocations: 0 / 441.6 MB, free: 4.871 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000519/0.1613, allocations: 156 kB / 441.7 MB, free: 4.719 MB / 366.1 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.002783/0.1641, allocations: 1.944 MB / 443.7 MB, free: 2.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.1655, allocations: 0.6918 MB / 444.4 MB, free: 2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1656, allocations: 4 kB / 444.4 MB, free: 1.996 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007773/0.1663, allocations: 418.1 kB / 444.8 MB, free: 1.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008018/0.1671, allocations: 131.5 kB / 444.9 MB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1947/0.3618, allocations: 5.282 MB / 450.2 MB, free: 29.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.3621, allocations: 0.87 MB / 451.1 MB, free: 28.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003114/0.3624, allocations: 80.78 kB / 451.1 MB, free: 28.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.3627, allocations: 196 kB / 451.3 MB, free: 28.58 MB / 366.1 MB Notification: Performance of SimCode: time 1.283e-06/0.3627, allocations: 0 / 451.3 MB, free: 28.58 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.3967, allocations: 11.7 MB / 463 MB, free: 26.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.735/9.132, allocations: 12.34 kB / 463 MB, free: 26.19 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.449920763028786] 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'] 9.263052486989181 9.276947141 9.144621185 Calling exit ...