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.001058/0.001059, allocations: 88.19 kB / 15.7 MB, free: 460 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.0007973/0.0007973, allocations: 175.4 kB / 16.58 MB, free: 6.84 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.42/1.42, allocations: 205.4 MB / 222.8 MB, free: 5.664 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.3511/0.3511, allocations: 43.57 MB / 314.6 MB, free: 8.766 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.0004992/0.0004993, allocations: 16 kB / 384 MB, free: 8.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1265, allocations: 58.86 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0006083/0.1272, allocations: 232.3 kB / 443 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.1288, allocations: 1.347 MB / 444.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.1289, allocations: 3.938 kB / 444.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.018e-05/0.1289, allocations: 0 / 444.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.921e-05/0.1289, allocations: 0 / 444.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.1295, allocations: 155.6 kB / 444.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.742e-05/0.1295, allocations: 3.984 kB / 444.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.1296, allocations: 8 kB / 444.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.715e-05/0.1296, allocations: 0 / 444.6 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.423e-05/0.1297, allocations: 4 kB / 444.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1297, allocations: 0 / 444.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004273/0.1301, allocations: 267.6 kB / 444.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.1301, allocations: 3.984 kB / 444.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.1302, allocations: 25.7 kB / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.1303, allocations: 87.81 kB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1303, allocations: 0 / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1303, allocations: 0 / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.1303, allocations: 0 / 444.9 MB, free: 10.89 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.0003072/0.1307, allocations: 327.4 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1307, allocations: 8.031 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.1307, allocations: 11.86 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.852e-05/0.1308, allocations: 163 kB / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.1309, allocations: 0 / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.1309, allocations: 8 kB / 445.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.131, allocations: 37.67 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.131, allocations: 0 / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.131, allocations: 0 / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.131, allocations: 0 / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.594e-05/0.1311, allocations: 19.94 kB / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.1314, allocations: 233.2 kB / 445.7 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.491e-05/0.1315, allocations: 26.52 kB / 445.8 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/0.1315, allocations: 8.891 kB / 445.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-06/0.1315, allocations: 4 kB / 445.8 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.1315, allocations: 34.62 kB / 445.8 MB, free: 9.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.1315, allocations: 0 / 445.8 MB, free: 9.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001487/0.1317, allocations: 37.66 kB / 445.8 MB, free: 9.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.1317, allocations: 59.28 kB / 445.9 MB, free: 9.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.499e-05/0.1318, allocations: 105.8 kB / 446 MB, free: 9.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1318, allocations: 25.7 kB / 446 MB, free: 9.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.1319, allocations: 84.05 kB / 446.1 MB, free: 9.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.689e-06/0.1319, allocations: 4 kB / 446.1 MB, free: 9.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.1319, allocations: 0 / 446.1 MB, free: 9.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.132, allocations: 311.1 kB / 446.4 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.132, allocations: 4 kB / 446.4 MB, free: 9.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.661e-05/0.1321, allocations: 26.56 kB / 446.4 MB, free: 9.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.941e-05/0.1321, allocations: 4 kB / 446.4 MB, free: 9.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1321, allocations: 0 / 446.4 MB, free: 9.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.332e-05/0.1322, allocations: 49.58 kB / 446.5 MB, free: 9.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1322, allocations: 12.09 kB / 446.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1322, allocations: 0 / 446.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1322, allocations: 7.938 kB / 446.5 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.1323, allocations: 4 kB / 446.5 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1323, allocations: 7.938 kB / 446.5 MB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.1323, allocations: 7.906 kB / 446.5 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1323, allocations: 0 / 446.5 MB, free: 9.066 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.21e-05/0.1324, allocations: 113.8 kB / 446.6 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.1325, allocations: 0 / 446.6 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.1326, allocations: 48.81 kB / 446.7 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1326, allocations: 3.953 kB / 446.7 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1326, allocations: 0 / 446.7 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.1326, allocations: 0 / 446.7 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.1327, allocations: 149.7 kB / 446.8 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.1328, allocations: 4 kB / 446.8 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.1328, allocations: 0 / 446.8 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1328, allocations: 4 kB / 446.8 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.1328, allocations: 4.031 kB / 446.9 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1328, allocations: 3.938 kB / 446.9 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.1328, allocations: 3.953 kB / 446.9 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.721e-05/0.1329, allocations: 127.5 kB / 447 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.1329, allocations: 77.2 kB / 447.1 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.133, allocations: 3.984 kB / 447.1 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.69e-05/0.133, allocations: 0 / 447.1 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.133, allocations: 11.97 kB / 447.1 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.1331, allocations: 7.953 kB / 447.1 MB, free: 8.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.243e-05/0.1331, allocations: 75.28 kB / 447.2 MB, free: 8.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1331, allocations: 0 / 447.2 MB, free: 8.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.1334, allocations: 43.98 kB / 447.2 MB, free: 8.297 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 (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.0002498/0.1336, allocations: 139.2 kB / 447.3 MB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.846e-05/0.1337, allocations: 8.156 kB / 447.3 MB, free: 8.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.1337, allocations: 8.062 kB / 447.4 MB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.966e-05/0.1338, allocations: 29.69 kB / 447.4 MB, free: 8.102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.134, allocations: 7.938 kB / 447.4 MB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.1342, allocations: 82.77 kB / 447.5 MB, free: 7.988 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.1345, allocations: 0.677 MB / 448.1 MB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.826e-05/0.1345, allocations: 0 / 448.1 MB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.226e-05/0.1345, allocations: 11.5 kB / 448.2 MB, free: 7.277 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1345, allocations: 0 / 448.2 MB, free: 7.277 MB / 382.1 MB Notification: Performance of Templates: time 0.003292/0.1378, allocations: 1.042 MB / 449.2 MB, free: 6.234 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