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.0013/0.0013, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001367/0.001367, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.456/1.456, allocations: 230.5 MB / 254.8 MB, free: 15.27 MB / 206.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.001981/0.001981, allocations: 79.8 kB / 373.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.11, allocations: 53.32 MB / 427 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005015/0.115, allocations: 3.677 MB / 430.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.1171, allocations: 0.9587 MB / 431.6 MB, free: 192 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.1173, allocations: 11.94 kB / 431.6 MB, free: 180 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.1175, allocations: 91.03 kB / 431.7 MB, free: 88 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.1179, allocations: 162.6 kB / 431.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.1184, allocations: 167.7 kB / 432.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000717/0.1191, allocations: 0.6228 MB / 432.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/0.1194, allocations: 141.5 kB / 432.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004535/0.1199, allocations: 267 kB / 433.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003719/0.1202, allocations: 282.8 kB / 433.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.792e-05/0.1203, allocations: 52 kB / 433.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.1204, allocations: 56 kB / 433.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.1206, allocations: 123.6 kB / 433.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000276/0.1208, allocations: 286.5 kB / 433.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007203/0.1216, allocations: 0.6185 MB / 434.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.1216, allocations: 7.922 kB / 434.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1216, allocations: 0 / 434.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.1216, allocations: 0 / 434.5 MB, free: 13.31 MB / 366.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.001617/0.1232, allocations: 0.8568 MB / 435.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.1232, allocations: 8.031 kB / 435.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.1233, allocations: 86.7 kB / 435.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.1236, allocations: 72.55 kB / 435.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.1241, allocations: 354.7 kB / 435.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.1242, allocations: 37 kB / 435.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.1243, allocations: 47.95 kB / 435.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007976/0.1251, allocations: 426.4 kB / 436.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.1251, allocations: 0 / 436.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/0.1252, allocations: 23.98 kB / 436.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.1252, allocations: 12 kB / 436.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007346/0.1259, allocations: 391.7 kB / 436.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.1283, allocations: 1.375 MB / 438.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008129/0.1291, allocations: 475.3 kB / 438.6 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006773/0.1298, allocations: 319.3 kB / 438.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.249e-05/0.1299, allocations: 16.58 kB / 438.9 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.1299, allocations: 39.16 kB / 439 MB, free: 8.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.064e-06/0.1299, allocations: 7.938 kB / 439 MB, free: 8.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=107): time 0.006886/0.1368, allocations: 3.004 MB / 442 MB, free: 5.547 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.1368, allocations: 64.41 kB / 442.1 MB, free: 5.473 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.1372, allocations: 280.6 kB / 442.3 MB, free: 5.188 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.654e-05/0.1372, allocations: 41.7 kB / 442.4 MB, free: 5.141 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.1374, allocations: 209.5 kB / 442.6 MB, free: 4.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.1377, allocations: 380.7 kB / 442.9 MB, free: 4.555 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.1379, allocations: 150.7 kB / 443.1 MB, free: 4.402 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.1381, allocations: 366.8 kB / 443.5 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004513/0.1385, allocations: 241.8 kB / 443.7 MB, free: 3.801 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005259/0.1391, allocations: 317.4 kB / 444 MB, free: 3.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.1401, allocations: 0.5766 MB / 444.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1401, allocations: 0 / 444.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001274/0.1414, allocations: 0.7393 MB / 445.3 MB, free: 2.148 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1414, allocations: 4 kB / 445.3 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.1414, allocations: 4 kB / 445.3 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1414, allocations: 7.984 kB / 445.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007582/0.1422, allocations: 195.7 kB / 445.5 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.1422, allocations: 4 kB / 445.5 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.1425, allocations: 36.05 kB / 445.6 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/0.1425, allocations: 31.98 kB / 445.6 MB, free: 1.871 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.0002682/0.1428, allocations: 197.6 kB / 445.8 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.1429, allocations: 55.67 kB / 445.8 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.1431, allocations: 77.62 kB / 445.9 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.1431, allocations: 12 kB / 445.9 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.1431, allocations: 3.938 kB / 445.9 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.1431, allocations: 3.984 kB / 445.9 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2091/0.3522, allocations: 1.941 MB / 447.9 MB, free: 24.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.3523, allocations: 5.594 kB / 447.9 MB, free: 24.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008439/0.3531, allocations: 193.1 kB / 448.1 MB, free: 24.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-05/0.3531, allocations: 9.719 kB / 448.1 MB, free: 24.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/0.3532, allocations: 28.97 kB / 448.1 MB, free: 24.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.856e-05/0.3532, allocations: 13.28 kB / 448.1 MB, free: 24.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/0.3532, allocations: 5.156 kB / 448.1 MB, free: 24.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.3549, allocations: 1.297 MB / 449.4 MB, free: 23.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.3551, allocations: 135.8 kB / 449.6 MB, free: 23.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.779e-05/0.3552, allocations: 24.69 kB / 449.6 MB, free: 23.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.3555, allocations: 30.36 kB / 449.6 MB, free: 23.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.3556, allocations: 78.47 kB / 449.7 MB, free: 23.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/0.3557, allocations: 34.44 kB / 449.7 MB, free: 23.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002049/0.3559, allocations: 195.3 kB / 449.9 MB, free: 23.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3559, allocations: 0 / 449.9 MB, free: 23.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005793/0.3565, allocations: 158.6 kB / 450.1 MB, free: 23.59 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.001851/0.3583, allocations: 1.864 MB / 451.9 MB, free: 22.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.3594, allocations: 0.63 MB / 452.6 MB, free: 22.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3594, allocations: 4.219 kB / 452.6 MB, free: 22.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005852/0.36, allocations: 387.9 kB / 452.9 MB, free: 22.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007927/0.3608, allocations: 142.8 kB / 453.1 MB, free: 22.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006618/0.3674, allocations: 5.253 MB / 458.3 MB, free: 19.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.3678, allocations: 0.8774 MB / 459.2 MB, free: 18.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003635/0.3682, allocations: 83.34 kB / 459.3 MB, free: 18.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/0.3685, allocations: 214.9 kB / 459.5 MB, free: 18.3 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3685, allocations: 4 kB / 459.5 MB, free: 18.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04266/0.4112, allocations: 12.42 MB / 471.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.058/9.469, allocations: 8.719 kB / 471.9 MB, free: 15.16 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: 11.972312455065548] 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.547874118201435 9.566337319 9.441301758 Calling exit ...