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.001132/0.001132, 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.001249/0.001249, allocations: 217.3 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.303/1.303, allocations: 230.2 MB / 256.2 MB, free: 8.738 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.202/0.202, allocations: 46.89 MB / 359.3 MB, free: 4.965 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.002095/0.002095, allocations: 75.88 kB / 0.494 GB, free: 9.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2625, allocations: 65.98 MB / 0.5584 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001439/0.264, allocations: 489.1 kB / 0.5589 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.2667, allocations: 2.163 MB / 0.561 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.574e-05/0.2668, allocations: 0 / 0.561 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.548e-06/0.2668, allocations: 0 / 0.561 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.633e-05/0.2668, allocations: 0 / 0.561 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009267/0.2677, allocations: 402.1 kB / 0.5613 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.384e-05/0.2677, allocations: 8 kB / 0.5614 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.207e-05/0.2678, allocations: 3.984 kB / 0.5614 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.273e-05/0.2678, allocations: 7.938 kB / 0.5614 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01865/0.2864, allocations: 3.377 MB / 0.5647 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.2865, allocations: 0 / 0.5647 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.451e-05/0.2865, allocations: 4 kB / 0.5647 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.2865, allocations: 4 kB / 0.5647 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.2866, allocations: 0 / 0.5647 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.2867, allocations: 11.98 kB / 0.5647 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2867, allocations: 0 / 0.5647 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2867, allocations: 4 kB / 0.5647 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2867, allocations: 3.938 kB / 0.5647 GB, free: 15.33 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.0003183/0.287, allocations: 315.5 kB / 0.565 GB, free: 14.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.287, allocations: 8.031 kB / 0.565 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.452e-05/0.2871, allocations: 106 kB / 0.5651 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.2873, allocations: 88.2 kB / 0.5652 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.2874, allocations: 239.7 kB / 0.5654 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-05/0.2875, allocations: 150.9 kB / 0.5656 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.411e-05/0.2876, allocations: 162.4 kB / 0.5657 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.16e-05/0.2876, allocations: 101 kB / 0.5658 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.091e-05/0.2877, allocations: 79.28 kB / 0.5659 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/0.2877, allocations: 158.6 kB / 0.566 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.967e-05/0.2878, allocations: 150.6 kB / 0.5662 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.876e-05/0.2879, allocations: 150.6 kB / 0.5663 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002904/0.2881, allocations: 441.9 kB / 0.5667 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.942e-05/0.2882, allocations: 185 kB / 0.5669 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.2883, allocations: 80.14 kB / 0.567 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.2883, allocations: 75.28 kB / 0.5671 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/0.2884, allocations: 109.8 kB / 0.5672 GB, free: 12.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.2884, allocations: 0 / 0.5672 GB, free: 12.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.326e-05/0.2885, allocations: 29.64 kB / 0.5672 GB, free: 12.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.593e-05/0.2886, allocations: 186.1 kB / 0.5674 GB, free: 12.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.374e-05/0.2886, allocations: 93.86 kB / 0.5675 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.2887, allocations: 25.7 kB / 0.5675 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.2887, allocations: 80.14 kB / 0.5676 GB, free: 12.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/0.2887, allocations: 3.984 kB / 0.5676 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.2887, allocations: 13.72 kB / 0.5676 GB, free: 12.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2889, allocations: 310.8 kB / 0.5679 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-06/0.2889, allocations: 128 / 0.5679 GB, free: 11.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.532e-05/0.2889, allocations: 21.7 kB / 0.5679 GB, free: 11.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.068e-05/0.2889, allocations: 75.28 kB / 0.568 GB, free: 11.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.717e-05/0.2889, allocations: 75.28 kB / 0.568 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.339e-05/0.289, allocations: 37.58 kB / 0.5681 GB, free: 11.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.289, allocations: 79.28 kB / 0.5682 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/0.2891, allocations: 83.27 kB / 0.5682 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.385e-05/0.2891, allocations: 158.6 kB / 0.5684 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.18e-05/0.2892, allocations: 87.2 kB / 0.5685 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.419e-05/0.2892, allocations: 154.5 kB / 0.5686 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.114e-05/0.2893, allocations: 79.22 kB / 0.5687 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.2894, allocations: 79.28 kB / 0.5688 GB, free: 10.88 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.0001353/0.2895, allocations: 264.3 kB / 0.569 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.2896, allocations: 109 kB / 0.5691 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/0.2896, allocations: 111.8 kB / 0.5692 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-05/0.2897, allocations: 180.2 kB / 0.5694 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.653e-05/0.2898, allocations: 180.2 kB / 0.5696 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.472e-05/0.2898, allocations: 180.3 kB / 0.5698 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.2901, allocations: 409.2 kB / 0.5701 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-05/0.2901, allocations: 104.9 kB / 0.5702 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.181e-05/0.2902, allocations: 109 kB / 0.5703 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.784e-05/0.2902, allocations: 180.2 kB / 0.5705 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.889e-05/0.2903, allocations: 176.3 kB / 0.5707 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.358e-05/0.2904, allocations: 180.3 kB / 0.5709 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.631e-05/0.2905, allocations: 192.2 kB / 0.571 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.2906, allocations: 308.1 kB / 0.5713 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.398e-05/0.2907, allocations: 182.1 kB / 0.5715 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.463e-05/0.2908, allocations: 184.3 kB / 0.5717 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.719e-05/0.2909, allocations: 116.9 kB / 0.5718 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.689e-05/0.291, allocations: 176.3 kB / 0.572 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.291, allocations: 104.9 kB / 0.5721 GB, free: 7.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.02e-05/0.291, allocations: 75.28 kB / 0.5721 GB, free: 7.215 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.291, allocations: 0 / 0.5721 GB, free: 7.215 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.2913, allocations: 4 kB / 0.5721 GB, free: 7.211 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.0003988/0.2917, allocations: 0.8049 MB / 0.5729 GB, free: 6.375 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.53e-05/0.2917, allocations: 7.938 kB / 0.5729 GB, free: 6.367 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.2917, allocations: 0 / 0.5729 GB, free: 6.367 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.61e-07/0.2917, allocations: 0 / 0.5729 GB, free: 6.367 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.2921, allocations: 459.7 kB / 0.5734 GB, free: 5.914 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.2924, allocations: 178 kB / 0.5735 GB, free: 5.699 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.2927, allocations: 0.669 MB / 0.5742 GB, free: 5.004 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.654e-05/0.2927, allocations: 0 / 0.5742 GB, free: 5.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.139e-05/0.2927, allocations: 7.438 kB / 0.5742 GB, free: 4.996 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2927, allocations: 3.938 kB / 0.5742 GB, free: 4.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.3132, allocations: 1.003 MB / 0.5752 GB, free: 4.059 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/7.193, allocations: 9.484 kB / 0.5752 GB, free: 4.051 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.656860845992924]