Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_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.001003/0.001003, allocations: 96.7 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 180.2 kB / 16.92 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.4 MB / 223.1 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.317/0.317, allocations: 43.57 MB / 315 MB, free: 8.816 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004859, allocations: 12.33 kB / 384.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1088, allocations: 58.87 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0005438/0.1094, allocations: 228.4 kB / 443.7 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1111, allocations: 1.436 MB / 445.1 MB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.191e-05/0.1111, allocations: 0 / 445.1 MB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.1111, allocations: 0 / 445.1 MB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.727e-05/0.1112, allocations: 0 / 445.1 MB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.1117, allocations: 155.7 kB / 445.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.735e-05/0.1117, allocations: 4 kB / 445.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.1118, allocations: 0 / 445.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.755e-05/0.1118, allocations: 8 kB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.353e-05/0.1118, allocations: 11.92 kB / 445.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1119, allocations: 0 / 445.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.1122, allocations: 263.6 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.1123, allocations: 3.984 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.1123, allocations: 33.7 kB / 445.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.1125, allocations: 139.7 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1125, allocations: 0 / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1125, allocations: 0 / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.1125, allocations: 0 / 445.7 MB, free: 10.39 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003132/0.1128, allocations: 339.5 kB / 446 MB, free: 10.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1129, allocations: 11.97 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.1129, allocations: 0.9375 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.552e-05/0.113, allocations: 160.7 kB / 446.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.113, allocations: 8.375 kB / 446.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.1131, allocations: 4.359 kB / 446.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.899e-05/0.1131, allocations: 34.02 kB / 446.3 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1132, allocations: 11.92 kB / 446.3 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.1132, allocations: 4 kB / 446.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1132, allocations: 0 / 446.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.661e-05/0.1132, allocations: 0 / 446.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.1133, allocations: 145.7 kB / 446.4 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.438e-05/0.1134, allocations: 18.58 kB / 446.4 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.1134, allocations: 12.94 kB / 446.4 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-06/0.1134, allocations: 0 / 446.4 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1134, allocations: 38.5 kB / 446.5 MB, free: 9.457 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.1134, allocations: 3.938 kB / 446.5 MB, free: 9.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001101/0.1136, allocations: 37.64 kB / 446.5 MB, free: 9.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.1136, allocations: 51.41 kB / 446.6 MB, free: 9.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.907e-05/0.1137, allocations: 97.86 kB / 446.7 MB, free: 9.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.1137, allocations: 29.69 kB / 446.7 MB, free: 9.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.1137, allocations: 80.14 kB / 446.8 MB, free: 9.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.1137, allocations: 4.188 kB / 446.8 MB, free: 9.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.111e-05/0.1138, allocations: 13.72 kB / 446.8 MB, free: 9.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.1139, allocations: 310.8 kB / 447.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.1139, allocations: 4 kB / 447.1 MB, free: 8.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.58e-06/0.1139, allocations: 0 / 447.1 MB, free: 8.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.1139, allocations: 16.8 kB / 447.1 MB, free: 8.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1139, allocations: 0 / 447.1 MB, free: 8.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.437e-05/0.114, allocations: 41.59 kB / 447.2 MB, free: 8.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.114, allocations: 8.031 kB / 447.2 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.114, allocations: 4 kB / 447.2 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/0.114, allocations: 0 / 447.2 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.02e-05/0.1141, allocations: 4 kB / 447.2 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1141, allocations: 0 / 447.2 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.148e-05/0.1141, allocations: 0 / 447.2 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1141, allocations: 0 / 447.2 MB, free: 8.703 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 (1): * Single equations (assignments): 1 * 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.305e-05/0.1142, allocations: 113.8 kB / 447.3 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.1142, allocations: 3.938 kB / 447.3 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.1143, allocations: 52.75 kB / 447.3 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1143, allocations: 0 / 447.3 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1143, allocations: 0 / 447.3 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.1143, allocations: 0 / 447.3 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.392e-05/0.1144, allocations: 149.7 kB / 447.5 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1144, allocations: 0 / 447.5 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1144, allocations: 0 / 447.5 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1145, allocations: 3.938 kB / 447.5 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1145, allocations: 8.031 kB / 447.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1145, allocations: 4 kB / 447.5 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1145, allocations: 0 / 447.5 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.666e-05/0.1145, allocations: 61.06 kB / 447.6 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.1146, allocations: 81.05 kB / 447.6 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.1146, allocations: 4 kB / 447.6 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.235e-05/0.1147, allocations: 4 kB / 447.6 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.1147, allocations: 4.031 kB / 447.6 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1147, allocations: 4 kB / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.992e-05/0.1147, allocations: 83.27 kB / 447.7 MB, free: 8.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1147, allocations: 0 / 447.7 MB, free: 8.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.115, allocations: 39.94 kB / 447.8 MB, free: 7.996 MB / 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002531/0.1152, allocations: 147.1 kB / 447.9 MB, free: 7.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.934e-05/0.1153, allocations: 8 kB / 447.9 MB, free: 7.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1153, allocations: 4.156 kB / 447.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.992e-05/0.1154, allocations: 29.7 kB / 448 MB, free: 7.797 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.1155, allocations: 3.438 kB / 448 MB, free: 7.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001821/0.1157, allocations: 94.56 kB / 448.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.1159, allocations: 0.6731 MB / 448.7 MB, free: 6.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.482e-05/0.1159, allocations: 0 / 448.7 MB, free: 6.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.1159, allocations: 15.44 kB / 448.7 MB, free: 6.969 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1159, allocations: 4.062 kB / 448.7 MB, free: 6.965 MB / 382.1 MB Notification: Performance of Templates: time 0.002956/0.1189, allocations: 1.054 MB / 449.8 MB, free: 5.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches