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.00148/0.00148, allocations: 91.22 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.001527/0.001527, allocations: 169 kB / 23.8 MB, free: 0.7773 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.8353/0.8353, allocations: 158.6 MB / 185.7 MB, free: 2.902 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.121/0.121, allocations: 32.37 MB / 270.4 MB, free: 14.8 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 1.533e-06/1.533e-06, allocations: 0 / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.835e-05, allocations: 4.281 kB / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0009096/0.0009279, allocations: 0.512 MB / 348.2 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.002067, allocations: 1.39 MB / 349.6 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/0.002089, allocations: 0 / 349.6 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.002106, allocations: 0 / 349.6 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.568e-05/0.002131, allocations: 0 / 349.6 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.002611, allocations: 219.9 kB / 349.8 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.295e-05/0.002664, allocations: 7.984 kB / 349.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.002702, allocations: 0 / 349.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.729e-05/0.002729, allocations: 11.94 kB / 349.8 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.894e-05/0.002778, allocations: 8 kB / 349.8 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.002794, allocations: 0 / 349.8 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002819/0.003076, allocations: 251.6 kB / 350 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.003088, allocations: 3.984 kB / 350 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.66e-05/0.003104, allocations: 4 kB / 350 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.003281, allocations: 191.5 kB / 350.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003283, allocations: 0 / 350.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003283, allocations: 0 / 350.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.003286, allocations: 0 / 350.2 MB, free: 6.859 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.0002365/0.003523, allocations: 364.2 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.003558, allocations: 19.97 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.003592, allocations: 9.219 kB / 350.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.144e-05/0.003653, allocations: 104.6 kB / 350.7 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.003663, allocations: 4.375 kB / 350.7 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.003673, allocations: 384 / 350.7 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.624e-05/0.003749, allocations: 63.91 kB / 350.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.003756, allocations: 192 / 350.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.003765, allocations: 384 / 350.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.003772, allocations: 3.938 kB / 350.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.131e-05/0.003783, allocations: 3.984 kB / 350.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.513e-05/0.003858, allocations: 112.6 kB / 350.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.069e-05/0.003889, allocations: 27.09 kB / 350.9 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.003904, allocations: 11.69 kB / 350.9 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-06/0.003909, allocations: 0 / 350.9 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.003924, allocations: 37.33 kB / 351 MB, free: 5.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.31e-07/0.003925, allocations: 0 / 351 MB, free: 5.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001043/0.004029, allocations: 37.75 kB / 351 MB, free: 5.938 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.507e-05/0.004044, allocations: 55.34 kB / 351.1 MB, free: 5.871 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.452e-05/0.004089, allocations: 154.1 kB / 351.2 MB, free: 5.703 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-06/0.004095, allocations: 33.83 kB / 351.3 MB, free: 5.664 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.348e-05/0.004108, allocations: 126.9 kB / 351.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.004134, allocations: 0 / 351.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/0.004153, allocations: 19.38 kB / 351.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.004193, allocations: 496.1 kB / 351.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-06/0.004201, allocations: 0 / 351.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-06/0.004206, allocations: 4 kB / 351.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.007e-05/0.004226, allocations: 19.62 kB / 351.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.004228, allocations: 0 / 351.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.96e-05/0.004257, allocations: 33.77 kB / 351.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.004268, allocations: 4 kB / 351.9 MB, free: 4.941 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.004273, allocations: 4 kB / 351.9 MB, free: 4.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.004287, allocations: 0 / 351.9 MB, free: 4.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.476e-05/0.004342, allocations: 3.984 kB / 352 MB, free: 4.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.004347, allocations: 3.938 kB / 352 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.516e-06/0.004355, allocations: 3.953 kB / 352 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.004362, allocations: 4 kB / 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.441e-05/0.004396, allocations: 156.5 kB / 352.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-06/0.004401, allocations: 0 / 352.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.673e-05/0.004487, allocations: 52.81 kB / 352.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.004489, allocations: 0 / 352.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.004493, allocations: 7.938 kB / 352.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.004495, allocations: 0 / 352.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.888e-05/0.004534, allocations: 104.6 kB / 352.3 MB, free: 4.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.004539, allocations: 8 kB / 352.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.004539, allocations: 0 / 352.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.00454, allocations: 0 / 352.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.004546, allocations: 4.031 kB / 352.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.004547, allocations: 3.984 kB / 352.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.004547, allocations: 0 / 352.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.79e-05/0.004585, allocations: 80.31 kB / 352.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-06/0.00459, allocations: 4 kB / 352.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-06/0.004597, allocations: 0 / 352.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.609e-05/0.004653, allocations: 3.984 kB / 352.4 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.004666, allocations: 4 kB / 352.4 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.004669, allocations: 3.938 kB / 352.4 MB, free: 4.422 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.284e-05/0.004682, allocations: 123.2 kB / 352.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004682, allocations: 0 / 352.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001558/0.004838, allocations: 43.94 kB / 352.5 MB, free: 4.258 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.0001699/0.005008, allocations: 143.1 kB / 352.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.584e-05/0.005074, allocations: 15.69 kB / 352.7 MB, free: 4.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.005075, allocations: 0 / 352.7 MB, free: 4.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.211e-05/0.005097, allocations: 37.39 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.0001034/0.005201, allocations: 3.938 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.0001618/0.005363, allocations: 101.8 kB / 352.8 MB, free: 3.914 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.672e-05/0.005379, allocations: 55.3 kB / 352.9 MB, free: 3.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.24e-05/0.005392, allocations: 4 kB / 352.9 MB, free: 3.836 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.352e-05/0.005405, allocations: 8.5 kB / 352.9 MB, free: 3.828 MB / 282.7 MB Notification: Performance of SimCode: time 3.9e-07/0.005406, allocations: 0 / 352.9 MB, free: 3.828 MB / 282.7 MB Notification: Performance of Templates: time 0.00225/0.007656, allocations: 1.122 MB / 354 MB, free: 2.711 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: 3.1704678921960294]