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.001207/0.001207, allocations: 172.2 kB / 16.76 MB, free: 5.055 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.477/1.477, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0008047/0.0008045, allocations: 85.41 kB / 271.3 MB, free: 8.258 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.4052/0.4052, allocations: 43.56 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003743, allocations: 8 kB / 432.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1245, allocations: 58.84 MB / 491.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3559/0.4805, allocations: 87.39 MB / 0.5653 GB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.4807, allocations: 63.98 kB / 0.5653 GB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01673/0.4975, allocations: 6.075 MB / 0.5713 GB, free: 8.531 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4975, allocations: 0 / 0.5713 GB, free: 8.531 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.4976, allocations: 0 / 0.5713 GB, free: 8.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.0004516/0.498, allocations: 425 kB / 0.5717 GB, free: 8.066 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.4981, allocations: 12.03 kB / 0.5717 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.4983, allocations: 84.22 kB / 0.5718 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.4984, allocations: 240.6 kB / 0.572 GB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.002e-05/0.4985, allocations: 154.9 kB / 0.5722 GB, free: 7.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.052e-05/0.4986, allocations: 150.9 kB / 0.5723 GB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.405e-05/0.4986, allocations: 101.5 kB / 0.5724 GB, free: 7.293 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.4987, allocations: 82.38 kB / 0.5725 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.498e-05/0.4988, allocations: 162.4 kB / 0.5726 GB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.973e-05/0.4988, allocations: 150.6 kB / 0.5728 GB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.274e-05/0.4989, allocations: 154.6 kB / 0.5729 GB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.4992, allocations: 438 kB / 0.5733 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.981e-05/0.4993, allocations: 173.1 kB / 0.5735 GB, free: 6.098 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.4993, allocations: 84.12 kB / 0.5736 GB, free: 6.012 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.4994, allocations: 83.27 kB / 0.5737 GB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.4994, allocations: 109.8 kB / 0.5738 GB, free: 5.812 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.4994, allocations: 0 / 0.5738 GB, free: 5.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.73e-05/0.4995, allocations: 33.64 kB / 0.5738 GB, free: 5.773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.281e-05/0.4996, allocations: 178.1 kB / 0.574 GB, free: 5.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/0.4997, allocations: 93.86 kB / 0.5741 GB, free: 5.473 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.4997, allocations: 29.83 kB / 0.5741 GB, free: 5.438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.4998, allocations: 80.14 kB / 0.5742 GB, free: 5.355 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.4998, allocations: 4 kB / 0.5742 GB, free: 5.352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/0.4998, allocations: 0 / 0.5742 GB, free: 5.352 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4999, allocations: 310.8 kB / 0.5745 GB, free: 5.039 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-06/0.5, allocations: 0 / 0.5745 GB, free: 5.039 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.945e-05/0.5, allocations: 17.64 kB / 0.5745 GB, free: 5.016 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.33e-05/0.5, allocations: 79.28 kB / 0.5746 GB, free: 4.938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-05/0.5001, allocations: 79.31 kB / 0.5746 GB, free: 4.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.388e-05/0.5001, allocations: 25.7 kB / 0.5747 GB, free: 4.828 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/0.5002, allocations: 83.28 kB / 0.5747 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/0.5002, allocations: 83.22 kB / 0.5748 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.131e-05/0.5003, allocations: 154.5 kB / 0.575 GB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.605e-05/0.5003, allocations: 79.22 kB / 0.575 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.946e-05/0.5004, allocations: 166.5 kB / 0.5752 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.772e-05/0.5005, allocations: 75.28 kB / 0.5753 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.5005, allocations: 79.28 kB / 0.5753 GB, free: 4.117 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.5007, allocations: 264.3 kB / 0.5756 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.5007, allocations: 110 kB / 0.5757 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/0.5008, allocations: 114 kB / 0.5758 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.021e-05/0.5009, allocations: 184.2 kB / 0.576 GB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.05e-05/0.501, allocations: 177.1 kB / 0.5762 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.909e-05/0.501, allocations: 184.2 kB / 0.5763 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.5013, allocations: 401.2 kB / 0.5767 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.825e-05/0.5013, allocations: 101 kB / 0.5768 GB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.5014, allocations: 112.9 kB / 0.5769 GB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.529e-05/0.5014, allocations: 180.3 kB / 0.5771 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.159e-05/0.5015, allocations: 188.1 kB / 0.5773 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.857e-05/0.5016, allocations: 184.2 kB / 0.5774 GB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.235e-05/0.5017, allocations: 180.2 kB / 0.5776 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.5018, allocations: 303.8 kB / 0.5779 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.28e-05/0.5019, allocations: 196 kB / 0.5781 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/0.502, allocations: 180.2 kB / 0.5783 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.5021, allocations: 105.4 kB / 0.5784 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/0.5022, allocations: 180.2 kB / 0.5785 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.5022, allocations: 105 kB / 0.5786 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.827e-05/0.5023, allocations: 83.27 kB / 0.5787 GB, free: 456 kB / 394.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5023, allocations: 0 / 0.5787 GB, free: 456 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005924/0.5029, allocations: 131.9 kB / 0.5788 GB, free: 324 kB / 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 () * 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 (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.0009305/0.5038, allocations: 0.5079 MB / 0.5793 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.05e-05/0.5039, allocations: 7.938 kB / 0.5793 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5039, allocations: 0 / 0.5793 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.5039, allocations: 0 / 0.5793 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.5043, allocations: 0.5224 MB / 0.5799 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001985/0.5045, allocations: 152.7 kB / 0.58 GB, free: 15.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.5047, allocations: 0.6731 MB / 0.5807 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.097e-05/0.5047, allocations: 3.984 kB / 0.5807 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.372e-05/0.5048, allocations: 11.44 kB / 0.5807 GB, free: 14.44 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5048, allocations: 0 / 0.5807 GB, free: 14.44 MB / 410.7 MB Notification: Performance of Templates: time 0.005693/0.5105, allocations: 2.589 MB / 0.5832 GB, free: 11.86 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/jenkins1/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