Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007177/0.0007177, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009482/0.001666, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006859/0.0006859, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008301/0.001516, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8973/0.8973, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07959/0.9769, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2324/0.2324, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02148/0.2539, allocations: 13.24 MB / 292.6 MB, free: 6.473 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.72e-05, allocations: 4.844 kB / 293.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0009757/0.0009929, allocations: 0.5423 MB / 294.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.002225, allocations: 1.406 MB / 295.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.44e-05/0.00224, allocations: 0 / 295.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.797e-06/0.002244, allocations: 0 / 295.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.342e-06/0.00225, allocations: 0 / 295.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.002558, allocations: 171.5 kB / 296 MB, free: 3.086 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.017e-05/0.002598, allocations: 4 kB / 296 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.369e-05/0.002632, allocations: 0 / 296 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.19e-05/0.002674, allocations: 7.984 kB / 296 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.211e-05/0.002716, allocations: 7.938 kB / 296 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.002727, allocations: 0 / 296 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/0.003075, allocations: 304.1 kB / 296.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.003084, allocations: 4 kB / 296.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.171e-05/0.003096, allocations: 4 kB / 296.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.003267, allocations: 143.6 kB / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.197e-05/0.003279, allocations: 0 / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00328, allocations: 0 / 296.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.00329, allocations: 0 / 296.4 MB, free: 2.621 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.0002613/0.003552, allocations: 249.2 kB / 296.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.00358, allocations: 12.92 kB / 296.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.006e-05/0.0036, allocations: 0.9375 kB / 296.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.822e-05/0.003668, allocations: 106.3 kB / 296.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-06/0.003678, allocations: 8.375 kB / 296.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.003685, allocations: 384 / 296.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.392e-05/0.003769, allocations: 63.89 kB / 296.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.003776, allocations: 4.172 kB / 296.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.003782, allocations: 384 / 296.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.003788, allocations: 3.938 kB / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.207e-05/0.0038, allocations: 0 / 296.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.372e-05/0.003874, allocations: 57.05 kB / 296.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.956e-05/0.003903, allocations: 14.58 kB / 296.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.392e-05/0.003917, allocations: 12.95 kB / 296.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-06/0.003922, allocations: 4 kB / 296.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.003942, allocations: 30.56 kB / 297 MB, free: 1.973 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.003943, allocations: 3.938 kB / 297 MB, free: 1.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 7.411e-05/0.004017, allocations: 33.69 kB / 297 MB, free: 1.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.004039, allocations: 51.41 kB / 297.1 MB, free: 1.867 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.79e-05/0.004087, allocations: 98.72 kB / 297.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.956e-06/0.004096, allocations: 25.7 kB / 297.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.72e-05/0.004113, allocations: 80.14 kB / 297.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.004133, allocations: 7.953 kB / 297.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.004155, allocations: 17.95 kB / 297.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.562e-05/0.004231, allocations: 322.8 kB / 297.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-06/0.004235, allocations: 0 / 297.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-06/0.00424, allocations: 0 / 297.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.912e-05/0.004259, allocations: 12.8 kB / 297.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004261, allocations: 0 / 297.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.211e-05/0.004293, allocations: 37.69 kB / 297.7 MB, free: 1.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.004303, allocations: 6.5 kB / 297.7 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.004308, allocations: 7.938 kB / 297.7 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/0.004315, allocations: 4.094 kB / 297.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.842e-05/0.004373, allocations: 4 kB / 297.7 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.004376, allocations: 0 / 297.7 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-06/0.004384, allocations: 3.938 kB / 297.7 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.00439, allocations: 0 / 297.7 MB, free: 1.207 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.387e-05/0.004433, allocations: 109.8 kB / 297.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-06/0.004437, allocations: 0 / 297.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.523e-05/0.004512, allocations: 44.78 kB / 297.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.004515, allocations: 0 / 297.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.004518, allocations: 4 kB / 297.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.004519, allocations: 0 / 297.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.285e-05/0.004562, allocations: 65.83 kB / 297.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.004565, allocations: 0 / 297.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-06/0.004567, allocations: 4 kB / 297.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-06/0.004571, allocations: 0 / 297.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.004572, allocations: 0 / 297.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-06/0.004575, allocations: 0 / 297.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.7e-07/0.004575, allocations: 0 / 297.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.004576, allocations: 32 / 297.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.213e-05/0.004618, allocations: 73 kB / 298 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-06/0.004624, allocations: 0 / 298 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.463e-05/0.004669, allocations: 4 kB / 298 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-06/0.004677, allocations: 0 / 298 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.004679, allocations: 0 / 298 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.985e-06/0.004687, allocations: 8.859 kB / 298 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004687, allocations: 0 / 298 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000135/0.004822, allocations: 39.92 kB / 298 MB, free: 0.8086 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.000167/0.004989, allocations: 136.4 kB / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.652e-05/0.005036, allocations: 12.84 kB / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.005039, allocations: 0 / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/0.005062, allocations: 34.56 kB / 298.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.152e-05/0.005123, allocations: 7.938 kB / 298.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001487/0.005272, allocations: 106.5 kB / 298.3 MB, free: 480 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.567e-05/0.005298, allocations: 55.36 kB / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.263e-05/0.00531, allocations: 4.062 kB / 298.4 MB, free: 400 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.005346, allocations: 59.36 kB / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.005347, allocations: 0 / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of Templates: time 0.002299/0.007645, allocations: 1.272 MB / 299.7 MB, free: 15.06 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.580415985547006]