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.001167/0.001167, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00123/0.00123, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8777/0.8777, allocations: 173.3 MB / 200.4 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 318.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/1.876e-05, allocations: 6.219 kB / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003087/0.003105, allocations: 3.219 MB / 321.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.004269, allocations: 0.8451 MB / 322.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.004461, allocations: 15.88 kB / 322.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.004618, allocations: 83.11 kB / 322.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.00483, allocations: 154.6 kB / 322.7 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.005185, allocations: 167.6 kB / 322.9 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.005614, allocations: 0.6226 MB / 323.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.005812, allocations: 142 kB / 323.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.006107, allocations: 355.2 kB / 324 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.006284, allocations: 211.4 kB / 324.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.326e-05/0.006347, allocations: 52 kB / 324.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.547e-05/0.006393, allocations: 48 kB / 324.3 MB, free: 464 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.006454, allocations: 119.6 kB / 324.4 MB, free: 344 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.006566, allocations: 187.6 kB / 324.6 MB, free: 156 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.006967, allocations: 0.623 MB / 325.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.006969, allocations: 0 / 325.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.00697, allocations: 0 / 325.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.006977, allocations: 0 / 325.2 MB, free: 15.53 MB / 298.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.0009327/0.00791, allocations: 0.7739 MB / 326 MB, free: 14.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.007946, allocations: 12.91 kB / 326 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.254e-05/0.008019, allocations: 86.72 kB / 326.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.524e-05/0.008084, allocations: 60.56 kB / 326.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.008392, allocations: 264.4 kB / 326.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.008425, allocations: 37.38 kB / 326.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.008478, allocations: 52.36 kB / 326.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.009004, allocations: 446.9 kB / 327 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.009022, allocations: 4.141 kB / 327 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.00905, allocations: 24.12 kB / 327 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.009058, allocations: 12 kB / 327 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.009645, allocations: 459.6 kB / 327.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.01105, allocations: 1.227 MB / 328.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005624/0.01161, allocations: 0.5024 MB / 329.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/0.01205, allocations: 344 kB / 329.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.01209, allocations: 12.59 kB / 329.5 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.0121, allocations: 39.22 kB / 329.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 1.693e-06/0.01211, allocations: 0 / 329.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.004284/0.01639, allocations: 3.006 MB / 332.6 MB, free: 8.012 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.01643, allocations: 72.33 kB / 332.6 MB, free: 7.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.01661, allocations: 252.2 kB / 332.9 MB, free: 7.676 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.01664, allocations: 41.7 kB / 332.9 MB, free: 7.629 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.456e-05/0.01674, allocations: 197.6 kB / 333.1 MB, free: 7.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.0169, allocations: 368.8 kB / 333.5 MB, free: 7.066 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.01704, allocations: 142.7 kB / 333.6 MB, free: 6.918 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.01714, allocations: 362.8 kB / 334 MB, free: 6.555 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.01751, allocations: 273.8 kB / 334.2 MB, free: 6.289 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.01789, allocations: 357.3 kB / 334.6 MB, free: 5.934 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007517/0.01864, allocations: 0.6117 MB / 335.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01865, allocations: 4 kB / 335.2 MB, free: 5.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0008764/0.01952, allocations: 0.7823 MB / 336 MB, free: 4.523 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01954, allocations: 6.656 kB / 336 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.01955, allocations: 4 kB / 336 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.01956, allocations: 8.062 kB / 336 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.01997, allocations: 207.7 kB / 336.2 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.01998, allocations: 7.938 kB / 336.2 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.02013, allocations: 47.95 kB / 336.3 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.02016, allocations: 27.98 kB / 336.3 MB, free: 4.223 MB / 298.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.0001526/0.02032, allocations: 194.3 kB / 336.5 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.02037, allocations: 63.61 kB / 336.5 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.191e-05/0.02045, allocations: 73.39 kB / 336.6 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.02046, allocations: 8 kB / 336.6 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.02046, allocations: 3.938 kB / 336.6 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.02047, allocations: 3.984 kB / 336.6 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.0223, allocations: 1.84 MB / 338.5 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.0223, allocations: 4 kB / 338.5 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.0227, allocations: 207.7 kB / 338.7 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.02271, allocations: 12 kB / 338.7 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.02274, allocations: 20 kB / 338.7 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.02275, allocations: 15.92 kB / 338.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.02275, allocations: 11.94 kB / 338.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.02412, allocations: 1.373 MB / 340.1 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.02417, allocations: 47.67 kB / 340.1 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.02421, allocations: 24.06 kB / 340.2 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.0244, allocations: 55.89 kB / 340.2 MB, free: 76 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.02448, allocations: 68.81 kB / 340.3 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.02452, allocations: 43.94 kB / 340.3 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.02462, allocations: 179.1 kB / 340.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02462, allocations: 0 / 340.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003082/0.02493, allocations: 156 kB / 340.7 MB, free: 15.64 MB / 314.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.001637/0.02657, allocations: 1.929 MB / 342.6 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008456/0.02741, allocations: 0.6957 MB / 343.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02742, allocations: 4 kB / 343.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004518/0.02787, allocations: 414.7 kB / 343.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.02833, allocations: 121 kB / 343.8 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/0.03299, allocations: 5.161 MB / 349 MB, free: 7.031 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.03316, allocations: 268.5 kB / 349.2 MB, free: 6.738 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001953/0.03336, allocations: 76.86 kB / 349.3 MB, free: 6.664 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.03357, allocations: 200.4 kB / 349.5 MB, free: 6.469 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.03357, allocations: 0 / 349.5 MB, free: 6.469 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.05865, allocations: 12.76 MB / 362.3 MB, free: 9.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.973/7.031, allocations: 7.984 kB / 362.3 MB, free: 9.922 MB / 330.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_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: 8.803203326649964] 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.117942627519369 7.126690407 7.117985562 Calling exit ...