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.00105/0.00105, allocations: 182.6 kB / 15.76 MB, free: 6.367 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.475/1.475, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0007985/0.0007986, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1922/0.1922, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 12 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1312, allocations: 58.86 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4444/0.5757, allocations: 87.36 MB / 0.5641 GB, free: 12.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.576, allocations: 57.98 kB / 0.5641 GB, free: 12.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01861/0.5946, allocations: 7.072 MB / 0.571 GB, free: 6.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5946, allocations: 0 / 0.571 GB, free: 6.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.5946, allocations: 4 kB / 0.571 GB, free: 6.496 MB / 378.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.000452/0.5951, allocations: 421.3 kB / 0.5714 GB, free: 6.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.5952, allocations: 12.02 kB / 0.5714 GB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.5954, allocations: 91.84 kB / 0.5715 GB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.5955, allocations: 242.8 kB / 0.5718 GB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/0.5956, allocations: 151.1 kB / 0.5719 GB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.5956, allocations: 155.1 kB / 0.572 GB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.585e-05/0.5957, allocations: 101 kB / 0.5721 GB, free: 5.258 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.5957, allocations: 75.91 kB / 0.5722 GB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.946e-05/0.5958, allocations: 150.6 kB / 0.5724 GB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-05/0.5959, allocations: 155.8 kB / 0.5725 GB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.991e-05/0.5959, allocations: 158.5 kB / 0.5727 GB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.5962, allocations: 444.5 kB / 0.5731 GB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.768e-05/0.5963, allocations: 166.3 kB / 0.5732 GB, free: 4.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.5963, allocations: 79.27 kB / 0.5733 GB, free: 3.996 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.5963, allocations: 114.6 kB / 0.5734 GB, free: 3.875 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.5963, allocations: 0 / 0.5734 GB, free: 3.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.191e-05/0.5964, allocations: 34.62 kB / 0.5735 GB, free: 3.836 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.895e-05/0.5965, allocations: 178.7 kB / 0.5736 GB, free: 3.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.753e-05/0.5966, allocations: 89.94 kB / 0.5737 GB, free: 3.543 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.5967, allocations: 25.7 kB / 0.5737 GB, free: 3.512 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.5967, allocations: 84.88 kB / 0.5738 GB, free: 3.426 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.5967, allocations: 0 / 0.5738 GB, free: 3.426 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.5967, allocations: 4.125 kB / 0.5738 GB, free: 3.422 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.5968, allocations: 311.4 kB / 0.5741 GB, free: 3.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-06/0.5968, allocations: 0 / 0.5741 GB, free: 3.109 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.981e-05/0.5969, allocations: 18.52 kB / 0.5741 GB, free: 3.086 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.736e-05/0.5969, allocations: 75.28 kB / 0.5742 GB, free: 3.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.561e-05/0.5969, allocations: 79.22 kB / 0.5743 GB, free: 2.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.486e-05/0.597, allocations: 41.12 kB / 0.5743 GB, free: 2.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/0.5971, allocations: 83.31 kB / 0.5744 GB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/0.5971, allocations: 75.97 kB / 0.5745 GB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.95e-05/0.5972, allocations: 159 kB / 0.5746 GB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.018e-05/0.5972, allocations: 75.28 kB / 0.5747 GB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-05/0.5973, allocations: 155.7 kB / 0.5749 GB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.5974, allocations: 87.72 kB / 0.5749 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.5974, allocations: 79.28 kB / 0.575 GB, free: 2.188 MB / 378.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.0001327/0.5976, allocations: 266 kB / 0.5753 GB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.5977, allocations: 109.4 kB / 0.5754 GB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.5977, allocations: 108.7 kB / 0.5755 GB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-05/0.5978, allocations: 184.8 kB / 0.5756 GB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.097e-05/0.5978, allocations: 181.4 kB / 0.5758 GB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.302e-05/0.5979, allocations: 177 kB / 0.576 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.5981, allocations: 406.9 kB / 0.5764 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-05/0.5982, allocations: 105 kB / 0.5765 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.5982, allocations: 105.5 kB / 0.5766 GB, free: 476 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.264e-05/0.5983, allocations: 180.8 kB / 0.5768 GB, free: 288 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.064e-05/0.5984, allocations: 185 kB / 0.5769 GB, free: 96 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.447e-05/0.5984, allocations: 184.8 kB / 0.5771 GB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.755e-05/0.5985, allocations: 176.9 kB / 0.5773 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.5986, allocations: 302.9 kB / 0.5776 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-05/0.5987, allocations: 182.7 kB / 0.5777 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.58e-05/0.5988, allocations: 193.2 kB / 0.5779 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.5989, allocations: 105.5 kB / 0.578 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/0.599, allocations: 184.7 kB / 0.5782 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.599, allocations: 105.7 kB / 0.5783 GB, free: 14.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.108e-05/0.599, allocations: 79.84 kB / 0.5784 GB, free: 14.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5991, allocations: 0 / 0.5784 GB, free: 14.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005531/0.5996, allocations: 132.8 kB / 0.5785 GB, free: 14.41 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 () * 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.00097/0.6006, allocations: 0.5085 MB / 0.579 GB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 4.726e-05/0.6007, allocations: 0 / 0.579 GB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6007, allocations: 0 / 0.579 GB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/0.6007, allocations: 3.938 kB / 0.579 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.601, allocations: 0.5185 MB / 0.5795 GB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001953/0.6012, allocations: 154 kB / 0.5797 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.6014, allocations: 0.6769 MB / 0.5803 GB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.108e-05/0.6015, allocations: 4 kB / 0.5803 GB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.108e-05/0.6015, allocations: 7.438 kB / 0.5803 GB, free: 12.52 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.6015, allocations: 0 / 0.5803 GB, free: 12.52 MB / 394.7 MB Notification: Performance of Templates: time 0.005516/0.607, allocations: 2.562 MB / 0.5828 GB, free: 9.969 MB / 394.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