Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009447/0.0009447, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001015/0.001015, allocations: 166.7 kB / 24.99 MB, free: 8.793 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.9828/0.9828, allocations: 177.1 MB / 205.3 MB, free: 5.621 MB / 186.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.2406/0.2406, allocations: 34.26 MB / 296 MB, free: 0.7812 MB / 266.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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 378 MB, free: 3.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.744e-05, allocations: 2.312 kB / 378 MB, free: 3.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0009976/0.001015, allocations: 0.5081 MB / 378.5 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.002414, allocations: 1.393 MB / 379.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.002438, allocations: 0 / 379.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.002453, allocations: 0 / 379.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.354e-05/0.002477, allocations: 7.875 kB / 379.9 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.002959, allocations: 216 kB / 380.1 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.575e-05/0.003005, allocations: 8 kB / 380.1 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.288e-05/0.003038, allocations: 0 / 380.1 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.569e-05/0.003063, allocations: 7.984 kB / 380.1 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.981e-05/0.003103, allocations: 0 / 380.1 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.003115, allocations: 0 / 380.1 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/0.003419, allocations: 263.6 kB / 380.4 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.00343, allocations: 3.938 kB / 380.4 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.481e-05/0.003445, allocations: 0 / 380.4 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.003699, allocations: 195.5 kB / 380.6 MB, free: 420 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.003701, allocations: 4 kB / 380.6 MB, free: 416 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003702, allocations: 0 / 380.6 MB, free: 416 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.003706, allocations: 3.938 kB / 380.6 MB, free: 412 kB / 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.0002674/0.003973, allocations: 364.2 kB / 380.9 MB, free: 12 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.004008, allocations: 12.03 kB / 381 MB, free: 0 / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.004041, allocations: 0.9375 kB / 381 MB, free: 0 / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.691e-05/0.004108, allocations: 108.6 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.004118, allocations: 4.375 kB / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.004126, allocations: 384 / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.671e-05/0.004222, allocations: 59.97 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.004229, allocations: 192 / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.004238, allocations: 8.375 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.004246, allocations: 7.922 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.9e-05/0.004265, allocations: 4 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.004528, allocations: 248 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.288e-05/0.004561, allocations: 27.06 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.004576, allocations: 11.75 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.004582, allocations: 0 / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.004604, allocations: 41.36 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.004605, allocations: 0 / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001117/0.004716, allocations: 41.75 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.004741, allocations: 55.41 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.075e-05/0.004802, allocations: 157.9 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.004811, allocations: 29.64 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.004849, allocations: 134.8 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-06/0.004853, allocations: 0 / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.00488, allocations: 23.38 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.005097, allocations: 496.1 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-06/0.005105, allocations: 0 / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.23e-05/0.005127, allocations: 31.05 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.276e-05/0.00516, allocations: 39.12 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.005163, allocations: 4 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.657e-05/0.00521, allocations: 53.53 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.005222, allocations: 7.984 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.005226, allocations: 0 / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.005238, allocations: 4 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.999e-05/0.005278, allocations: 8 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.005282, allocations: 96 / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.187e-05/0.005294, allocations: 7.938 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.005299, allocations: 4 kB / 382.5 MB, free: 14.22 MB / 362.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.245e-05/0.005351, allocations: 156.5 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.005364, allocations: 7.938 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.31e-05/0.005447, allocations: 44.84 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.005449, allocations: 0 / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.005452, allocations: 0 / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005454, allocations: 4.031 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.263e-05/0.005537, allocations: 112.6 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.00554, allocations: 0 / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.00554, allocations: 0 / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.005541, allocations: 0 / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.005547, allocations: 3.938 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.005549, allocations: 4 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.00555, allocations: 0 / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.922e-05/0.005619, allocations: 183.9 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-06/0.005625, allocations: 3.984 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-06/0.005633, allocations: 3.969 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.289e-05/0.005666, allocations: 8 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.005678, allocations: 0 / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.005681, allocations: 0 / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.867e-05/0.005709, allocations: 127.1 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00571, allocations: 0 / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002093/0.005919, allocations: 43.92 kB / 383.2 MB, free: 13.46 MB / 362.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.0001982/0.006117, allocations: 139.2 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.563e-05/0.006183, allocations: 27.83 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006184, allocations: 4.062 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.576e-05/0.00621, allocations: 37.39 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.00635, allocations: 4 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001739/0.006524, allocations: 98.36 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.12e-05/0.006555, allocations: 59.34 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.729e-05/0.006573, allocations: 0 / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.301e-05/0.006586, allocations: 8.5 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.006586, allocations: 64 / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of Templates: time 0.002612/0.009198, allocations: 1.132 MB / 384.7 MB, free: 11.89 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.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: 3.019201101968065]