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.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.0009855/0.0009855, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001072/0.001072, allocations: 169 kB / 23.8 MB, free: 0.7734 MB / 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.8279/0.8279, allocations: 158.6 MB / 185.7 MB, free: 2.934 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.125/0.125, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.186e-05, allocations: 6.312 kB / 347.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001104/0.001136, allocations: 0.5189 MB / 348.2 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.002357, allocations: 1.382 MB / 349.6 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.00239, allocations: 0 / 349.6 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.002414, allocations: 0 / 349.6 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.34e-05/0.002448, allocations: 0 / 349.6 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000539/0.002987, allocations: 219.9 kB / 349.8 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.931e-05/0.003036, allocations: 7.938 kB / 349.8 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.00307, allocations: 4 kB / 349.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.893e-05/0.003099, allocations: 11.98 kB / 349.8 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.147e-05/0.00314, allocations: 0 / 349.8 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.003155, allocations: 0 / 349.8 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002792/0.003434, allocations: 255.6 kB / 350 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.003447, allocations: 4 kB / 350 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.003464, allocations: 4 kB / 350 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.003637, allocations: 195.5 kB / 350.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.00364, allocations: 0 / 350.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003641, allocations: 0 / 350.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.003647, allocations: 3.938 kB / 350.2 MB, free: 6.855 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002661/0.003913, allocations: 364.2 kB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.003952, allocations: 8.031 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.003994, allocations: 5.234 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.38e-05/0.004058, allocations: 108.6 kB / 350.7 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.004068, allocations: 4.375 kB / 350.7 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.004078, allocations: 384 / 350.7 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.462e-05/0.004162, allocations: 67.89 kB / 350.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.00417, allocations: 192 / 350.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.004179, allocations: 384 / 350.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.004186, allocations: 7.922 kB / 350.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.244e-05/0.004199, allocations: 4 kB / 350.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.978e-05/0.004289, allocations: 104.6 kB / 350.9 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.683e-05/0.004325, allocations: 31.08 kB / 350.9 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.004341, allocations: 7.688 kB / 350.9 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.004347, allocations: 4 kB / 350.9 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.004365, allocations: 45.39 kB / 351 MB, free: 5.977 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.004366, allocations: 0 / 351 MB, free: 5.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001133/0.004479, allocations: 29.7 kB / 351 MB, free: 5.941 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.004499, allocations: 59.34 kB / 351.1 MB, free: 5.871 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.321e-05/0.004542, allocations: 153.9 kB / 351.2 MB, free: 5.703 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.43e-06/0.004548, allocations: 25.7 kB / 351.2 MB, free: 5.672 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.423e-05/0.004562, allocations: 134.9 kB / 351.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.004585, allocations: 256 / 351.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/0.004604, allocations: 19.38 kB / 351.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.458e-05/0.004638, allocations: 496.1 kB / 351.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.717e-06/0.004647, allocations: 0 / 351.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-06/0.004653, allocations: 3.938 kB / 351.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.918e-05/0.004672, allocations: 11.69 kB / 351.9 MB, free: 4.992 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.004674, allocations: 0 / 351.9 MB, free: 4.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.748e-05/0.004711, allocations: 41.69 kB / 351.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.004724, allocations: 4 kB / 351.9 MB, free: 4.941 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.00473, allocations: 0 / 351.9 MB, free: 4.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.004744, allocations: 4.094 kB / 351.9 MB, free: 4.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.465e-05/0.004809, allocations: 4 kB / 352 MB, free: 4.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.004814, allocations: 7.875 kB / 352 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.678e-06/0.004824, allocations: 3.953 kB / 352 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.00483, allocations: 0 / 352 MB, free: 4.922 MB / 282.7 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 3.914e-05/0.004869, allocations: 156.5 kB / 352.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-06/0.004875, allocations: 7.984 kB / 352.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.884e-05/0.004974, allocations: 44.86 kB / 352.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.004975, allocations: 0 / 352.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.004979, allocations: 7.938 kB / 352.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.004981, allocations: 0 / 352.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.457e-05/0.005016, allocations: 112.6 kB / 352.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.005019, allocations: 0 / 352.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.00502, allocations: 0 / 352.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.005022, allocations: 0 / 352.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.005027, allocations: 0 / 352.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.005028, allocations: 4 kB / 352.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.005029, allocations: 0 / 352.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.997e-05/0.005069, allocations: 84.34 kB / 352.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-06/0.005074, allocations: 0 / 352.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.594e-06/0.005081, allocations: 0 / 352.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.021e-05/0.005142, allocations: 4 kB / 352.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.005156, allocations: 0 / 352.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.00516, allocations: 3.938 kB / 352.4 MB, free: 4.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.935e-05/0.00518, allocations: 127.2 kB / 352.5 MB, free: 4.305 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00518, allocations: 0 / 352.5 MB, free: 4.305 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001808/0.005361, allocations: 35.94 kB / 352.5 MB, free: 4.27 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.0001825/0.005543, allocations: 155.3 kB / 352.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.731e-05/0.00562, allocations: 11.69 kB / 352.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.005622, allocations: 0 / 352.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.174e-05/0.005644, allocations: 41.33 kB / 352.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.005754, allocations: 4 kB / 352.7 MB, free: 4.039 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001688/0.005923, allocations: 93.56 kB / 352.8 MB, free: 3.922 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.931e-05/0.005943, allocations: 59.3 kB / 352.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.484e-05/0.005957, allocations: 128 / 352.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.402e-05/0.005971, allocations: 12.5 kB / 352.9 MB, free: 3.832 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.005972, allocations: 0 / 352.9 MB, free: 3.832 MB / 282.7 MB Notification: Performance of Templates: time 0.002721/0.008693, allocations: 1.242 MB / 354.2 MB, free: 2.594 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] 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","",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.7177567961625755]