Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.0009427/0.0009427, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.0008967/0.0008967, allocations: 173 kB / 24.14 MB, free: 360 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.8881/0.8881, allocations: 158.6 MB / 186 MB, free: 1.957 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.1366/0.1366, allocations: 32.38 MB / 270.7 MB, free: 14.52 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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 299.1 MB, free: 2.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.667e-05, allocations: 2.312 kB / 299.1 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001039/0.001056, allocations: 0.5917 MB / 299.7 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000231/0.001287, allocations: 111.6 kB / 299.8 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.028e-05/0.001307, allocations: 0 / 299.8 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.001322, allocations: 7.875 kB / 299.8 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.00153, allocations: 35.78 kB / 299.8 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.036e-06/0.001533, allocations: 0 / 299.8 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.64e-05/0.001579, allocations: 23.92 kB / 299.9 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.001617, allocations: 3.984 kB / 299.9 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.001648, allocations: 19.92 kB / 299.9 MB, free: 1.301 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.255e-05/0.001701, allocations: 7.922 kB / 299.9 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.001712, allocations: 4 kB / 299.9 MB, free: 1.289 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.748e-05/0.001799, allocations: 47.89 kB / 299.9 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.001813, allocations: 11.92 kB / 300 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.019e-05/0.001823, allocations: 4 kB / 300 MB, free: 1.227 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.097e-05/0.001914, allocations: 47.81 kB / 300 MB, free: 1.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.001916, allocations: 3.984 kB / 300 MB, free: 1.176 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.001917, allocations: 0 / 300 MB, free: 1.176 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.00192, allocations: 4 kB / 300 MB, free: 1.172 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000183/0.002103, allocations: 240.9 kB / 300.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.002135, allocations: 8.031 kB / 300.3 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.002157, allocations: 4.938 kB / 300.3 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.142e-05/0.002229, allocations: 109.7 kB / 300.4 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-06/0.002238, allocations: 384 / 300.4 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.002248, allocations: 8.375 kB / 300.4 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.95e-05/0.002318, allocations: 50.23 kB / 300.4 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.002324, allocations: 192 / 300.4 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.00233, allocations: 384 / 300.4 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.002335, allocations: 384 / 300.4 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.583e-05/0.002391, allocations: 47.83 kB / 300.5 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.374e-05/0.002475, allocations: 68.98 kB / 300.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.127e-05/0.002556, allocations: 58.55 kB / 300.6 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.002577, allocations: 20.84 kB / 300.6 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.002693, allocations: 19.98 kB / 300.6 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.002717, allocations: 38.56 kB / 300.7 MB, free: 428 kB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.002718, allocations: 0 / 300.7 MB, free: 428 kB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001188/0.002837, allocations: 73.83 kB / 300.8 MB, free: 348 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.002872, allocations: 55.41 kB / 300.8 MB, free: 280 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.003e-05/0.002922, allocations: 102.7 kB / 300.9 MB, free: 164 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.002934, allocations: 29.7 kB / 300.9 MB, free: 128 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.948e-05/0.002954, allocations: 80.14 kB / 301 MB, free: 44 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.002985, allocations: 35.62 kB / 301 MB, free: 8 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1296/0.1326, allocations: 24.89 kB / 301.1 MB, free: 19.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.1326, allocations: 317.7 kB / 301.4 MB, free: 19.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.453e-05/0.1327, allocations: 9.359 kB / 301.4 MB, free: 19.55 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.892e-05/0.1327, allocations: 9.984 kB / 301.4 MB, free: 19.55 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.658e-05/0.1327, allocations: 36.86 kB / 301.4 MB, free: 19.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1327, allocations: 0 / 301.4 MB, free: 19.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.86e-05/0.1328, allocations: 67.38 kB / 301.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1328, allocations: 9.312 kB / 301.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1328, allocations: 0.5625 kB / 301.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1329, allocations: 1.125 kB / 301.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.583e-05/0.133, allocations: 13.77 kB / 301.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.133, allocations: 1.25 kB / 301.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/0.133, allocations: 2.219 kB / 301.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.133, allocations: 5.297 kB / 301.5 MB, free: 19.51 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 (10): * Single equations (assignments): 10 * 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 4.476e-05/0.133, allocations: 113.7 kB / 301.6 MB, free: 19.39 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.868e-06/0.133, allocations: 6.75 kB / 301.7 MB, free: 19.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.1331, allocations: 78.47 kB / 301.7 MB, free: 19.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1332, allocations: 0 / 301.7 MB, free: 19.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1332, allocations: 4.438 kB / 301.7 MB, free: 19.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1332, allocations: 0.75 kB / 301.7 MB, free: 19.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.841e-05/0.1332, allocations: 86.12 kB / 301.8 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1332, allocations: 1.625 kB / 301.8 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/0.1333, allocations: 19.83 kB / 301.8 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.1333, allocations: 1.562 kB / 301.8 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.1333, allocations: 5.484 kB / 301.8 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1333, allocations: 1.156 kB / 301.8 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1333, allocations: 1.312 kB / 301.9 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.54e-05/0.1334, allocations: 87.91 kB / 301.9 MB, free: 19.22 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-06/0.1334, allocations: 3.766 kB / 301.9 MB, free: 19.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.1334, allocations: 9.406 kB / 301.9 MB, free: 19.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-06/0.1334, allocations: 1.219 kB / 302 MB, free: 19.22 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.1334, allocations: 5.188 kB / 302 MB, free: 19.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.1334, allocations: 2.281 kB / 302 MB, free: 19.22 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.778e-06/0.1334, allocations: 7.5 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1334, allocations: 1.656 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001119/0.1335, allocations: 19.89 kB / 302 MB, free: 19.21 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0001154/0.1337, allocations: 88.73 kB / 302.1 MB, free: 19.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.595e-05/0.1337, allocations: 44.97 kB / 302.1 MB, free: 19.13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1337, allocations: 1.781 kB / 302.1 MB, free: 19.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.048e-05/0.1338, allocations: 29.64 kB / 302.1 MB, free: 19.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.084e-05/0.1338, allocations: 10.02 kB / 302.2 MB, free: 19.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002308/0.134, allocations: 126.7 kB / 302.3 MB, free: 19.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.285e-05/0.1341, allocations: 59.44 kB / 302.3 MB, free: 18.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.912e-05/0.1341, allocations: 12.23 kB / 302.4 MB, free: 18.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.1341, allocations: 58.41 kB / 302.4 MB, free: 18.9 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1341, allocations: 0 / 302.4 MB, free: 18.9 MB / 282.7 MB Notification: Performance of Templates: time 0.002602/0.1367, allocations: 0.7132 MB / 303.1 MB, free: 18.85 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.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.9643675829283893]