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.001289/0.001289, allocations: 108.4 kB / 17.98 MB, free: 5.379 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.001223/0.001223, allocations: 193.3 kB / 18.9 MB, free: 4.461 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.321/1.321, allocations: 222.9 MB / 242.6 MB, free: 15.38 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.1905/0.1905, allocations: 44.17 MB / 336.9 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.66 kB / 408.5 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1019, allocations: 60.84 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001655/0.1036, allocations: 0.5838 MB / 470 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003554/0.104, allocations: 162 kB / 470.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.104, allocations: 4 kB / 470.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.299e-05/0.104, allocations: 0 / 470.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.1042, allocations: 27.91 kB / 470.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.286e-06/0.1042, allocations: 0 / 470.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.564e-05/0.1043, allocations: 23.86 kB / 470.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.1043, allocations: 3.984 kB / 470.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.088e-05/0.1044, allocations: 11.94 kB / 470.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.619e-05/0.1044, allocations: 15.92 kB / 470.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1044, allocations: 11.88 kB / 470.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1045, allocations: 47.95 kB / 470.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.898e-06/0.1046, allocations: 11.98 kB / 470.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.628e-05/0.1046, allocations: 3.938 kB / 470.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.315e-05/0.1047, allocations: 27.95 kB / 470.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1047, allocations: 0 / 470.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1047, allocations: 0 / 470.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1047, allocations: 0 / 470.3 MB, free: 13.79 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.0002796/0.105, allocations: 335.9 kB / 470.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.105, allocations: 15.97 kB / 470.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.105, allocations: 8.828 kB / 470.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.1052, allocations: 172.3 kB / 470.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1052, allocations: 8.375 kB / 470.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.1052, allocations: 4.375 kB / 470.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1053, allocations: 58.23 kB / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.1053, allocations: 192 / 470.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1054, allocations: 7.938 kB / 470.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1054, allocations: 4 kB / 470.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-05/0.1055, allocations: 51.89 kB / 471 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.1056, allocations: 173.7 kB / 471.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.1058, allocations: 82.55 kB / 471.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.534e-05/0.1058, allocations: 28.84 kB / 471.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003159/0.1061, allocations: 251.6 kB / 471.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1062, allocations: 34.5 kB / 471.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1062, allocations: 0 / 471.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002138/0.1064, allocations: 109.7 kB / 471.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.1064, allocations: 59.41 kB / 471.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.58e-05/0.1065, allocations: 93.95 kB / 471.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.1065, allocations: 29.64 kB / 471.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/0.1066, allocations: 80.14 kB / 471.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.1066, allocations: 31.55 kB / 471.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.1066, allocations: 29.7 kB / 471.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.209e-05/0.1067, allocations: 310.8 kB / 472.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/0.1068, allocations: 24.11 kB / 472.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/0.1068, allocations: 20 kB / 472.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.872e-05/0.1069, allocations: 52.78 kB / 472.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1069, allocations: 0 / 472.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001089/0.107, allocations: 81.62 kB / 472.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.107, allocations: 8 kB / 472.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.107, allocations: 3.938 kB / 472.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.1071, allocations: 0 / 472.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.763e-05/0.1072, allocations: 15.98 kB / 472.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1072, allocations: 0 / 472.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.1072, allocations: 15.84 kB / 472.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.1072, allocations: 0 / 472.5 MB, free: 11.35 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 7.281e-05/0.1073, allocations: 117.8 kB / 472.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.1073, allocations: 0 / 472.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.1075, allocations: 109.7 kB / 472.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1075, allocations: 0 / 472.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1075, allocations: 0 / 472.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1075, allocations: 3.984 kB / 472.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.1076, allocations: 177.6 kB / 472.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1076, allocations: 0 / 472.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.811e-05/0.1077, allocations: 23.92 kB / 472.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1077, allocations: 4 kB / 472.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1077, allocations: 3.938 kB / 472.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1078, allocations: 0 / 472.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1078, allocations: 0 / 472.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.1079, allocations: 109.1 kB / 473 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.1079, allocations: 89 kB / 473.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.108, allocations: 7.938 kB / 473.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.561e-05/0.108, allocations: 4 kB / 473.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.108, allocations: 7.984 kB / 473.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.108, allocations: 0 / 473.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.217e-05/0.108, allocations: 75.28 kB / 473.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1081, allocations: 0 / 473.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001938/0.1083, allocations: 19.98 kB / 473.2 MB, free: 10.51 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.0001238/0.1084, allocations: 111.8 kB / 473.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.1085, allocations: 63.91 kB / 473.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1085, allocations: 0 / 473.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.596e-05/0.1086, allocations: 27.94 kB / 473.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.1087, allocations: 4.562 kB / 473.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003069/0.109, allocations: 182.6 kB / 473.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.1093, allocations: 0.6884 MB / 474.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.1093, allocations: 11.44 kB / 474.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1093, allocations: 0 / 474.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of Templates: time 0.002081/0.1114, allocations: 0.8045 MB / 475.1 MB, free: 8.551 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 -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