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.001422/0.001422, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001526/0.001526, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.457/1.457, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3174/0.3174, allocations: 32.79 MB / 293.9 MB, free: 1.188 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.703e-06/1.703e-06, allocations: 3.938 kB / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.714e-05, allocations: 6.25 kB / 375.2 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001462/0.001489, allocations: 0.5045 MB / 375.7 MB, free: 4.496 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.003604, allocations: 1.338 MB / 377.1 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.003641, allocations: 0 / 377.1 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.003656, allocations: 3.938 kB / 377.1 MB, free: 3.133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.232e-05/0.003688, allocations: 4 kB / 377.1 MB, free: 3.129 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007001/0.004389, allocations: 215.9 kB / 377.3 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.571e-05/0.004434, allocations: 8 kB / 377.3 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.004478, allocations: 7.984 kB / 377.3 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.851e-05/0.004506, allocations: 4 kB / 377.3 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.618e-05/0.004563, allocations: 7.922 kB / 377.3 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.004577, allocations: 0 / 377.3 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000489/0.005066, allocations: 259.6 kB / 377.6 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.005077, allocations: 4 kB / 377.6 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.005104, allocations: 3.984 kB / 377.6 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.005416, allocations: 199.5 kB / 377.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.005418, allocations: 0 / 377.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005418, allocations: 0 / 377.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.005422, allocations: 0 / 377.8 MB, free: 2.434 MB / 346.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.000424/0.005846, allocations: 266.2 kB / 378 MB, free: 2.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.005881, allocations: 8.031 kB / 378 MB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.005928, allocations: 4.938 kB / 378 MB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.006032, allocations: 105.8 kB / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.006045, allocations: 4.375 kB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.006057, allocations: 4.375 kB / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.006211, allocations: 71.94 kB / 378.2 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.006219, allocations: 192 / 378.2 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.006228, allocations: 4.312 kB / 378.2 MB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.006239, allocations: 7.938 kB / 378.2 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.112e-05/0.00627, allocations: 7.938 kB / 378.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.00664, allocations: 188.6 kB / 378.4 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.766e-05/0.006688, allocations: 14.58 kB / 378.4 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.00671, allocations: 8.922 kB / 378.5 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.006719, allocations: 0 / 378.5 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.006757, allocations: 38.53 kB / 378.5 MB, free: 1.598 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.006758, allocations: 4 kB / 378.5 MB, free: 1.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001607/0.006919, allocations: 45.59 kB / 378.5 MB, free: 1.543 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.006962, allocations: 51.41 kB / 378.6 MB, free: 1.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.007079, allocations: 93.86 kB / 378.7 MB, free: 1.379 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.007098, allocations: 25.7 kB / 378.7 MB, free: 1.348 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.007161, allocations: 88.08 kB / 378.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.325e-06/0.007169, allocations: 4 kB / 378.8 MB, free: 1.254 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.007202, allocations: 13.72 kB / 378.8 MB, free: 1.234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.007377, allocations: 314.8 kB / 379.1 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.007387, allocations: 256 / 379.1 MB, free: 0.918 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.708e-05/0.007434, allocations: 30.56 kB / 379.2 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.498e-05/0.007479, allocations: 26.52 kB / 379.2 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.00748, allocations: 0 / 379.2 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.333e-05/0.007564, allocations: 53.56 kB / 379.2 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.00758, allocations: 8 kB / 379.2 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.007584, allocations: 0 / 379.2 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.0076, allocations: 0 / 379.2 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.737e-05/0.007647, allocations: 8.094 kB / 379.2 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.007654, allocations: 4 kB / 379.2 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.007675, allocations: 7.891 kB / 379.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.00768, allocations: 3.938 kB / 379.3 MB, free: 0.7539 MB / 346.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 8.997e-05/0.00777, allocations: 113.8 kB / 379.4 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.007794, allocations: 3.938 kB / 379.4 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.007902, allocations: 44.84 kB / 379.4 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.007905, allocations: 4.031 kB / 379.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.007908, allocations: 0 / 379.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.00791, allocations: 4 kB / 379.4 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.008105, allocations: 97.31 kB / 379.5 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.008109, allocations: 3.938 kB / 379.5 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.008109, allocations: 4 kB / 379.5 MB, free: 452 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.00811, allocations: 0 / 379.5 MB, free: 452 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.008118, allocations: 3.938 kB / 379.5 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.008121, allocations: 4 kB / 379.5 MB, free: 444 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.008122, allocations: 0 / 379.5 MB, free: 444 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.008245, allocations: 131.5 kB / 379.7 MB, free: 296 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.008257, allocations: 11.98 kB / 379.7 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.008268, allocations: 3.938 kB / 379.7 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.655e-05/0.008325, allocations: 0 / 379.7 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.00834, allocations: 4.078 kB / 379.7 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.008347, allocations: 4 kB / 379.7 MB, free: 272 kB / 346.7 MB Notification: Performance of sorting global known variables: time 4.864e-05/0.008396, allocations: 75.28 kB / 379.8 MB, free: 196 kB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008396, allocations: 0 / 379.8 MB, free: 196 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002924/0.008689, allocations: 43.92 kB / 379.8 MB, free: 152 kB / 346.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.0003106/0.008999, allocations: 147.3 kB / 380 MB, free: 16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.592e-05/0.009075, allocations: 15.92 kB / 380 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009077, allocations: 0 / 380 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.009115, allocations: 33.7 kB / 380 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.009333, allocations: 2.031 kB / 380 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000234/0.009567, allocations: 92.7 kB / 380.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.312e-05/0.00963, allocations: 59.34 kB / 380.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.894e-05/0.009649, allocations: 256 / 380.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.009674, allocations: 16.5 kB / 380.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.009675, allocations: 0 / 380.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of Templates: time 0.003865/0.01354, allocations: 1.099 MB / 381.3 MB, free: 14.63 MB / 362.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.657932313042693]