Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_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.001088/0.001088, allocations: 102.8 kB / 16.02 MB, free: 76 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.001642/0.001642, allocations: 185.6 kB / 16.92 MB, free: 6.914 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.353/1.353, allocations: 205.4 MB / 223.1 MB, free: 5.539 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.3197/0.3197, allocations: 43.57 MB / 315 MB, free: 8.805 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.0004843/0.0004844, allocations: 19.98 kB / 384.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1021, allocations: 58.87 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0006583/0.1028, allocations: 232.4 kB / 443.7 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.1049, allocations: 1.428 MB / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.217e-05/0.105, allocations: 0 / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.069e-05/0.105, allocations: 0 / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.63e-05/0.105, allocations: 0 / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.1055, allocations: 159.6 kB / 445.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.452e-05/0.1055, allocations: 8 kB / 445.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.151e-05/0.1056, allocations: 4 kB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.823e-05/0.1056, allocations: 4 kB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.424e-05/0.1057, allocations: 7.922 kB / 445.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.1057, allocations: 0 / 445.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003788/0.1061, allocations: 271.6 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.1061, allocations: 4 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.1061, allocations: 25.7 kB / 445.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.1063, allocations: 139.7 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1063, allocations: 0 / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.428e-06/0.1063, allocations: 4 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.1063, allocations: 4 kB / 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002865/0.1066, allocations: 335.5 kB / 446 MB, free: 10.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1067, allocations: 8.031 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.1067, allocations: 4.844 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.044e-05/0.1068, allocations: 164.4 kB / 446.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.1068, allocations: 384 / 446.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.1068, allocations: 384 / 446.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.502e-05/0.1069, allocations: 45.98 kB / 446.3 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1069, allocations: 0 / 446.3 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.1069, allocations: 8 kB / 446.3 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.1069, allocations: 0 / 446.3 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.936e-05/0.107, allocations: 7.938 kB / 446.3 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.1073, allocations: 245.2 kB / 446.5 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.442e-05/0.1073, allocations: 14.58 kB / 446.5 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.1073, allocations: 8.922 kB / 446.5 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.1074, allocations: 4 kB / 446.5 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.1074, allocations: 30.56 kB / 446.6 MB, free: 9.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1074, allocations: 0 / 446.6 MB, free: 9.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000126/0.1075, allocations: 45.62 kB / 446.6 MB, free: 9.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.1076, allocations: 51.41 kB / 446.7 MB, free: 9.254 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.759e-05/0.1076, allocations: 93.8 kB / 446.8 MB, free: 9.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.1076, allocations: 29.7 kB / 446.8 MB, free: 9.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.1077, allocations: 88.3 kB / 446.9 MB, free: 9.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.003e-06/0.1077, allocations: 7.984 kB / 446.9 MB, free: 9.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/0.1077, allocations: 9.719 kB / 446.9 MB, free: 9.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1078, allocations: 314.8 kB / 447.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/0.1078, allocations: 4 kB / 447.2 MB, free: 8.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.022e-05/0.1079, allocations: 18.58 kB / 447.2 MB, free: 8.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.793e-05/0.1079, allocations: 34.5 kB / 447.3 MB, free: 8.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1079, allocations: 0 / 447.3 MB, free: 8.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.66e-05/0.108, allocations: 53.58 kB / 447.3 MB, free: 8.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.108, allocations: 4 kB / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.108, allocations: 0 / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.108, allocations: 0 / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.418e-05/0.1081, allocations: 11.98 kB / 447.3 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.1081, allocations: 0 / 447.3 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/0.1081, allocations: 8 kB / 447.3 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1081, allocations: 7.938 kB / 447.3 MB, free: 8.523 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.989e-05/0.1082, allocations: 113.7 kB / 447.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.1082, allocations: 0 / 447.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.1083, allocations: 44.81 kB / 447.5 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.1083, allocations: 4 kB / 447.5 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1083, allocations: 4.031 kB / 447.5 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1084, allocations: 4 kB / 447.5 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.1085, allocations: 153.6 kB / 447.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.1085, allocations: 7.984 kB / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.1085, allocations: 0 / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1085, allocations: 0 / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.1085, allocations: 0 / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1085, allocations: 0 / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1085, allocations: 0 / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.153e-05/0.1086, allocations: 135.4 kB / 447.8 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.1087, allocations: 81.09 kB / 447.9 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.1087, allocations: 4 kB / 447.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.016e-05/0.1087, allocations: 0 / 447.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.1087, allocations: 8.078 kB / 447.9 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.1088, allocations: 0 / 447.9 MB, free: 7.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.986e-05/0.1088, allocations: 79.28 kB / 448 MB, free: 7.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1088, allocations: 0 / 448 MB, free: 7.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1091, allocations: 44.11 kB / 448 MB, free: 7.754 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.0002447/0.1093, allocations: 143.2 kB / 448.1 MB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.909e-05/0.1094, allocations: 11.94 kB / 448.2 MB, free: 7.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1094, allocations: 0 / 448.2 MB, free: 7.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/0.1094, allocations: 29.7 kB / 448.2 MB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.1097, allocations: 7.922 kB / 448.2 MB, free: 7.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001901/0.1098, allocations: 90.95 kB / 448.3 MB, free: 7.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.1101, allocations: 0.677 MB / 449 MB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.253e-05/0.1101, allocations: 0 / 449 MB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.537e-05/0.1101, allocations: 11.44 kB / 449 MB, free: 6.727 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1101, allocations: 0 / 449 MB, free: 6.727 MB / 382.1 MB Notification: Performance of Templates: time 0.002972/0.1131, allocations: 1.05 MB / 450 MB, free: 5.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches