Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.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.001141/0.001141, allocations: 105 kB / 19.74 MB, free: 2.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.00125/0.00125, allocations: 217.6 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 230.2 MB / 256.2 MB, free: 8.758 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.204/0.204, allocations: 46.89 MB / 359.3 MB, free: 4.996 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.00213/0.00213, allocations: 83.84 kB / 0.494 GB, free: 9.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2605, allocations: 65.97 MB / 0.5584 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004146/0.2647, allocations: 3.178 MB / 0.5615 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.2664, allocations: 1.079 MB / 0.5625 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.2665, allocations: 11.94 kB / 0.5626 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.2667, allocations: 63.31 kB / 0.5626 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.2669, allocations: 126.9 kB / 0.5627 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.2673, allocations: 179.5 kB / 0.5629 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.2678, allocations: 469.8 kB / 0.5634 GB, free: 112 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.268, allocations: 82.25 kB / 0.5634 GB, free: 24 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.2682, allocations: 175.3 kB / 0.5636 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.2684, allocations: 183.2 kB / 0.5638 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.475e-05/0.2685, allocations: 32 kB / 0.5638 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.2686, allocations: 51.98 kB / 0.5639 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.779e-05/0.2686, allocations: 79.69 kB / 0.5639 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.2688, allocations: 195.1 kB / 0.5641 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004829/0.2693, allocations: 457.9 kB / 0.5646 GB, free: 14.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2693, allocations: 0 / 0.5646 GB, free: 14.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2693, allocations: 0 / 0.5646 GB, free: 14.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.2693, allocations: 8 kB / 0.5646 GB, free: 14.86 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001114/0.2704, allocations: 0.6936 MB / 0.5652 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.2705, allocations: 12.03 kB / 0.5652 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.068e-05/0.2706, allocations: 70.7 kB / 0.5653 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002711/0.2708, allocations: 64.64 kB / 0.5654 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.2712, allocations: 310.7 kB / 0.5657 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.2712, allocations: 25.38 kB / 0.5657 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.431e-05/0.2713, allocations: 48.11 kB / 0.5657 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/0.2719, allocations: 351.6 kB / 0.5661 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.2719, allocations: 15.88 kB / 0.5661 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.2719, allocations: 20 kB / 0.5661 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.2719, allocations: 12 kB / 0.5661 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000487/0.2724, allocations: 251.2 kB / 0.5664 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.2745, allocations: 1.514 MB / 0.5678 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007068/0.2752, allocations: 407.4 kB / 0.5682 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.2754, allocations: 137.7 kB / 0.5684 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.2754, allocations: 7.984 kB / 0.5684 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.2754, allocations: 42.5 kB / 0.5684 GB, free: 10.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 1.703e-06/0.2754, allocations: 0 / 0.5684 GB, free: 10.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003119/0.2786, allocations: 1.987 MB / 0.5704 GB, free: 8.371 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.2787, allocations: 191.9 kB / 0.5705 GB, free: 8.141 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.2789, allocations: 255 kB / 0.5708 GB, free: 7.879 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.279, allocations: 29.7 kB / 0.5708 GB, free: 7.844 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.2791, allocations: 208.7 kB / 0.571 GB, free: 7.637 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.2792, allocations: 194.4 kB / 0.5712 GB, free: 7.445 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.2794, allocations: 98.3 kB / 0.5713 GB, free: 7.344 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.2795, allocations: 346.8 kB / 0.5716 GB, free: 6.996 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.2798, allocations: 113.3 kB / 0.5717 GB, free: 6.883 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/0.2802, allocations: 307.8 kB / 0.572 GB, free: 6.508 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/0.2808, allocations: 449.3 kB / 0.5724 GB, free: 5.992 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2808, allocations: 0 / 0.5724 GB, free: 5.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008038/0.2816, allocations: 0.4891 MB / 0.5729 GB, free: 5.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2816, allocations: 8 kB / 0.5729 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.2816, allocations: 8 kB / 0.5729 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2817, allocations: 8 kB / 0.5729 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.2821, allocations: 135.8 kB / 0.5731 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.2821, allocations: 20.31 kB / 0.5731 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.2824, allocations: 31.88 kB / 0.5731 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.2824, allocations: 24 kB / 0.5731 GB, free: 5.266 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0001761/0.2826, allocations: 165.7 kB / 0.5733 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.2827, allocations: 43.7 kB / 0.5733 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.283, allocations: 123.3 kB / 0.5735 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.283, allocations: 8 kB / 0.5735 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.283, allocations: 3.938 kB / 0.5735 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.283, allocations: 11.98 kB / 0.5735 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.2849, allocations: 1.246 MB / 0.5747 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2849, allocations: 4 kB / 0.5747 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/0.2854, allocations: 115.8 kB / 0.5748 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.2854, allocations: 8 kB / 0.5748 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.2854, allocations: 20.3 kB / 0.5748 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.2854, allocations: 8 kB / 0.5749 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.2854, allocations: 7.938 kB / 0.5749 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.2865, allocations: 1.009 MB / 0.5758 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.506e-05/0.2866, allocations: 116.8 kB / 0.576 GB, free: 2.199 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.2867, allocations: 15.94 kB / 0.576 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.287, allocations: 12 kB / 0.576 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.2871, allocations: 43.83 kB / 0.576 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.2871, allocations: 16 kB / 0.576 GB, free: 2.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.2873, allocations: 186 kB / 0.5762 GB, free: 1.934 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2873, allocations: 0 / 0.5762 GB, free: 1.934 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006019/0.2879, allocations: 96 kB / 0.5763 GB, free: 1.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.001398/0.2893, allocations: 1.566 MB / 0.5778 GB, free: 224 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006575/0.29, allocations: 339.2 kB / 0.5782 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.29, allocations: 0 / 0.5782 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.2902, allocations: 164 kB / 0.5783 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009321/0.2912, allocations: 98.22 kB / 0.5784 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005567/0.2967, allocations: 4.645 MB / 0.5829 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.2972, allocations: 0.8118 MB / 0.5837 GB, free: 9.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.2974, allocations: 47.34 kB / 0.5838 GB, free: 9.793 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.2976, allocations: 131.4 kB / 0.5839 GB, free: 9.664 MB / 430.1 MB Notification: Performance of SimCode: time 6.42e-07/0.2976, allocations: 192 / 0.5839 GB, free: 9.664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.329, allocations: 7.789 MB / 0.5915 GB, free: 1.984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.184, allocations: 0 / 0.5915 GB, free: 1.984 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.690057055995567]