Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009578/0.0009579, allocations: 97.95 kB / 17 MB, free: 6.418 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.000883/0.000883, allocations: 188.1 kB / 17.89 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.387/1.387, allocations: 223.3 MB / 241.9 MB, free: 14.52 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.1981/0.1981, allocations: 44.25 MB / 337.3 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002949, allocations: 9.531 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1079, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.000551/0.1085, allocations: 210.9 kB / 471.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.1103, allocations: 1.313 MB / 473.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.1103, allocations: 0 / 473.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.13e-05/0.1103, allocations: 4 kB / 473.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.243e-05/0.1104, allocations: 0 / 473.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.111, allocations: 146.3 kB / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.728e-05/0.1111, allocations: 8 kB / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.1111, allocations: 0 / 473.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.229e-05/0.1112, allocations: 15.91 kB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.226e-05/0.1112, allocations: 3.938 kB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.1112, allocations: 4 kB / 473.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004478/0.1117, allocations: 255.7 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.096e-06/0.1117, allocations: 0 / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.1117, allocations: 29.64 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1119, allocations: 87.81 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1119, allocations: 4 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1119, allocations: 0 / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.1119, 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003292/0.1123, allocations: 327.4 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1123, allocations: 11.97 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.1123, allocations: 4 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1124, allocations: 159.1 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1125, allocations: 4 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.986e-06/0.1125, allocations: 3.953 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.496e-05/0.1126, allocations: 37.69 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1126, allocations: 0 / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1126, allocations: 0 / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1126, allocations: 0 / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.237e-05/0.1126, allocations: 4 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.1128, allocations: 149.6 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.841e-05/0.1128, allocations: 18.61 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.1129, allocations: 16.84 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.1129, allocations: 0 / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1129, allocations: 38.58 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.1129, allocations: 0 / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001347/0.1131, allocations: 33.64 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.1131, allocations: 55.41 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.1132, allocations: 97.84 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1132, allocations: 29.95 kB / 474.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.1132, allocations: 80.14 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.1133, allocations: 7.906 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.1133, allocations: 0 / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1134, allocations: 314.8 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.639e-06/0.1134, allocations: 0 / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/0.1134, allocations: 8 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.866e-05/0.1134, allocations: 0 / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1135, allocations: 0 / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.342e-05/0.1135, allocations: 41.75 kB / 475.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1136, allocations: 11.89 kB / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1136, allocations: 0 / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1136, allocations: 0 / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.1137, allocations: 4 kB / 475.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1137, allocations: 0 / 475.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.1137, allocations: 0 / 475.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.1137, allocations: 0 / 475.1 MB, free: 9.973 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 (1): * Single equations (assignments): 1 * 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 7.474e-05/0.1138, allocations: 110.7 kB / 475.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-06/0.1138, allocations: 4.031 kB / 475.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.1139, allocations: 56.72 kB / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1139, allocations: 0 / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1139, allocations: 0 / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1139, allocations: 0 / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.1141, allocations: 157.5 kB / 475.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.1141, allocations: 3.984 kB / 475.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.1141, allocations: 4.031 kB / 475.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.1141, allocations: 0 / 475.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.1141, allocations: 3.938 kB / 475.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1141, allocations: 7.953 kB / 475.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1141, allocations: 0 / 475.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.5e-05/0.1142, allocations: 61.12 kB / 475.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.1143, allocations: 81.02 kB / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1143, allocations: 32 / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.1143, allocations: 8 kB / 475.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.1144, allocations: 3.953 kB / 475.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.1144, allocations: 0 / 475.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.14e-05/0.1144, allocations: 87.27 kB / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1144, allocations: 0 / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1147, allocations: 36 kB / 475.7 MB, free: 9.258 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.0002609/0.1149, allocations: 139.2 kB / 475.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.261e-05/0.115, allocations: 20.02 kB / 475.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.115, allocations: 0 / 475.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.77e-05/0.1151, allocations: 29.7 kB / 475.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.1153, allocations: 0.75 kB / 475.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002065/0.1155, allocations: 78.75 kB / 476 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.1157, allocations: 0.6731 MB / 476.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.043e-05/0.1157, allocations: 4.125 kB / 476.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.1158, allocations: 7.438 kB / 476.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1158, allocations: 0 / 476.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of Templates: time 0.003282/0.1191, allocations: 1.045 MB / 477.7 MB, free: 7.195 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches