Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 182 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.2 MB / 218.9 MB, free: 9.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009304/0.0009303, allocations: 89.61 kB / 267.1 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3582/0.3582, allocations: 43.47 MB / 358.6 MB, free: 51.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.539e-05/3.542e-05, allocations: 4 kB / 425.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1304, allocations: 58.84 MB / 484.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3924/0.5229, allocations: 87.26 MB / 0.558 GB, free: 16.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.5232, allocations: 63.77 kB / 0.5581 GB, free: 16.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01627/0.5395, allocations: 7.046 MB / 0.565 GB, free: 12.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5395, allocations: 0 / 0.565 GB, free: 12.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.5396, allocations: 0 / 0.565 GB, free: 12.51 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.0003456/0.5399, allocations: 411.4 kB / 0.5654 GB, free: 12.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.54, allocations: 12.03 kB / 0.5654 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.5402, allocations: 98.14 kB / 0.5655 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.5403, allocations: 234.4 kB / 0.5657 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.5403, allocations: 150.6 kB / 0.5658 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.5403, allocations: 150.6 kB / 0.566 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.562e-05/0.5404, allocations: 101 kB / 0.5661 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.5404, allocations: 75.28 kB / 0.5661 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.92e-05/0.5405, allocations: 162.5 kB / 0.5663 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.5405, allocations: 152.7 kB / 0.5664 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.117e-05/0.5406, allocations: 154.2 kB / 0.5666 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.5407, allocations: 445.9 kB / 0.567 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.068e-05/0.5408, allocations: 172.4 kB / 0.5672 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.5408, allocations: 88.14 kB / 0.5673 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.5408, allocations: 79.22 kB / 0.5673 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.5409, allocations: 105.8 kB / 0.5674 GB, free: 9.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5409, allocations: 0 / 0.5674 GB, free: 9.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 6.492e-05/0.541, allocations: 26.36 kB / 0.5675 GB, free: 9.789 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.541, allocations: 190.1 kB / 0.5676 GB, free: 9.578 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.579e-05/0.5411, allocations: 88.44 kB / 0.5677 GB, free: 9.488 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.5411, allocations: 25.7 kB / 0.5677 GB, free: 9.457 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.727e-05/0.5411, allocations: 80.14 kB / 0.5678 GB, free: 9.375 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.5411, allocations: 0 / 0.5678 GB, free: 9.375 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-07/0.5411, allocations: 0 / 0.5678 GB, free: 9.375 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.534e-05/0.5412, allocations: 318.2 kB / 0.5681 GB, free: 9.059 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-06/0.5412, allocations: 0 / 0.5681 GB, free: 9.059 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.916e-05/0.5412, allocations: 17.78 kB / 0.5681 GB, free: 9.035 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.852e-05/0.5412, allocations: 75.28 kB / 0.5682 GB, free: 8.961 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.5413, allocations: 83.23 kB / 0.5683 GB, free: 8.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.349e-05/0.5413, allocations: 29.02 kB / 0.5683 GB, free: 8.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5413, allocations: 87.22 kB / 0.5684 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.5414, allocations: 83.2 kB / 0.5685 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/0.5414, allocations: 154.6 kB / 0.5686 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.011e-05/0.5414, allocations: 75.28 kB / 0.5687 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/0.5414, allocations: 154.5 kB / 0.5689 GB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.07e-05/0.5415, allocations: 79.28 kB / 0.5689 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.5415, allocations: 86.66 kB / 0.569 GB, free: 8.141 MB / 394.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 5.841e-05/0.5416, allocations: 255.5 kB / 0.5693 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.5417, allocations: 112.9 kB / 0.5694 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.5417, allocations: 108.1 kB / 0.5695 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/0.5417, allocations: 180.2 kB / 0.5696 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.632e-05/0.5417, allocations: 179.7 kB / 0.5698 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/0.5418, allocations: 180.2 kB / 0.57 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.5419, allocations: 410.4 kB / 0.5704 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.5419, allocations: 101 kB / 0.5705 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.634e-05/0.542, allocations: 112.1 kB / 0.5706 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.692e-05/0.542, allocations: 184.2 kB / 0.5708 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.542, allocations: 181.1 kB / 0.5709 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.589e-05/0.5421, allocations: 176.3 kB / 0.5711 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.413e-05/0.5421, allocations: 184.2 kB / 0.5713 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.795e-05/0.5422, allocations: 303.1 kB / 0.5716 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.5422, allocations: 186.4 kB / 0.5717 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.5422, allocations: 182.3 kB / 0.5719 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.5423, allocations: 113 kB / 0.572 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.5424, allocations: 188.2 kB / 0.5722 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.5424, allocations: 103.9 kB / 0.5723 GB, free: 4.574 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.727e-05/0.5424, allocations: 79.28 kB / 0.5724 GB, free: 4.496 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5424, allocations: 0 / 0.5724 GB, free: 4.496 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004534/0.5429, allocations: 132.7 kB / 0.5725 GB, free: 4.375 MB / 394.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.0007609/0.5436, allocations: 0.4986 MB / 0.573 GB, free: 3.938 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 4.26e-05/0.5437, allocations: 4 kB / 0.573 GB, free: 3.934 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.5437, allocations: 4 kB / 0.573 GB, free: 3.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.5437, allocations: 0 / 0.573 GB, free: 3.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.5439, allocations: 0.5254 MB / 0.5735 GB, free: 3.402 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001284/0.544, allocations: 122.6 kB / 0.5736 GB, free: 3.262 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.755e-05/0.5441, allocations: 0.6692 MB / 0.5743 GB, free: 2.566 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.648e-05/0.5442, allocations: 8 kB / 0.5743 GB, free: 2.559 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.586e-06/0.5442, allocations: 7.438 kB / 0.5743 GB, free: 2.551 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5442, allocations: 0 / 0.5743 GB, free: 2.551 MB / 394.7 MB Notification: Performance of Templates: time 0.004549/0.5487, allocations: 2.574 MB / 0.5768 GB, free: 15.99 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches