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.001065/0.001065, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001018/0.001018, allocations: 188 kB / 19.34 MB, free: 3.641 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.302/1.302, allocations: 222.9 MB / 243 MB, free: 15.14 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.1952/0.1952, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 62.81 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09959/0.1008, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001646/0.1025, allocations: 0.526 MB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003604/0.1029, allocations: 154 kB / 471.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.1029, allocations: 0 / 471.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.103, allocations: 7.938 kB / 471.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.1032, allocations: 39.83 kB / 471.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.728e-06/0.1032, allocations: 4 kB / 471.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.92e-05/0.1033, allocations: 23.86 kB / 471.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.1033, allocations: 3.984 kB / 471.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.808e-05/0.1033, allocations: 7.938 kB / 471.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.452e-05/0.1034, allocations: 19.86 kB / 471.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.1034, allocations: 4 kB / 471.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1035, allocations: 51.94 kB / 471.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.1036, allocations: 7.922 kB / 471.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.715e-05/0.1036, allocations: 3.938 kB / 471.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.1037, allocations: 51.88 kB / 471.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1037, allocations: 0 / 471.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.1037, allocations: 0 / 471.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1037, allocations: 3.938 kB / 471.6 MB, free: 12.77 MB / 350.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.0002754/0.104, allocations: 335.6 kB / 471.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.104, allocations: 8.031 kB / 471.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.1041, allocations: 8.844 kB / 472 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1042, allocations: 164.3 kB / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.1042, allocations: 12.31 kB / 472.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.1042, allocations: 4.375 kB / 472.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.1044, allocations: 58.23 kB / 472.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1044, allocations: 192 / 472.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1044, allocations: 7.938 kB / 472.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1044, allocations: 4 kB / 472.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.194e-05/0.1045, allocations: 47.95 kB / 472.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.1047, allocations: 177.6 kB / 472.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.1048, allocations: 70.56 kB / 472.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.935e-05/0.1049, allocations: 36.84 kB / 472.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002968/0.1052, allocations: 259.3 kB / 472.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.1052, allocations: 30.56 kB / 472.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1052, allocations: 0 / 472.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002152/0.1054, allocations: 110 kB / 472.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.1055, allocations: 55.5 kB / 473 MB, free: 11.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.69e-05/0.1055, allocations: 101.8 kB / 473.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1055, allocations: 29.64 kB / 473.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.331e-05/0.1056, allocations: 80.14 kB / 473.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.1056, allocations: 31.55 kB / 473.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.1057, allocations: 21.72 kB / 473.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1058, allocations: 318.8 kB / 473.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.181e-05/0.1058, allocations: 16 kB / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.872e-05/0.1058, allocations: 16.11 kB / 473.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.754e-05/0.1059, allocations: 56.86 kB / 473.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1059, allocations: 0 / 473.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001212/0.1061, allocations: 85.62 kB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1061, allocations: 4 kB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1061, allocations: 11.88 kB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1061, allocations: 3.984 kB / 473.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.1062, allocations: 15.94 kB / 473.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1062, allocations: 0 / 473.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.514e-05/0.1063, allocations: 11.84 kB / 473.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1063, allocations: 4 kB / 473.8 MB, free: 10.34 MB / 350.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 6.585e-05/0.1063, allocations: 113.8 kB / 473.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.1064, allocations: 0 / 473.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.1065, allocations: 113.7 kB / 474 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1066, allocations: 0 / 474 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1066, allocations: 0 / 474 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1066, allocations: 0 / 474 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.1067, allocations: 173.6 kB / 474.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1067, allocations: 3.984 kB / 474.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.543e-05/0.1068, allocations: 16 kB / 474.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1068, allocations: 4 kB / 474.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.1068, allocations: 3.938 kB / 474.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1068, allocations: 0 / 474.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1068, allocations: 0 / 474.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.107, allocations: 113 kB / 474.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.107, allocations: 81.02 kB / 474.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.107, allocations: 7.938 kB / 474.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.604e-05/0.1071, allocations: 8 kB / 474.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.1071, allocations: 7.984 kB / 474.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.1071, allocations: 3.938 kB / 474.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.675e-05/0.1071, allocations: 75.28 kB / 474.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1071, allocations: 0 / 474.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000201/0.1073, allocations: 16 kB / 474.5 MB, free: 9.512 MB / 350.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.0001233/0.1075, allocations: 107.2 kB / 474.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.1076, allocations: 60.02 kB / 474.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1076, allocations: 0 / 474.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.357e-05/0.1077, allocations: 36.3 kB / 474.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.1078, allocations: 6.672 kB / 474.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.1081, allocations: 149 kB / 474.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.1084, allocations: 0.6807 MB / 475.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.702e-05/0.1085, allocations: 12 kB / 475.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.1085, allocations: 11.44 kB / 475.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1085, allocations: 0 / 475.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of Templates: time 0.002665/0.1112, allocations: 0.6407 MB / 476.2 MB, free: 7.754 MB / 350.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 -s gbode -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