Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.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.001443/0.001443, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001571/0.001571, allocations: 217 kB / 22.92 MB, free: 5.195 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.294/1.294, allocations: 230.2 MB / 256.2 MB, free: 8.617 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.2018/0.2018, allocations: 46.9 MB / 359.3 MB, free: 4.977 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.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestExamplesCalculator",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.002115/0.002115, allocations: 87.83 kB / 0.494 GB, free: 9.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.264, allocations: 65.98 MB / 0.5584 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001451/0.2654, allocations: 485 kB / 0.5588 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.2684, allocations: 2.167 MB / 0.561 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.684e-05/0.2684, allocations: 0 / 0.561 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.004e-05/0.2684, allocations: 4 kB / 0.561 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.754e-05/0.2684, allocations: 0 / 0.561 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.2695, allocations: 406.2 kB / 0.5614 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.754e-05/0.2696, allocations: 0 / 0.5614 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.113e-05/0.2696, allocations: 4 kB / 0.5614 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.435e-05/0.2696, allocations: 4 kB / 0.5614 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01893/0.2885, allocations: 3.374 MB / 0.5647 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.2885, allocations: 3.938 kB / 0.5647 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.2886, allocations: 8 kB / 0.5647 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.2886, allocations: 0 / 0.5647 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.723e-05/0.2886, allocations: 0 / 0.5647 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.2888, allocations: 15.97 kB / 0.5647 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2888, allocations: 0 / 0.5647 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2888, allocations: 0 / 0.5647 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.2888, allocations: 0 / 0.5647 GB, free: 15.38 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003105/0.2891, allocations: 319.5 kB / 0.565 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2891, allocations: 12.03 kB / 0.565 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.02e-05/0.2892, allocations: 114 kB / 0.5651 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.2894, allocations: 84.22 kB / 0.5652 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.2895, allocations: 239.7 kB / 0.5654 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.547e-05/0.2896, allocations: 150.9 kB / 0.5656 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.721e-05/0.2897, allocations: 158.5 kB / 0.5657 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.236e-05/0.2897, allocations: 109 kB / 0.5658 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.2898, allocations: 79.22 kB / 0.5659 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.597e-05/0.2898, allocations: 150.6 kB / 0.566 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-05/0.2899, allocations: 150.6 kB / 0.5662 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.738e-05/0.29, allocations: 150.6 kB / 0.5663 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.2903, allocations: 450 kB / 0.5668 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.721e-05/0.2903, allocations: 173.1 kB / 0.5669 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.2904, allocations: 84.08 kB / 0.567 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.2904, allocations: 75.28 kB / 0.5671 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.035e-05/0.2905, allocations: 109.8 kB / 0.5672 GB, free: 12.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.2905, allocations: 0 / 0.5672 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.393e-05/0.2906, allocations: 29.7 kB / 0.5672 GB, free: 12.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.2907, allocations: 182.1 kB / 0.5674 GB, free: 12.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.183e-05/0.2907, allocations: 89.86 kB / 0.5675 GB, free: 12.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.2908, allocations: 25.7 kB / 0.5675 GB, free: 12.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.2908, allocations: 84.14 kB / 0.5676 GB, free: 12.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.2908, allocations: 4.062 kB / 0.5676 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.2908, allocations: 17.7 kB / 0.5676 GB, free: 12.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.291, allocations: 310.8 kB / 0.5679 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-06/0.291, allocations: 7.938 kB / 0.5679 GB, free: 11.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/0.291, allocations: 9.719 kB / 0.5679 GB, free: 11.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.291e-05/0.291, allocations: 79.28 kB / 0.568 GB, free: 11.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-05/0.2911, allocations: 75.28 kB / 0.568 GB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.559e-05/0.2911, allocations: 33.64 kB / 0.5681 GB, free: 11.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.2911, allocations: 83.31 kB / 0.5682 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.054e-05/0.2912, allocations: 83.22 kB / 0.5682 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.484e-05/0.2912, allocations: 150.6 kB / 0.5684 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.61e-05/0.2913, allocations: 83.31 kB / 0.5685 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.627e-05/0.2913, allocations: 154.5 kB / 0.5686 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.228e-05/0.2914, allocations: 79.28 kB / 0.5687 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.2915, allocations: 87.22 kB / 0.5688 GB, free: 10.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001251/0.2916, allocations: 264.3 kB / 0.569 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.2916, allocations: 105 kB / 0.5691 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.42e-05/0.2917, allocations: 111.9 kB / 0.5692 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.751e-05/0.2918, allocations: 180.2 kB / 0.5694 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.991e-05/0.2918, allocations: 188.3 kB / 0.5696 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.08e-05/0.2919, allocations: 180.2 kB / 0.5698 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.2922, allocations: 401.2 kB / 0.5701 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-05/0.2922, allocations: 105 kB / 0.5702 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.2923, allocations: 108.9 kB / 0.5703 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.465e-05/0.2923, allocations: 184.3 kB / 0.5705 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.741e-05/0.2924, allocations: 180.2 kB / 0.5707 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.117e-05/0.2925, allocations: 184.2 kB / 0.5709 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.236e-05/0.2926, allocations: 184.2 kB / 0.571 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.2927, allocations: 308.1 kB / 0.5713 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-05/0.2928, allocations: 190 kB / 0.5715 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.104e-05/0.2929, allocations: 180.3 kB / 0.5717 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.293, allocations: 108.9 kB / 0.5718 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.293, allocations: 176.3 kB / 0.572 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.2931, allocations: 105 kB / 0.5721 GB, free: 7.336 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.062e-05/0.2931, allocations: 83.28 kB / 0.5721 GB, free: 7.254 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2931, allocations: 0 / 0.5721 GB, free: 7.254 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.2933, allocations: 0 / 0.5721 GB, free: 7.254 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0003951/0.2937, allocations: 0.8047 MB / 0.5729 GB, free: 6.418 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 3.803e-05/0.2938, allocations: 96 / 0.5729 GB, free: 6.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2938, allocations: 8 kB / 0.5729 GB, free: 6.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.2938, allocations: 3.938 kB / 0.5729 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.2941, allocations: 455.6 kB / 0.5734 GB, free: 5.957 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.2945, allocations: 182 kB / 0.5735 GB, free: 5.738 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.2947, allocations: 0.669 MB / 0.5742 GB, free: 5.043 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.896e-05/0.2948, allocations: 4 kB / 0.5742 GB, free: 5.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.2948, allocations: 11.44 kB / 0.5742 GB, free: 5.027 MB / 414.1 MB Notification: Performance of SimCode: time 5.72e-07/0.2948, allocations: 0 / 0.5742 GB, free: 5.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.3142, allocations: 0.9891 MB / 0.5752 GB, free: 4.105 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.034/7.349, allocations: 4.359 kB / 0.5752 GB, free: 4.105 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.868034864004585]