Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0007376/0.0007376, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001769, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006861/0.0006861, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008764/0.001562, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9361/0.9361, allocations: 177.2 MB / 189.8 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08744/1.023, allocations: 53.66 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2487/0.2487, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02479/0.2735, allocations: 13.1 MB / 291.5 MB, free: 7.312 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 292.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.499e-05, allocations: 4.734 kB / 292.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0009705/0.0009854, allocations: 0.549 MB / 293.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.002176, allocations: 1.398 MB / 294.8 MB, free: 4.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.43e-05/0.00219, allocations: 4 kB / 294.8 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.196e-06/0.002194, allocations: 4 kB / 294.8 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.025e-06/0.002202, allocations: 3.938 kB / 294.8 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.002512, allocations: 167.5 kB / 294.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.297e-05/0.002554, allocations: 8 kB / 294.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.345e-05/0.002588, allocations: 4 kB / 294.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/0.00263, allocations: 11.98 kB / 295 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.651e-05/0.002677, allocations: 3.984 kB / 295 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.002691, allocations: 4 kB / 295 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003562/0.003047, allocations: 304 kB / 295.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.00306, allocations: 4 kB / 295.3 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.155e-05/0.003071, allocations: 4 kB / 295.3 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.003244, allocations: 135.8 kB / 295.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.003253, allocations: 0 / 295.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.003254, allocations: 0 / 295.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.003264, allocations: 0 / 295.4 MB, free: 3.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002637/0.003528, allocations: 244.5 kB / 295.6 MB, free: 3.324 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.003556, allocations: 12.02 kB / 295.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.00358, allocations: 4.875 kB / 295.7 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.619e-05/0.003656, allocations: 110.5 kB / 295.8 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.003664, allocations: 4.312 kB / 295.8 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-06/0.003673, allocations: 4.375 kB / 295.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.502e-05/0.003748, allocations: 55.97 kB / 295.8 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.003753, allocations: 192 / 295.8 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-06/0.00376, allocations: 4.359 kB / 295.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.003765, allocations: 3.938 kB / 295.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.274e-06/0.003773, allocations: 4 kB / 295.8 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.343e-05/0.003836, allocations: 53.56 kB / 295.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.167e-05/0.003868, allocations: 22.55 kB / 295.9 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.358e-06/0.003877, allocations: 4.859 kB / 295.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-06/0.003882, allocations: 0 / 295.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.003903, allocations: 38.62 kB / 296 MB, free: 2.938 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 4.41e-07/0.003904, allocations: 0 / 296 MB, free: 2.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 7.887e-05/0.003982, allocations: 37.69 kB / 296 MB, free: 2.895 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.004005, allocations: 55.34 kB / 296.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.105e-05/0.004056, allocations: 102.7 kB / 296.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.004065, allocations: 25.7 kB / 296.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.737e-05/0.004082, allocations: 80.14 kB / 296.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.004102, allocations: 3.953 kB / 296.3 MB, free: 2.598 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-05/0.004122, allocations: 13.72 kB / 296.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.004189, allocations: 319 kB / 296.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-06/0.004196, allocations: 4 kB / 296.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-06/0.0042, allocations: 0 / 296.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.524e-05/0.004216, allocations: 8.859 kB / 296.6 MB, free: 2.242 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.004217, allocations: 0 / 296.6 MB, free: 2.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.046e-05/0.004248, allocations: 33.64 kB / 296.6 MB, free: 2.203 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.004259, allocations: 8 kB / 296.6 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.004262, allocations: 0 / 296.6 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.004272, allocations: 0 / 296.6 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.998e-05/0.004322, allocations: 3.984 kB / 296.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.004325, allocations: 4.094 kB / 296.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-06/0.004333, allocations: 7.938 kB / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.004339, allocations: 0 / 296.7 MB, free: 2.18 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 4.197e-05/0.004381, allocations: 105.8 kB / 296.8 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-06/0.004386, allocations: 4 kB / 296.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.407e-05/0.00446, allocations: 40.84 kB / 296.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.004463, allocations: 7.938 kB / 296.8 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.004464, allocations: 4.031 kB / 296.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.004467, allocations: 0 / 296.8 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.578e-05/0.004513, allocations: 69.83 kB / 296.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.004516, allocations: 0 / 296.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.004517, allocations: 0 / 296.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-06/0.004521, allocations: 3.984 kB / 296.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.004523, allocations: 7.938 kB / 296.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-06/0.004526, allocations: 0 / 296.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.004526, allocations: 0 / 296.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.004527, allocations: 0 / 296.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.953e-05/0.004566, allocations: 61.08 kB / 297 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-06/0.004573, allocations: 3.984 kB / 297 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.233e-05/0.004616, allocations: 4 kB / 297 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.023e-05/0.004626, allocations: 3.984 kB / 297 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.00463, allocations: 4 kB / 297 MB, free: 1.816 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.935e-06/0.004638, allocations: 4.859 kB / 297 MB, free: 1.809 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.004638, allocations: 0 / 297 MB, free: 1.809 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001299/0.004768, allocations: 39.94 kB / 297 MB, free: 1.77 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.00017/0.004938, allocations: 136.4 kB / 297.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.742e-05/0.004985, allocations: 16.8 kB / 297.2 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.004989, allocations: 4 kB / 297.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.928e-05/0.005018, allocations: 38.55 kB / 297.2 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.788e-05/0.005076, allocations: 7.938 kB / 297.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001404/0.005216, allocations: 97.2 kB / 297.3 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.519e-05/0.005242, allocations: 55.36 kB / 297.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.063e-05/0.005252, allocations: 0 / 297.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.005289, allocations: 59.5 kB / 297.4 MB, free: 1.293 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.005289, allocations: 0 / 297.4 MB, free: 1.293 MB / 282.7 MB Notification: Performance of Templates: time 0.002323/0.007613, allocations: 1.312 MB / 298.7 MB, free: 15.99 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.634305409155786]