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.001331/0.001331, allocations: 85.36 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001458/0.001458, allocations: 164.8 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.451/1.451, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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.2115/0.2115, allocations: 34.28 MB / 295 MB, free: 14.59 MB / 286.1 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.252e-06/1.252e-06, allocations: 0 / 442.7 MB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.445e-05, allocations: 2.281 kB / 442.7 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001479/0.001504, allocations: 0.511 MB / 443.2 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.00343, allocations: 1.342 MB / 444.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.003455, allocations: 0 / 444.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.941e-05/0.003475, allocations: 7.938 kB / 444.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.414e-05/0.003499, allocations: 4 kB / 444.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007274/0.004226, allocations: 214.9 kB / 444.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.198e-05/0.004278, allocations: 8 kB / 444.7 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.004324, allocations: 8 kB / 444.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.05e-05/0.004355, allocations: 3.984 kB / 444.7 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.913e-05/0.004404, allocations: 4 kB / 444.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.004419, allocations: 0 / 444.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004724/0.004891, allocations: 263.5 kB / 445 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.004905, allocations: 4 kB / 445 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.004921, allocations: 0 / 445 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.005225, allocations: 203.5 kB / 445.2 MB, free: 2.867 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.005227, allocations: 0 / 445.2 MB, free: 2.867 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005228, allocations: 0 / 445.2 MB, free: 2.867 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.005236, allocations: 0 / 445.2 MB, free: 2.867 MB / 366.1 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.0003607/0.005597, allocations: 258.3 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.00563, allocations: 8.031 kB / 445.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.005658, allocations: 4.891 kB / 445.5 MB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.005776, allocations: 109.7 kB / 445.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.005787, allocations: 384 / 445.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.005798, allocations: 384 / 445.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.005909, allocations: 63.89 kB / 445.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.005917, allocations: 4.188 kB / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.005925, allocations: 384 / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.005933, allocations: 3.938 kB / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/0.005953, allocations: 4 kB / 445.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.006078, allocations: 105.3 kB / 445.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.94e-05/0.006128, allocations: 18.56 kB / 445.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.006144, allocations: 8.797 kB / 445.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.006154, allocations: 4.062 kB / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.006178, allocations: 30.56 kB / 445.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 2.715e-06/0.006181, allocations: 7.922 kB / 445.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001289/0.00631, allocations: 41.7 kB / 445.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.006345, allocations: 55.34 kB / 445.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.006426, allocations: 97.84 kB / 446 MB, free: 1.914 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.006444, allocations: 25.7 kB / 446 MB, free: 1.883 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.00648, allocations: 80.14 kB / 446.1 MB, free: 1.801 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.0065, allocations: 0 / 446.1 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.00653, allocations: 13.72 kB / 446.1 MB, free: 1.781 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.006668, allocations: 314.8 kB / 446.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.006678, allocations: 0 / 446.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.115e-05/0.006689, allocations: 8.25 kB / 446.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.675e-05/0.006716, allocations: 12.8 kB / 446.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.006718, allocations: 0 / 446.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.456e-05/0.006782, allocations: 37.64 kB / 446.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.006795, allocations: 8 kB / 446.5 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.006798, allocations: 0 / 446.5 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.006811, allocations: 0 / 446.5 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.152e-05/0.006863, allocations: 0 / 446.5 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.006869, allocations: 3.938 kB / 446.5 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.263e-05/0.006882, allocations: 4 kB / 446.5 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.006889, allocations: 4.094 kB / 446.5 MB, free: 1.379 MB / 366.1 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 7.662e-05/0.006965, allocations: 110.5 kB / 446.6 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.006976, allocations: 4 kB / 446.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.007093, allocations: 48.78 kB / 446.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.007095, allocations: 0 / 446.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.0071, allocations: 3.938 kB / 446.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.007103, allocations: 0 / 446.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.472e-05/0.007187, allocations: 109.3 kB / 446.8 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.007192, allocations: 0 / 446.8 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.007193, allocations: 0 / 446.8 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.007194, allocations: 0 / 446.8 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.0072, allocations: 3.938 kB / 446.8 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.0072, allocations: 0 / 446.8 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.007203, allocations: 4 kB / 446.8 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.307e-05/0.007286, allocations: 61.06 kB / 446.9 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-06/0.00729, allocations: 3.938 kB / 446.9 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.007304, allocations: 4 kB / 446.9 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.39e-05/0.007368, allocations: 8.031 kB / 446.9 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.007383, allocations: 0 / 446.9 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.00739, allocations: 7.875 kB / 446.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.041e-05/0.00743, allocations: 79.28 kB / 447 MB, free: 0.875 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.00743, allocations: 0 / 447 MB, free: 0.875 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.007682, allocations: 39.92 kB / 447 MB, free: 0.8359 MB / 366.1 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.0003235/0.008005, allocations: 151.1 kB / 447.1 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.695e-05/0.008072, allocations: 4 kB / 447.2 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.008074, allocations: 4.156 kB / 447.2 MB, free: 0.668 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.6e-05/0.00811, allocations: 29.7 kB / 447.2 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.008249, allocations: 0 / 447.2 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.00847, allocations: 92.8 kB / 447.3 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.019e-05/0.00852, allocations: 63.28 kB / 447.3 MB, free: 444 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.276e-05/0.008533, allocations: 0 / 447.3 MB, free: 444 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.653e-05/0.008549, allocations: 8.5 kB / 447.3 MB, free: 436 kB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.00855, allocations: 0 / 447.3 MB, free: 436 kB / 366.1 MB Notification: Performance of Templates: time 0.2175/0.226, allocations: 1.098 MB / 448.4 MB, free: 19.07 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.731309857219458]