Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 95.06 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1858/0.1858, allocations: 44.16 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.257e-05/1.261e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1258, allocations: 61.92 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4084/0.5343, allocations: 87.86 MB / 0.5805 GB, free: 8.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.5345, allocations: 63.95 kB / 0.5805 GB, free: 8.598 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01868/0.5532, allocations: 7.069 MB / 0.5874 GB, free: 1.539 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5533, allocations: 7.938 kB / 0.5874 GB, free: 1.531 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.5533, allocations: 0 / 0.5874 GB, free: 1.531 MB / 394.7 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.0004694/0.5538, allocations: 411.8 kB / 0.5878 GB, free: 1.086 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.5538, allocations: 11.98 kB / 0.5878 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.554, allocations: 91.2 kB / 0.5879 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.5542, allocations: 246.3 kB / 0.5882 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/0.5543, allocations: 150.6 kB / 0.5883 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.254e-05/0.5544, allocations: 154.6 kB / 0.5885 GB, free: 412 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.806e-05/0.5545, allocations: 154.5 kB / 0.5886 GB, free: 256 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.126e-05/0.5545, allocations: 105 kB / 0.5887 GB, free: 144 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.5546, allocations: 75.28 kB / 0.5888 GB, free: 68 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-05/0.5547, allocations: 150.6 kB / 0.5889 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-05/0.5547, allocations: 154.6 kB / 0.5891 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.555, allocations: 426.5 kB / 0.5895 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.655e-05/0.5551, allocations: 169.1 kB / 0.5896 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.5551, allocations: 84.14 kB / 0.5897 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.5552, allocations: 79.28 kB / 0.5898 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.109e-05/0.5552, allocations: 109.8 kB / 0.5899 GB, free: 14.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.5552, allocations: 0 / 0.5899 GB, free: 14.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.733e-05/0.5553, allocations: 29.66 kB / 0.5899 GB, free: 14.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.5554, allocations: 106.8 kB / 0.59 GB, free: 14.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.689e-05/0.5555, allocations: 85 kB / 0.5901 GB, free: 14.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.5555, allocations: 29.7 kB / 0.5901 GB, free: 14.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.5555, allocations: 84.27 kB / 0.5902 GB, free: 14.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.5555, allocations: 0 / 0.5902 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-07/0.5555, allocations: 3.938 kB / 0.5902 GB, free: 14.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5557, allocations: 318.8 kB / 0.5905 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.416e-06/0.5557, allocations: 0 / 0.5905 GB, free: 14.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.005e-05/0.5557, allocations: 9.719 kB / 0.5905 GB, free: 14.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.203e-05/0.5557, allocations: 79.28 kB / 0.5906 GB, free: 14.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-05/0.5558, allocations: 79.31 kB / 0.5907 GB, free: 13.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.553e-05/0.5558, allocations: 29.7 kB / 0.5907 GB, free: 13.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.5559, allocations: 80.53 kB / 0.5908 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.764e-05/0.5559, allocations: 79.22 kB / 0.5909 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.876e-05/0.556, allocations: 150.6 kB / 0.591 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.971e-05/0.556, allocations: 79.27 kB / 0.5911 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.765e-05/0.5561, allocations: 166.4 kB / 0.5912 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.5562, allocations: 79.28 kB / 0.5913 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.5562, allocations: 79.39 kB / 0.5914 GB, free: 13.25 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.5563, allocations: 259.5 kB / 0.5916 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.5564, allocations: 104.9 kB / 0.5917 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.659e-05/0.5565, allocations: 116.5 kB / 0.5918 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.961e-05/0.5566, allocations: 180.3 kB / 0.592 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.622e-05/0.5566, allocations: 180.2 kB / 0.5922 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.551e-05/0.5567, allocations: 180.2 kB / 0.5924 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.5569, allocations: 391.2 kB / 0.5927 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.552e-05/0.5569, allocations: 108.9 kB / 0.5928 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.557, allocations: 101 kB / 0.5929 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.414e-05/0.5571, allocations: 180.3 kB / 0.5931 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-05/0.5571, allocations: 184.2 kB / 0.5933 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001261/0.5573, allocations: 180.2 kB / 0.5935 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.349e-05/0.5574, allocations: 176.3 kB / 0.5936 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.5575, allocations: 311.7 kB / 0.5939 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.5577, allocations: 182.1 kB / 0.5941 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.5578, allocations: 184.6 kB / 0.5943 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.5579, allocations: 105 kB / 0.5944 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/0.558, allocations: 180.3 kB / 0.5945 GB, free: 9.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/0.5581, allocations: 108.9 kB / 0.5946 GB, free: 9.699 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.049e-05/0.5581, allocations: 75.28 kB / 0.5947 GB, free: 9.625 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5581, allocations: 0 / 0.5947 GB, free: 9.625 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006761/0.5588, allocations: 139.8 kB / 0.5949 GB, free: 9.488 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001186/0.56, allocations: 0.5035 MB / 0.5953 GB, free: 9.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.355e-05/0.5601, allocations: 11.88 kB / 0.5954 GB, free: 9.008 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5601, allocations: 4 kB / 0.5954 GB, free: 9.004 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.001e-06/0.5601, allocations: 0 / 0.5954 GB, free: 9.004 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.5605, allocations: 0.5223 MB / 0.5959 GB, free: 8.477 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.5607, allocations: 123.3 kB / 0.596 GB, free: 8.332 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.5611, allocations: 0.6729 MB / 0.5966 GB, free: 7.633 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.363e-05/0.5611, allocations: 8 kB / 0.5967 GB, free: 7.625 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/0.5611, allocations: 7.438 kB / 0.5967 GB, free: 7.617 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5612, allocations: 0 / 0.5967 GB, free: 7.617 MB / 410.7 MB Notification: Performance of Templates: time 0.006336/0.5675, allocations: 2.522 MB / 0.5991 GB, free: 5.098 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches