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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 169.3 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8456/0.8456, allocations: 158.6 MB / 186 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1394/0.1394, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 299 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.998e-05, allocations: 2.312 kB / 299 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.00106/0.00108, allocations: 0.5054 MB / 299.6 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.002374, allocations: 1.39 MB / 300.9 MB, free: 316 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.169e-05/0.002396, allocations: 0 / 300.9 MB, free: 316 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.215e-05/0.002408, allocations: 0 / 300.9 MB, free: 316 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.386e-05/0.002432, allocations: 4 kB / 300.9 MB, free: 312 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.002919, allocations: 211.9 kB / 301.2 MB, free: 100 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.666e-05/0.002966, allocations: 11.94 kB / 301.2 MB, free: 88 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.358e-05/0.002999, allocations: 7.938 kB / 301.2 MB, free: 80 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.06e-05/0.00303, allocations: 3.984 kB / 301.2 MB, free: 76 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.66e-05/0.003076, allocations: 4 kB / 301.2 MB, free: 72 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.003089, allocations: 3.984 kB / 301.2 MB, free: 68 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.122/0.1251, allocations: 250.1 kB / 301.4 MB, free: 19.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.1251, allocations: 4.75 kB / 301.4 MB, free: 19.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.1251, allocations: 1.688 kB / 301.4 MB, free: 19.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.1254, allocations: 196.9 kB / 301.6 MB, free: 19.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1254, allocations: 1 kB / 301.6 MB, free: 19.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1254, allocations: 0 / 301.6 MB, free: 19.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1254, allocations: 3.531 kB / 301.6 MB, free: 19.34 MB / 282.7 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.0002546/0.1256, allocations: 234.8 kB / 301.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1257, allocations: 9.969 kB / 301.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.1257, allocations: 2.219 kB / 301.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.588e-05/0.1258, allocations: 104.8 kB / 302 MB, free: 18.99 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1258, allocations: 2.062 kB / 302 MB, free: 18.99 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.1258, allocations: 2 kB / 302 MB, free: 18.99 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.877e-05/0.1259, allocations: 66.34 kB / 302 MB, free: 18.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.1259, allocations: 192 / 302 MB, free: 18.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.1259, allocations: 3 kB / 302 MB, free: 18.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.1259, allocations: 5.188 kB / 302.1 MB, free: 18.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.427e-05/0.1259, allocations: 3.781 kB / 302.1 MB, free: 18.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.1261, allocations: 147.4 kB / 302.2 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.735e-05/0.1261, allocations: 21.33 kB / 302.2 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.558e-06/0.1261, allocations: 5.922 kB / 302.2 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.331e-06/0.1261, allocations: 2.875 kB / 302.2 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.1262, allocations: 33.33 kB / 302.3 MB, free: 18.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.1262, allocations: 0 / 302.3 MB, free: 18.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 8.29e-05/0.1262, allocations: 40.36 kB / 302.3 MB, free: 18.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.694e-05/0.1263, allocations: 52.84 kB / 302.4 MB, free: 18.62 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.62e-05/0.1263, allocations: 104.3 kB / 302.5 MB, free: 18.51 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-06/0.1263, allocations: 27.95 kB / 302.5 MB, free: 18.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.231e-05/0.1263, allocations: 89.81 kB / 302.6 MB, free: 18.39 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-06/0.1263, allocations: 7.688 kB / 302.6 MB, free: 18.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.1263, allocations: 17.2 kB / 302.6 MB, free: 18.37 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.471e-05/0.1264, allocations: 316.8 kB / 302.9 MB, free: 18.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-06/0.1264, allocations: 2.797 kB / 302.9 MB, free: 18.06 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.365e-05/0.1264, allocations: 22.25 kB / 302.9 MB, free: 18.04 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.31e-05/0.1264, allocations: 25.73 kB / 303 MB, free: 18.01 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1264, allocations: 0 / 303 MB, free: 18.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.911e-05/0.1265, allocations: 46.98 kB / 303 MB, free: 17.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1265, allocations: 5.469 kB / 303 MB, free: 17.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1265, allocations: 3.188 kB / 303 MB, free: 17.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1265, allocations: 3.938 kB / 303 MB, free: 17.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.528e-05/0.1265, allocations: 5.344 kB / 303 MB, free: 17.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.1265, allocations: 4.953 kB / 303 MB, free: 17.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.117e-05/0.1265, allocations: 2.281 kB / 303 MB, free: 17.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1265, allocations: 0 / 303 MB, free: 17.98 MB / 282.7 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 3.88e-05/0.1266, allocations: 114.7 kB / 303.1 MB, free: 17.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.1266, allocations: 2.125 kB / 303.1 MB, free: 17.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.419e-05/0.1267, allocations: 43.3 kB / 303.2 MB, free: 17.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.1267, allocations: 5.375 kB / 303.2 MB, free: 17.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.1267, allocations: 2.578 kB / 303.2 MB, free: 17.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1267, allocations: 0 / 303.2 MB, free: 17.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.538e-05/0.1267, allocations: 61.52 kB / 303.2 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.1267, allocations: 2.172 kB / 303.2 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.1267, allocations: 3.719 kB / 303.3 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1267, allocations: 3.891 kB / 303.3 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-06/0.1267, allocations: 5.375 kB / 303.3 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1267, allocations: 0 / 303.3 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1267, allocations: 0 / 303.3 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.16e-05/0.1268, allocations: 133.9 kB / 303.4 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-06/0.1268, allocations: 2.031 kB / 303.4 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-06/0.1268, allocations: 2.5 kB / 303.4 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.22e-05/0.1268, allocations: 3.062 kB / 303.4 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-06/0.1268, allocations: 4.641 kB / 303.4 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.1268, allocations: 1.5 kB / 303.4 MB, free: 17.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.544e-06/0.1269, allocations: 6.938 kB / 303.4 MB, free: 17.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1269, allocations: 3.531 kB / 303.4 MB, free: 17.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001972/0.127, allocations: 40.88 kB / 303.5 MB, free: 17.6 MB / 282.7 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.0001977/0.1272, allocations: 131.3 kB / 303.6 MB, free: 17.53 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.267e-05/0.1273, allocations: 16.27 kB / 303.6 MB, free: 17.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1273, allocations: 0 / 303.6 MB, free: 17.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.75e-05/0.1273, allocations: 36.47 kB / 303.6 MB, free: 17.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.44e-05/0.1274, allocations: 2.906 kB / 303.6 MB, free: 17.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001564/0.1276, allocations: 95.27 kB / 303.7 MB, free: 17.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.903e-05/0.1276, allocations: 57.91 kB / 303.8 MB, free: 17.31 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.195e-05/0.1276, allocations: 2.891 kB / 303.8 MB, free: 17.31 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.1276, allocations: 57.36 kB / 303.8 MB, free: 17.26 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1276, allocations: 0 / 303.8 MB, free: 17.26 MB / 282.7 MB Notification: Performance of Templates: time 0.003269/0.1309, allocations: 1.26 MB / 305.1 MB, free: 17.19 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.837346206884831]