Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007711/0.0007711, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008731/0.0008731, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8695/0.8695, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.428e-05, allocations: 4.953 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003575/0.003589, allocations: 3.33 MB / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.004705, allocations: 0.9352 MB / 328.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.004858, allocations: 11.94 kB / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.005023, allocations: 83.16 kB / 328.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.005241, allocations: 174.4 kB / 329.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.005615, allocations: 163.6 kB / 329.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004267/0.006041, allocations: 0.6576 MB / 329.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.006257, allocations: 122 kB / 330 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003291/0.006587, allocations: 379.2 kB / 330.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.006778, allocations: 211.3 kB / 330.6 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.006831, allocations: 52 kB / 330.7 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.411e-05/0.006906, allocations: 59.92 kB / 330.7 MB, free: 9.766 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.205e-05/0.006968, allocations: 123.6 kB / 330.8 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.007087, allocations: 199.5 kB / 331 MB, free: 9.449 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004367/0.007523, allocations: 0.6424 MB / 331.7 MB, free: 8.805 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.007525, allocations: 0 / 331.7 MB, free: 8.805 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.007526, allocations: 4 kB / 331.7 MB, free: 8.801 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.007532, allocations: 0 / 331.7 MB, free: 8.801 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.000911/0.008443, allocations: 0.7649 MB / 332.4 MB, free: 8.008 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.008487, allocations: 16.02 kB / 332.5 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.775e-05/0.008555, allocations: 82.72 kB / 332.5 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.008691, allocations: 72.55 kB / 332.6 MB, free: 7.832 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.009035, allocations: 297.3 kB / 332.9 MB, free: 7.512 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.009067, allocations: 41.12 kB / 332.9 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003722/0.009439, allocations: 51.95 kB / 333 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000464/0.009903, allocations: 422.3 kB / 333.4 MB, free: 7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.009921, allocations: 4 kB / 333.4 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.00995, allocations: 20 kB / 333.4 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.009959, allocations: 12 kB / 333.4 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.01041, allocations: 379.8 kB / 333.8 MB, free: 6.598 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.01186, allocations: 1.235 MB / 335 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005018/0.01236, allocations: 484 kB / 335.5 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/0.01274, allocations: 308.1 kB / 335.8 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.01278, allocations: 8.656 kB / 335.8 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.0128, allocations: 47.2 kB / 335.9 MB, free: 4.457 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 2.134e-06/0.0128, allocations: 3.938 kB / 335.9 MB, free: 4.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=107): time 0.003937/0.01674, allocations: 2.858 MB / 338.7 MB, free: 1.551 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.01677, allocations: 68.41 kB / 338.8 MB, free: 1.473 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.01697, allocations: 292.5 kB / 339.1 MB, free: 1.172 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.017, allocations: 41.7 kB / 339.1 MB, free: 1.125 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.01711, allocations: 205.5 kB / 339.3 MB, free: 0.918 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.01729, allocations: 376.7 kB / 339.7 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.01742, allocations: 146.7 kB / 339.8 MB, free: 408 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000374/0.01779, allocations: 366.8 kB / 340.2 MB, free: 32 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.01808, allocations: 233.9 kB / 340.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.01839, allocations: 317.4 kB / 340.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006077/0.019, allocations: 0.5844 MB / 341.3 MB, free: 14.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.019, allocations: 0 / 341.3 MB, free: 14.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.000736/0.01974, allocations: 0.7354 MB / 342 MB, free: 14.15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.01975, allocations: 8 kB / 342.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01976, allocations: 0 / 342.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.01977, allocations: 4 kB / 342.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.02016, allocations: 199.7 kB / 342.3 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.02017, allocations: 8.047 kB / 342.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.0203, allocations: 35.98 kB / 342.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.02033, allocations: 27.98 kB / 342.3 MB, free: 13.87 MB / 314.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 (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.0001678/0.0205, allocations: 197.6 kB / 342.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.02055, allocations: 67.56 kB / 342.6 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.771e-05/0.02064, allocations: 77.62 kB / 342.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.02065, allocations: 8 kB / 342.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.02065, allocations: 0 / 342.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.02066, allocations: 7.984 kB / 342.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.02238, allocations: 1.79 MB / 344.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.02238, allocations: 11.94 kB / 344.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003914/0.02278, allocations: 199.6 kB / 344.7 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.02278, allocations: 12 kB / 344.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.02281, allocations: 24 kB / 344.7 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.02282, allocations: 11.98 kB / 344.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.02282, allocations: 7.938 kB / 344.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.02398, allocations: 1.279 MB / 346 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.02404, allocations: 63.53 kB / 346.1 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.02409, allocations: 28.06 kB / 346.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.02425, allocations: 27.98 kB / 346.1 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.02433, allocations: 84.73 kB / 346.2 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.02436, allocations: 32 kB / 346.2 MB, free: 9.762 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.02447, allocations: 191.1 kB / 346.4 MB, free: 9.578 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02447, allocations: 7.938 kB / 346.4 MB, free: 9.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003041/0.02478, allocations: 159.9 kB / 346.6 MB, free: 9.414 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 (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.001602/0.02638, allocations: 1.862 MB / 348.5 MB, free: 7.465 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006777/0.02706, allocations: 0.6334 MB / 349.1 MB, free: 6.832 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.02706, allocations: 4.062 kB / 349.1 MB, free: 6.828 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.02743, allocations: 385.4 kB / 349.5 MB, free: 6.453 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.02793, allocations: 145 kB / 349.6 MB, free: 6.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004566/0.03249, allocations: 5.142 MB / 354.7 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.03266, allocations: 280.9 kB / 355 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.03285, allocations: 89.19 kB / 355.1 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.03306, allocations: 216.4 kB / 355.3 MB, free: 368 kB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.03306, allocations: 0 / 355.3 MB, free: 368 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.05705, allocations: 13.54 MB / 368.9 MB, free: 3.062 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.249/7.306, allocations: 14.64 kB / 368.9 MB, free: 3.055 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.05211637262255] 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.394014720804989 7.403108184 7.393775569 Calling exit ...