Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009677/0.0009678, allocations: 169.7 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.36/1.36, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0009282/0.0009284, allocations: 95.12 kB / 281.6 MB, free: 5.332 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.1872/0.1872, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.274e-05/1.276e-05, allocations: 224 / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1237, allocations: 61.92 MB / 0.4947 GB, free: 1.27 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3896/0.5134, allocations: 84.42 MB / 0.5771 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.5137, allocations: 71.94 kB / 0.5772 GB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002492/0.5162, allocations: 0.8976 MB / 0.5781 GB, free: 11.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.5162, allocations: 0 / 0.5781 GB, free: 11.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.5162, allocations: 4 kB / 0.5781 GB, free: 11.16 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002372/0.5165, allocations: 330.4 kB / 0.5784 GB, free: 10.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.5165, allocations: 15.98 kB / 0.5784 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.5165, allocations: 0 / 0.5784 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.5167, allocations: 167 kB / 0.5786 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.5167, allocations: 4 kB / 0.5786 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.5167, allocations: 0 / 0.5786 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001085/0.5168, allocations: 55.91 kB / 0.5786 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.034e-05/0.5169, allocations: 49.69 kB / 0.5787 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.5169, allocations: 4 kB / 0.5787 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.5169, allocations: 0 / 0.5787 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.5169, allocations: 0 / 0.5787 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.5171, allocations: 144.3 kB / 0.5788 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.5172, allocations: 70.59 kB / 0.5789 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.5172, allocations: 24.86 kB / 0.5789 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/0.5175, allocations: 255.3 kB / 0.5791 GB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.5176, allocations: 33.78 kB / 0.5792 GB, free: 9.832 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.5176, allocations: 0 / 0.5792 GB, free: 9.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002273/0.5178, allocations: 90.33 kB / 0.5793 GB, free: 9.742 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.5178, allocations: 55.41 kB / 0.5793 GB, free: 9.676 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.54e-05/0.5179, allocations: 85 kB / 0.5794 GB, free: 9.586 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.5179, allocations: 25.8 kB / 0.5794 GB, free: 9.555 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.518, allocations: 88.2 kB / 0.5795 GB, free: 9.465 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.518, allocations: 35.45 kB / 0.5795 GB, free: 9.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.518, allocations: 0 / 0.5795 GB, free: 9.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.5181, allocations: 318.8 kB / 0.5798 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.5182, allocations: 12 kB / 0.5798 GB, free: 9.098 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.208e-05/0.5182, allocations: 15.98 kB / 0.5799 GB, free: 9.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.244e-05/0.5183, allocations: 23.98 kB / 0.5799 GB, free: 9.059 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5183, allocations: 3.938 kB / 0.5799 GB, free: 9.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001602/0.5185, allocations: 77.67 kB / 0.58 GB, free: 8.973 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.5185, allocations: 8 kB / 0.58 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.5185, allocations: 4 kB / 0.58 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.5185, allocations: 0 / 0.58 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.256e-05/0.5186, allocations: 19.89 kB / 0.58 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.5186, allocations: 0 / 0.58 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/0.5187, allocations: 11.88 kB / 0.58 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.5187, allocations: 4 kB / 0.58 GB, free: 8.926 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 (10): * Single equations (assignments): 10 * 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.739e-05/0.5187, allocations: 101 kB / 0.5801 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.497e-06/0.5187, allocations: 4 kB / 0.5801 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.519, allocations: 102.9 kB / 0.5802 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.519, allocations: 0 / 0.5802 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.519, allocations: 4.328 kB / 0.5802 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.519, allocations: 0 / 0.5802 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.5191, allocations: 150.1 kB / 0.5804 GB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5191, allocations: 0 / 0.5804 GB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.495e-05/0.5192, allocations: 27.92 kB / 0.5804 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.5192, allocations: 0 / 0.5804 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.5192, allocations: 0 / 0.5804 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5192, allocations: 0 / 0.5804 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5192, allocations: 4 kB / 0.5804 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.5194, allocations: 117 kB / 0.5805 GB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.5194, allocations: 81.11 kB / 0.5806 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.5195, allocations: 2.953 kB / 0.5806 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.205e-05/0.5195, allocations: 0 / 0.5806 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.5195, allocations: 7.984 kB / 0.5806 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.5195, allocations: 0 / 0.5806 GB, free: 8.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.942e-05/0.5196, allocations: 83.28 kB / 0.5807 GB, free: 8.168 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5196, allocations: 0 / 0.5807 GB, free: 8.168 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001798/0.5197, allocations: 15.94 kB / 0.5807 GB, free: 8.152 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 (10): * Single equations (assignments): 10 * 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.0001406/0.5199, allocations: 111.2 kB / 0.5808 GB, free: 8.035 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.52, allocations: 47.94 kB / 0.5808 GB, free: 7.988 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.52, allocations: 0 / 0.5808 GB, free: 7.988 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.257e-05/0.5201, allocations: 24 kB / 0.5809 GB, free: 7.965 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.5202, allocations: 10.41 kB / 0.5809 GB, free: 7.957 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002407/0.5204, allocations: 95.88 kB / 0.581 GB, free: 7.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.5207, allocations: 0.6845 MB / 0.5816 GB, free: 7.129 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.863e-05/0.5207, allocations: 11.77 kB / 0.5816 GB, free: 7.117 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.5208, allocations: 11.44 kB / 0.5816 GB, free: 7.105 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5208, allocations: 0 / 0.5816 GB, free: 7.105 MB / 394.7 MB Notification: Performance of Templates: time 0.00219/0.523, allocations: 0.5975 MB / 0.5822 GB, free: 6.512 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches