Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 96.41 kB / 17 MB, free: 6.531 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.001246/0.001246, allocations: 182.2 kB / 17.88 MB, free: 5.945 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.343/1.343, allocations: 223.2 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1951/0.1951, allocations: 44.26 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002886, allocations: 8 kB / 409.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09951/0.09981, allocations: 61.94 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0005315/0.1004, allocations: 206.9 kB / 471.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.1021, allocations: 1.325 MB / 473.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.668e-05/0.1022, allocations: 0 / 473.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.957e-06/0.1022, allocations: 0 / 473.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.116e-05/0.1022, allocations: 0 / 473.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.1028, allocations: 146.6 kB / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.608e-05/0.1028, allocations: 7.984 kB / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.1028, allocations: 7.938 kB / 473.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.57e-05/0.1029, allocations: 3.984 kB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.701e-05/0.1029, allocations: 7.938 kB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.1029, allocations: 0 / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000405/0.1033, allocations: 255.7 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.126e-06/0.1034, allocations: 0 / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.1034, allocations: 25.7 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.1035, allocations: 87.81 kB / 473.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1035, allocations: 0 / 473.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1035, allocations: 4 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.1036, allocations: 0 / 473.7 MB, free: 11.62 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003079/0.1039, allocations: 331.4 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1039, allocations: 15.97 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.1039, allocations: 0 / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.508e-05/0.104, allocations: 159.1 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.104, allocations: 0 / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.1041, allocations: 7.953 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.1042, allocations: 37.69 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.1042, allocations: 4 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1042, allocations: 0 / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1042, allocations: 0 / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.967e-05/0.1042, allocations: 4 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.1046, allocations: 248.9 kB / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.971e-05/0.1046, allocations: 22.58 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.297e-05/0.1047, allocations: 4.859 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.1047, allocations: 4 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.1047, allocations: 34.62 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.1047, allocations: 0 / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001361/0.1048, allocations: 37.62 kB / 474.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.1049, allocations: 55.41 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.359e-05/0.105, allocations: 97.77 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.105, allocations: 25.95 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.543e-05/0.105, allocations: 88.36 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.458e-06/0.1051, allocations: 11.89 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.1051, allocations: 7.938 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.986e-05/0.1052, allocations: 310.8 kB / 475.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.1052, allocations: 3.938 kB / 475.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.429e-05/0.1052, allocations: 22.56 kB / 475.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.031e-05/0.1053, allocations: 11.95 kB / 475.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1053, allocations: 0 / 475.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.915e-05/0.1053, allocations: 49.62 kB / 475.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1054, allocations: 8 kB / 475.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1054, allocations: 0 / 475.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.1054, allocations: 0 / 475.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.1054, allocations: 7.938 kB / 475.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.1055, allocations: 7.984 kB / 475.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.1055, allocations: 4.094 kB / 475.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.1055, allocations: 0 / 475.2 MB, free: 9.809 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 6.606e-05/0.1056, allocations: 118.3 kB / 475.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.1056, allocations: 0 / 475.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.1057, allocations: 48.77 kB / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1057, allocations: 0 / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1057, allocations: 0 / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1057, allocations: 4.031 kB / 475.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.1059, allocations: 149.7 kB / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.1059, allocations: 3.953 kB / 475.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-06/0.1059, allocations: 3.938 kB / 475.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.1059, allocations: 3.984 kB / 475.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1059, allocations: 4 kB / 475.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1059, allocations: 0 / 475.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1059, allocations: 0 / 475.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.397e-05/0.106, allocations: 135.5 kB / 475.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.1061, allocations: 81.06 kB / 475.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.1061, allocations: 3.984 kB / 475.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.436e-05/0.1061, allocations: 0 / 475.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.1062, allocations: 4 kB / 475.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.1062, allocations: 0 / 475.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.945e-05/0.1062, allocations: 75.28 kB / 475.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1062, allocations: 0 / 475.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.1065, allocations: 40.12 kB / 475.9 MB, free: 9.047 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002508/0.1068, allocations: 151.1 kB / 476.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.386e-05/0.1068, allocations: 7.938 kB / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1068, allocations: 0 / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.729e-05/0.1069, allocations: 29.7 kB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.1071, allocations: 10.23 kB / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001864/0.1073, allocations: 83.25 kB / 476.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.1075, allocations: 0.6692 MB / 476.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.775e-05/0.1076, allocations: 11.92 kB / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.501e-05/0.1076, allocations: 7.438 kB / 476.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of SimCode: time 1.913e-06/0.1076, allocations: 0 / 476.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of Templates: time 0.003101/0.1107, allocations: 1.042 MB / 477.9 MB, free: 6.977 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches