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.0009241/0.0009241, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.0009718/0.0009718, allocations: 168.5 kB / 24.84 MB, free: 9.297 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.8403/0.8403, allocations: 158.6 MB / 186.7 MB, free: 2.766 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.135/0.135, allocations: 32.38 MB / 271.5 MB, free: 14.53 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.313e-06/1.313e-06, allocations: 0 / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.266e-05, allocations: 6.25 kB / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0008902/0.0009028, allocations: 0.5043 MB / 349.4 MB, free: 8.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.002002, allocations: 1.378 MB / 350.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.002028, allocations: 3.938 kB / 350.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.002043, allocations: 0 / 350.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.434e-05/0.002067, allocations: 0 / 350.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.002499, allocations: 219.9 kB / 351 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.93e-05/0.002538, allocations: 8 kB / 351 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.002575, allocations: 0 / 351 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.601e-05/0.002601, allocations: 4 kB / 351 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.042e-05/0.002651, allocations: 11.98 kB / 351 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.002662, allocations: 0 / 351 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.002923, allocations: 259.6 kB / 351.3 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.002934, allocations: 3.984 kB / 351.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.119e-05/0.002945, allocations: 0 / 351.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.003109, allocations: 195.5 kB / 351.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003111, allocations: 0 / 351.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003112, allocations: 0 / 351.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.003115, allocations: 0 / 351.5 MB, free: 6.586 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.0002225/0.003338, allocations: 364.2 kB / 351.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.735e-05/0.003365, allocations: 16.03 kB / 351.8 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.00339, allocations: 0.9375 kB / 351.8 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.804e-05/0.003428, allocations: 108.6 kB / 351.9 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.003438, allocations: 4.375 kB / 351.9 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-06/0.003443, allocations: 384 / 351.9 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.328e-05/0.003506, allocations: 59.95 kB / 352 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.003515, allocations: 4.125 kB / 352 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-06/0.00352, allocations: 4.375 kB / 352 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.003525, allocations: 3.938 kB / 352 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.282e-05/0.003538, allocations: 4 kB / 352 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.003726, allocations: 240.8 kB / 352.3 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.726e-05/0.003753, allocations: 23.06 kB / 352.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.004e-05/0.003763, allocations: 15.73 kB / 352.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-06/0.003768, allocations: 0 / 352.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.003781, allocations: 37.33 kB / 352.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.003782, allocations: 0 / 352.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.109e-05/0.003873, allocations: 41.64 kB / 352.4 MB, free: 5.547 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.591e-05/0.003889, allocations: 55.34 kB / 352.4 MB, free: 5.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.57e-05/0.003924, allocations: 161.9 kB / 352.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.89e-06/0.003929, allocations: 25.95 kB / 352.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.263e-05/0.003952, allocations: 134.8 kB / 352.7 MB, free: 5.137 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.003955, allocations: 0 / 352.7 MB, free: 5.137 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/0.003973, allocations: 19.38 kB / 352.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.542e-05/0.004009, allocations: 496.1 kB / 353.2 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-06/0.004015, allocations: 7.984 kB / 353.3 MB, free: 4.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.276e-05/0.004027, allocations: 34.98 kB / 353.3 MB, free: 4.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.958e-05/0.004047, allocations: 27.06 kB / 353.3 MB, free: 4.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.004048, allocations: 0 / 353.3 MB, free: 4.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.835e-05/0.004087, allocations: 57.58 kB / 353.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.004097, allocations: 11.94 kB / 353.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.0041, allocations: 0 / 353.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.435e-06/0.004109, allocations: 0 / 353.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.032e-05/0.004139, allocations: 7.938 kB / 353.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.004142, allocations: 4 kB / 353.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.096e-05/0.004153, allocations: 0 / 353.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.004158, allocations: 0 / 353.4 MB, free: 4.434 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.723e-05/0.004195, allocations: 160.6 kB / 353.5 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.004208, allocations: 4.094 kB / 353.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.825e-05/0.004276, allocations: 48.73 kB / 353.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.004279, allocations: 0 / 353.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.004281, allocations: 0 / 353.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.004284, allocations: 0 / 353.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.326e-05/0.004347, allocations: 97.25 kB / 353.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.00435, allocations: 0 / 353.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-07/0.00435, allocations: 3.938 kB / 353.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.004353, allocations: 8.031 kB / 353.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-06/0.004357, allocations: 0 / 353.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.004358, allocations: 0 / 353.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.004359, allocations: 3.938 kB / 353.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.348e-05/0.004403, allocations: 179.9 kB / 353.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-06/0.004408, allocations: 0 / 353.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-06/0.004415, allocations: 8 kB / 353.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.647e-05/0.004452, allocations: 0 / 353.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-06/0.004462, allocations: 7.875 kB / 353.9 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.004465, allocations: 4 kB / 353.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.539e-05/0.00448, allocations: 127.2 kB / 354 MB, free: 3.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.00448, allocations: 0 / 354 MB, free: 3.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001968/0.004677, allocations: 39.92 kB / 354.1 MB, free: 3.691 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.0001613/0.004839, allocations: 147.2 kB / 354.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.472e-05/0.004893, allocations: 19.61 kB / 354.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.02e-07/0.004894, allocations: 0 / 354.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.788e-05/0.004912, allocations: 37.39 kB / 354.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.005051, allocations: 4.344 kB / 354.3 MB, free: 3.465 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001245/0.005175, allocations: 105.5 kB / 354.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.808e-05/0.005193, allocations: 55.36 kB / 354.4 MB, free: 3.262 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.58e-05/0.005209, allocations: 96 / 354.4 MB, free: 3.262 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.005235, allocations: 78.14 kB / 354.5 MB, free: 3.184 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.005235, allocations: 0 / 354.5 MB, free: 3.184 MB / 282.7 MB Notification: Performance of Templates: time 0.002244/0.007479, allocations: 1.252 MB / 355.8 MB, free: 1.941 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.6882443111389875]