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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001273, allocations: 107.7 kB / 18.44 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 184.1 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2019/0.2019, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3306, allocations: 60.82 MB / 0.5195 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001592/0.3323, allocations: 0.5389 MB / 0.5201 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000399/0.3327, allocations: 157.8 kB / 0.5202 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.3328, allocations: 0 / 0.5202 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.3328, allocations: 1.188 kB / 0.5202 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.333, allocations: 34.41 kB / 0.5203 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.948e-06/0.333, allocations: 3.938 kB / 0.5203 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.528e-05/0.3331, allocations: 24.53 kB / 0.5203 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.128e-05/0.3332, allocations: 7.797 kB / 0.5203 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.168e-05/0.3332, allocations: 16.78 kB / 0.5203 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.658e-05/0.3332, allocations: 15.98 kB / 0.5203 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.3333, allocations: 4.969 kB / 0.5203 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.3334, allocations: 48.41 kB / 0.5204 GB, free: 3.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.3334, allocations: 7.078 kB / 0.5204 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.681e-05/0.3334, allocations: 8.188 kB / 0.5204 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.3335, allocations: 41.17 kB / 0.5204 GB, free: 3.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3335, allocations: 0.7031 kB / 0.5204 GB, free: 3.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3335, allocations: 3.938 kB / 0.5204 GB, free: 3.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3335, allocations: 1 kB / 0.5204 GB, free: 3.082 MB / 382.1 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.0002336/0.3338, allocations: 335 kB / 0.5207 GB, free: 2.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.3338, allocations: 17.59 kB / 0.5208 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.3339, allocations: 7.75 kB / 0.5208 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.369e-05/0.3339, allocations: 166.9 kB / 0.5209 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.334, allocations: 1.688 kB / 0.5209 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.334, allocations: 7.062 kB / 0.5209 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.3341, allocations: 59.89 kB / 0.521 GB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.3341, allocations: 192 / 0.521 GB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3341, allocations: 3.938 kB / 0.521 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3341, allocations: 1.469 kB / 0.521 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.977e-05/0.3342, allocations: 54.83 kB / 0.5211 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.3344, allocations: 169.7 kB / 0.5212 GB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.3345, allocations: 77.5 kB / 0.5213 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.3346, allocations: 33.69 kB / 0.5213 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.3348, allocations: 252.8 kB / 0.5216 GB, free: 1.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.3348, allocations: 40.48 kB / 0.5216 GB, free: 1.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.3349, allocations: 4 kB / 0.5216 GB, free: 1.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002097/0.3351, allocations: 108.4 kB / 0.5217 GB, free: 1.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.3351, allocations: 53.75 kB / 0.5218 GB, free: 1.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.056e-05/0.3351, allocations: 92.16 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.3352, allocations: 29.7 kB / 0.5219 GB, free: 1.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.1e-05/0.3352, allocations: 81.33 kB / 0.522 GB, free: 1.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.3352, allocations: 36 kB / 0.522 GB, free: 1.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.3353, allocations: 22.25 kB / 0.522 GB, free: 1.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.004e-05/0.3353, allocations: 321.3 kB / 0.5223 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.154e-05/0.3353, allocations: 17.03 kB / 0.5223 GB, free: 1.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.817e-05/0.3354, allocations: 16.48 kB / 0.5223 GB, free: 1.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.14e-05/0.3354, allocations: 50.91 kB / 0.5224 GB, free: 1.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3355, allocations: 1.188 kB / 0.5224 GB, free: 1.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001083/0.3356, allocations: 84.17 kB / 0.5225 GB, free: 1.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3356, allocations: 5.922 kB / 0.5225 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3356, allocations: 9 kB / 0.5225 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3356, allocations: 0 / 0.5225 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3357, allocations: 23.88 kB / 0.5225 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3357, allocations: 9.078 kB / 0.5225 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/0.3358, allocations: 5.031 kB / 0.5225 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.3358, allocations: 3 kB / 0.5225 GB, free: 1.035 MB / 382.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.3358, allocations: 116.4 kB / 0.5226 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.3358, allocations: 2.75 kB / 0.5226 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.336, allocations: 104.4 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.336, allocations: 1.922 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.3361, allocations: 4 kB / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3361, allocations: 1.578 kB / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.872e-05/0.3362, allocations: 174.8 kB / 0.5229 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3362, allocations: 3.938 kB / 0.5229 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.749e-05/0.3362, allocations: 15.38 kB / 0.5229 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3362, allocations: 0 / 0.5229 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.3363, allocations: 5.969 kB / 0.5229 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3363, allocations: 1.094 kB / 0.5229 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3363, allocations: 0 / 0.5229 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.3364, allocations: 118.9 kB / 0.5231 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.3364, allocations: 82.97 kB / 0.5231 GB, free: 448 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.3365, allocations: 5.531 kB / 0.5231 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.408e-05/0.3365, allocations: 0.875 kB / 0.5231 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.3365, allocations: 9.656 kB / 0.5232 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.3365, allocations: 3.062 kB / 0.5232 GB, free: 440 kB / 382.1 MB Notification: Performance of sorting global known variables: time 1.758e-05/0.3365, allocations: 76.19 kB / 0.5232 GB, free: 364 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3365, allocations: 0 / 0.5232 GB, free: 364 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001988/0.3367, allocations: 24.2 kB / 0.5233 GB, free: 352 kB / 382.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001126/0.3369, allocations: 105.3 kB / 0.5234 GB, free: 260 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.337, allocations: 59.28 kB / 0.5234 GB, free: 240 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.337, allocations: 1.219 kB / 0.5234 GB, free: 240 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.26e-05/0.3371, allocations: 34.5 kB / 0.5234 GB, free: 228 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.3372, allocations: 4.062 kB / 0.5234 GB, free: 228 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.3375, allocations: 163.6 kB / 0.5236 GB, free: 72 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.3377, allocations: 0.6852 MB / 0.5243 GB, free: 15.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.3378, allocations: 17.67 kB / 0.5243 GB, free: 15.36 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3378, allocations: 0 / 0.5243 GB, free: 15.36 MB / 398.1 MB Notification: Performance of Templates: time 0.002257/0.34, allocations: 0.8124 MB / 0.5251 GB, free: 15.3 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches