Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.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.001763/0.001763, allocations: 122.1 kB / 18.46 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.002174/0.002174, allocations: 215.3 kB / 21.41 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.49/1.49, allocations: 227.7 MB / 251.9 MB, free: 4 kB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001963/0.001963, allocations: 67.89 kB / 365.2 MB, free: 220 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1124, allocations: 50.55 MB / 415.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005069/0.1175, allocations: 3.646 MB / 419.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1192, allocations: 0.9509 MB / 420.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.1194, allocations: 8 kB / 420.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.1196, allocations: 87.09 kB / 420.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.1199, allocations: 158.6 kB / 420.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.1204, allocations: 171.6 kB / 420.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006772/0.1211, allocations: 0.6229 MB / 421.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003228/0.1214, allocations: 201.4 kB / 421.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.1218, allocations: 247.1 kB / 421.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003539/0.1222, allocations: 286.8 kB / 422.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.632e-05/0.1222, allocations: 48 kB / 422.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.1224, allocations: 56 kB / 422.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1225, allocations: 119.6 kB / 422.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002759/0.1228, allocations: 290.6 kB / 422.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006959/0.1235, allocations: 0.6185 MB / 423.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1235, allocations: 0 / 423.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1235, allocations: 0 / 423.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.1235, allocations: 4 kB / 423.2 MB, free: 6.102 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001549/0.1251, allocations: 0.8606 MB / 424.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1251, allocations: 8.031 kB / 424.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.1252, allocations: 86.7 kB / 424.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/0.1254, allocations: 72.55 kB / 424.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.126, allocations: 358.7 kB / 424.6 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.126, allocations: 33 kB / 424.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.174e-05/0.1261, allocations: 51.95 kB / 424.7 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007463/0.1269, allocations: 418.4 kB / 425.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.1269, allocations: 4 kB / 425.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.567e-05/0.127, allocations: 20 kB / 425.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.127, allocations: 12 kB / 425.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007153/0.1277, allocations: 387.8 kB / 425.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.1301, allocations: 1.383 MB / 426.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008191/0.1309, allocations: 0.507 MB / 427.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000671/0.1316, allocations: 345.4 kB / 427.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.916e-05/0.1316, allocations: 16.62 kB / 427.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.1317, allocations: 47.09 kB / 427.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.354e-06/0.1317, allocations: 0 / 427.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006714/0.1384, allocations: 3.008 MB / 430.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.1385, allocations: 64.41 kB / 430.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.1388, allocations: 276.6 kB / 431.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.1389, allocations: 49.7 kB / 431.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.139, allocations: 209.5 kB / 431.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.1393, allocations: 384.7 kB / 431.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.1396, allocations: 146.7 kB / 431.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.1398, allocations: 362.8 kB / 432.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004358/0.1402, allocations: 237.9 kB / 432.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/0.1407, allocations: 325.4 kB / 432.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009934/0.1417, allocations: 0.5766 MB / 433.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1417, allocations: 0 / 433.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00125/0.143, allocations: 0.7354 MB / 434.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.143, allocations: 4 kB / 434.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.143, allocations: 8.047 kB / 434.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.1431, allocations: 8 kB / 434.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007391/0.1438, allocations: 195.7 kB / 434.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.1438, allocations: 4 kB / 434.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.1441, allocations: 27.98 kB / 434.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.1442, allocations: 31.98 kB / 434.4 MB, free: 10.58 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 (117): * Single equations (assignments): 117 * 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.0002641/0.1445, allocations: 201.6 kB / 434.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.543e-05/0.1446, allocations: 55.67 kB / 434.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/0.1447, allocations: 81.62 kB / 434.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.1448, allocations: 12 kB / 434.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.1448, allocations: 0 / 434.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.1448, allocations: 3.984 kB / 434.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.1477, allocations: 1.941 MB / 436.7 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.1477, allocations: 8 kB / 436.7 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007354/0.1485, allocations: 191.7 kB / 436.9 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.1485, allocations: 8 kB / 436.9 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.076e-05/0.1486, allocations: 28.59 kB / 436.9 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.171e-05/0.1486, allocations: 11.94 kB / 436.9 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.1486, allocations: 11.98 kB / 437 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.1505, allocations: 1.287 MB / 438.2 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.1507, allocations: 136.8 kB / 438.4 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.622e-05/0.1508, allocations: 28 kB / 438.4 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.1511, allocations: 31.92 kB / 438.4 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.1513, allocations: 80.78 kB / 438.5 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/0.1514, allocations: 35.98 kB / 438.5 MB, free: 6.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002607/0.1516, allocations: 199.1 kB / 438.7 MB, free: 6.039 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1517, allocations: 0 / 438.7 MB, free: 6.039 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005622/0.1522, allocations: 156 kB / 438.9 MB, free: 5.887 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 (107): * Single equations (assignments): 107 * 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.002341/0.1546, allocations: 1.866 MB / 440.8 MB, free: 3.938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.1558, allocations: 0.6724 MB / 441.4 MB, free: 3.262 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1558, allocations: 0 / 441.4 MB, free: 3.262 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006565/0.1565, allocations: 421.4 kB / 441.8 MB, free: 2.852 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008498/0.1573, allocations: 146.5 kB / 442 MB, free: 2.715 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2127/0.37, allocations: 5.247 MB / 447.2 MB, free: 28.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3704, allocations: 0.8784 MB / 448.1 MB, free: 28.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003529/0.3707, allocations: 85.03 kB / 448.2 MB, free: 28.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.371, allocations: 213.9 kB / 448.4 MB, free: 28.1 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.371, allocations: 0 / 448.4 MB, free: 28.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04545/0.4165, allocations: 12.32 MB / 460.7 MB, free: 25.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.171/9.587, allocations: 4.75 kB / 460.7 MB, free: 25.75 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.187761884997599] 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.663548616925254 9.679937994 9.553474961 Calling exit ...