Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008741/0.0008741, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00313/0.00313, allocations: 164 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8876/0.8876, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2334/0.2334, allocations: 32.79 MB / 294.2 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 440.8 MB, free: 3.797 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.097e-05, allocations: 3.125 kB / 440.8 MB, free: 3.793 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001141/0.001172, allocations: 0.4993 MB / 441.3 MB, free: 3.297 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.002515, allocations: 1.346 MB / 442.7 MB, free: 1.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.13e-05/0.002536, allocations: 0 / 442.7 MB, free: 1.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.002552, allocations: 3.938 kB / 442.7 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.534e-05/0.002577, allocations: 0 / 442.7 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/0.003104, allocations: 224.5 kB / 442.9 MB, free: 1.711 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.677e-05/0.003151, allocations: 11.92 kB / 442.9 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.003193, allocations: 4 kB / 442.9 MB, free: 1.695 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.361e-05/0.003226, allocations: 4 kB / 442.9 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.791e-05/0.003274, allocations: 7.984 kB / 442.9 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.003288, allocations: 0 / 442.9 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.003591, allocations: 263.6 kB / 443.2 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.003603, allocations: 0 / 443.2 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.529e-05/0.003618, allocations: 0 / 443.2 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.003834, allocations: 195.5 kB / 443.4 MB, free: 1.234 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.003836, allocations: 0 / 443.4 MB, free: 1.234 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.041e-06/0.003838, allocations: 0 / 443.4 MB, free: 1.234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.003842, allocations: 4 kB / 443.4 MB, free: 1.23 MB / 410.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.0002816/0.004123, allocations: 270.2 kB / 443.6 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.004158, allocations: 12.03 kB / 443.6 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.004197, allocations: 0.9375 kB / 443.6 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.296e-05/0.00425, allocations: 101.8 kB / 443.7 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.004259, allocations: 4.312 kB / 443.8 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.00427, allocations: 8.375 kB / 443.8 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.004373, allocations: 63.89 kB / 443.8 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.00438, allocations: 192 / 443.8 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.004389, allocations: 384 / 443.8 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.004395, allocations: 7.938 kB / 443.8 MB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.237e-05/0.004427, allocations: 12 kB / 443.8 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002703/0.004698, allocations: 192.6 kB / 444 MB, free: 488 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.532e-05/0.004733, allocations: 14.58 kB / 444 MB, free: 464 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.004748, allocations: 8.922 kB / 444.1 MB, free: 452 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.004757, allocations: 3.938 kB / 444.1 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.004777, allocations: 34.5 kB / 444.1 MB, free: 404 kB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.004777, allocations: 0 / 444.1 MB, free: 404 kB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001205/0.004898, allocations: 37.7 kB / 444.1 MB, free: 360 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.004933, allocations: 51.41 kB / 444.2 MB, free: 296 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.527e-05/0.004988, allocations: 102 kB / 444.3 MB, free: 184 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.004997, allocations: 25.7 kB / 444.3 MB, free: 152 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.00503, allocations: 88.09 kB / 444.4 MB, free: 60 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.97e-06/0.005035, allocations: 3.953 kB / 444.4 MB, free: 56 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.005058, allocations: 13.72 kB / 444.4 MB, free: 36 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1716/0.1766, allocations: 311.5 kB / 444.7 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.511e-05/0.1767, allocations: 6.141 kB / 444.7 MB, free: 46.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.185e-05/0.1767, allocations: 23.3 kB / 444.7 MB, free: 46.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.237e-05/0.1767, allocations: 31.14 kB / 444.8 MB, free: 46.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1767, allocations: 0 / 444.8 MB, free: 46.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.877e-05/0.1768, allocations: 47.88 kB / 444.8 MB, free: 46.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1768, allocations: 5.875 kB / 444.8 MB, free: 46.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1768, allocations: 2.438 kB / 444.8 MB, free: 46.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.1769, allocations: 2.875 kB / 444.8 MB, free: 46.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.1769, allocations: 11.83 kB / 444.8 MB, free: 46.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1769, allocations: 6.375 kB / 444.8 MB, free: 46.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.675e-05/0.177, allocations: 5.984 kB / 444.8 MB, free: 46.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.177, allocations: 2.531 kB / 444.9 MB, free: 46.34 MB / 410.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 5.298e-05/0.177, allocations: 111.3 kB / 445 MB, free: 46.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.177, allocations: 2.906 kB / 445 MB, free: 46.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.1772, allocations: 44.25 kB / 445 MB, free: 46.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1772, allocations: 4.188 kB / 445 MB, free: 46.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.1772, allocations: 4.625 kB / 445 MB, free: 46.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1772, allocations: 0 / 445 MB, free: 46.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.623e-05/0.1772, allocations: 103.1 kB / 445.1 MB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1772, allocations: 1.344 kB / 445.1 MB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.1772, allocations: 0 / 445.1 MB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.1773, allocations: 3.469 kB / 445.1 MB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1773, allocations: 2.594 kB / 445.1 MB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1773, allocations: 1.812 kB / 445.1 MB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1773, allocations: 0 / 445.1 MB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.01e-05/0.1773, allocations: 138.3 kB / 445.3 MB, free: 45.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/0.1773, allocations: 2.938 kB / 445.3 MB, free: 45.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.328e-06/0.1773, allocations: 3.719 kB / 445.3 MB, free: 45.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.034e-05/0.1774, allocations: 1.812 kB / 445.3 MB, free: 45.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.1774, allocations: 0 / 445.3 MB, free: 45.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1774, allocations: 12.19 kB / 445.3 MB, free: 45.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.705e-05/0.1774, allocations: 78.25 kB / 445.4 MB, free: 45.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1774, allocations: 0 / 445.4 MB, free: 45.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000235/0.1776, allocations: 38.62 kB / 445.4 MB, free: 45.86 MB / 410.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.0002242/0.1779, allocations: 144 kB / 445.5 MB, free: 45.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.339e-05/0.178, allocations: 21.09 kB / 445.6 MB, free: 45.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.178, allocations: 0 / 445.6 MB, free: 45.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.44e-05/0.178, allocations: 28.58 kB / 445.6 MB, free: 45.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.1781, allocations: 1.25 kB / 445.6 MB, free: 45.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.1784, allocations: 108.2 kB / 445.7 MB, free: 45.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.133e-05/0.1784, allocations: 60.89 kB / 445.7 MB, free: 45.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/0.1784, allocations: 8.5 kB / 445.8 MB, free: 45.55 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1784, allocations: 0 / 445.8 MB, free: 45.55 MB / 410.7 MB Notification: Performance of Templates: time 0.001866/0.1803, allocations: 0.9253 MB / 446.7 MB, free: 45.54 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.602169890888035]