Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002267/0.002267, allocations: 178.1 kB / 8.359 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001085, allocations: 91.84 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.355/0.355, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.157e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.402, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.5648, allocations: 86.6 MB / 0.5505 GB, free: 12.71 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.5651, allocations: 67.47 kB / 0.5505 GB, free: 12.65 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02986/0.595, allocations: 6.999 MB / 0.5574 GB, free: 5.648 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.595, allocations: 0 / 0.5574 GB, free: 5.648 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.595, allocations: 4 kB / 0.5574 GB, free: 5.645 MB / 395.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.0005598/0.5956, allocations: 410.3 kB / 0.5578 GB, free: 5.199 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5957, allocations: 8.031 kB / 0.5578 GB, free: 5.191 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003042/0.596, allocations: 91.27 kB / 0.5579 GB, free: 5.102 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.5962, allocations: 238.3 kB / 0.5581 GB, free: 4.828 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.958e-05/0.5963, allocations: 156 kB / 0.5582 GB, free: 4.676 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.5963, allocations: 150.6 kB / 0.5584 GB, free: 4.527 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.561e-05/0.5964, allocations: 158.5 kB / 0.5585 GB, free: 4.371 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.503e-05/0.5965, allocations: 101 kB / 0.5586 GB, free: 4.266 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/0.5965, allocations: 75.28 kB / 0.5587 GB, free: 4.191 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.3e-05/0.5966, allocations: 154.6 kB / 0.5588 GB, free: 4.039 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.18e-05/0.5967, allocations: 150.6 kB / 0.559 GB, free: 3.891 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.597, allocations: 430.5 kB / 0.5594 GB, free: 3.434 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.5971, allocations: 169.1 kB / 0.5596 GB, free: 3.258 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.5972, allocations: 88.08 kB / 0.5596 GB, free: 3.168 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.5972, allocations: 75.28 kB / 0.5597 GB, free: 3.094 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.149e-05/0.5973, allocations: 109.8 kB / 0.5598 GB, free: 2.977 MB / 395.1 MB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/0.5973, allocations: 0 / 0.5598 GB, free: 2.977 MB / 395.1 MB Notification: Performance of matching and sorting (n=0): time 8.244e-05/0.5974, allocations: 25.7 kB / 0.5598 GB, free: 2.945 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.5975, allocations: 106.9 kB / 0.5599 GB, free: 2.816 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.497e-05/0.5976, allocations: 89 kB / 0.56 GB, free: 2.723 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.5976, allocations: 25.7 kB / 0.5601 GB, free: 2.691 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.5977, allocations: 158.5 kB / 0.5602 GB, free: 2.535 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.5977, allocations: 0 / 0.5602 GB, free: 2.535 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-07/0.5977, allocations: 0 / 0.5602 GB, free: 2.535 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5979, allocations: 318.8 kB / 0.5605 GB, free: 2.215 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-06/0.5979, allocations: 0 / 0.5605 GB, free: 2.215 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.5979, allocations: 13.66 kB / 0.5605 GB, free: 2.195 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.477e-05/0.598, allocations: 79.44 kB / 0.5606 GB, free: 2.117 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.27e-05/0.598, allocations: 75.28 kB / 0.5607 GB, free: 2.043 MB / 395.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.929e-05/0.5981, allocations: 37.66 kB / 0.5607 GB, free: 2 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.238e-05/0.5982, allocations: 79.28 kB / 0.5608 GB, free: 1.922 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.608e-05/0.5982, allocations: 83.22 kB / 0.5609 GB, free: 1.84 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.989e-05/0.5983, allocations: 157.2 kB / 0.561 GB, free: 1.688 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.25e-05/0.5984, allocations: 79.27 kB / 0.5611 GB, free: 1.609 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-05/0.5984, allocations: 154.6 kB / 0.5612 GB, free: 1.457 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.5986, allocations: 83.22 kB / 0.5613 GB, free: 1.375 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.5987, allocations: 75.28 kB / 0.5614 GB, free: 1.301 MB / 395.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 () * 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.0001419/0.5988, allocations: 255.5 kB / 0.5616 GB, free: 1.043 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.796e-05/0.5989, allocations: 108.9 kB / 0.5617 GB, free: 0.9297 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.577e-05/0.599, allocations: 116.7 kB / 0.5618 GB, free: 0.8086 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.103e-05/0.5991, allocations: 180.3 kB / 0.562 GB, free: 0.625 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.736e-05/0.5991, allocations: 180.3 kB / 0.5622 GB, free: 452 kB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-05/0.5992, allocations: 180.2 kB / 0.5624 GB, free: 264 kB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.5995, allocations: 377.8 kB / 0.5627 GB, free: 15.84 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.945e-05/0.5996, allocations: 101 kB / 0.5628 GB, free: 15.74 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-05/0.5997, allocations: 120.9 kB / 0.5629 GB, free: 15.61 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.749e-05/0.5997, allocations: 176.3 kB / 0.5631 GB, free: 15.43 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.637e-05/0.5998, allocations: 176.3 kB / 0.5633 GB, free: 15.25 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001051/0.5999, allocations: 196.1 kB / 0.5635 GB, free: 15.05 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.869e-05/0.6, allocations: 180.3 kB / 0.5636 GB, free: 14.87 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.6002, allocations: 303.8 kB / 0.5639 GB, free: 14.55 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.521e-05/0.6003, allocations: 182.1 kB / 0.5641 GB, free: 14.35 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-05/0.6004, allocations: 180.3 kB / 0.5643 GB, free: 14.16 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.6006, allocations: 109.3 kB / 0.5644 GB, free: 14.05 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/0.6007, allocations: 184.2 kB / 0.5645 GB, free: 13.86 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/0.6008, allocations: 101 kB / 0.5646 GB, free: 13.76 MB / 411.1 MB Notification: Performance of sorting global known variables: time 5.69e-05/0.6008, allocations: 83.27 kB / 0.5647 GB, free: 13.68 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6009, allocations: 3.938 kB / 0.5647 GB, free: 13.67 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0008043/0.6017, allocations: 131.9 kB / 0.5648 GB, free: 13.54 MB / 411.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 () * 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.00128/0.603, allocations: 0.4961 MB / 0.5653 GB, free: 13.05 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 4.623e-05/0.603, allocations: 4 kB / 0.5653 GB, free: 13.05 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.603, allocations: 4 kB / 0.5653 GB, free: 13.04 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/0.6031, allocations: 0 / 0.5653 GB, free: 13.04 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.6034, allocations: 0.5262 MB / 0.5659 GB, free: 12.51 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002043/0.6037, allocations: 145 kB / 0.566 GB, free: 12.34 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.604, allocations: 0.6768 MB / 0.5667 GB, free: 11.64 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.604, allocations: 11.44 kB / 0.5667 GB, free: 11.62 MB / 411.1 MB Notification: Performance of SimCode: time 7.02e-07/0.6041, allocations: 0 / 0.5667 GB, free: 11.62 MB / 411.1 MB Notification: Performance of Templates: time 0.008086/0.6122, allocations: 2.894 MB / 0.5695 GB, free: 8.73 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches