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.0009729/0.0009729, allocations: 80.31 kB / 22.21 MB, free: 2.281 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.001016/0.001016, allocations: 173.1 kB / 25.61 MB, free: 8.871 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.8782/0.8782, allocations: 177.1 MB / 206 MB, free: 4.512 MB / 186.7 MB " [Timeout remaining time 179] 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.1427/0.1427, allocations: 32.81 MB / 295.4 MB, free: 15.38 MB / 282.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.433e-06/1.433e-06, allocations: 0 / 377.2 MB, free: 25.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.181e-05, allocations: 5.547 kB / 377.2 MB, free: 25.63 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001122/0.001143, allocations: 0.497 MB / 377.7 MB, free: 25.13 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.002257, allocations: 1.393 MB / 379.1 MB, free: 23.72 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.002282, allocations: 0 / 379.1 MB, free: 23.72 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.002298, allocations: 0 / 379.1 MB, free: 23.72 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.822e-05/0.002326, allocations: 4 kB / 379.1 MB, free: 23.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.002771, allocations: 215.9 kB / 379.3 MB, free: 23.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.292e-05/0.002814, allocations: 7.984 kB / 379.3 MB, free: 23.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.002852, allocations: 4 kB / 379.4 MB, free: 23.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.627e-05/0.002878, allocations: 4 kB / 379.4 MB, free: 23.49 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.741e-05/0.002925, allocations: 4 kB / 379.4 MB, free: 23.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.002937, allocations: 0 / 379.4 MB, free: 23.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.003216, allocations: 259.6 kB / 379.6 MB, free: 23.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.003229, allocations: 8 kB / 379.6 MB, free: 23.22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.046e-05/0.00324, allocations: 0 / 379.6 MB, free: 23.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.003412, allocations: 199.5 kB / 379.8 MB, free: 23.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.003415, allocations: 4 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003415, allocations: 0 / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.003418, allocations: 0 / 379.8 MB, free: 23.02 MB / 314.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.0002141/0.003633, allocations: 360.2 kB / 380.2 MB, free: 22.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.647e-05/0.003659, allocations: 11.98 kB / 380.2 MB, free: 22.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.003683, allocations: 8.922 kB / 380.2 MB, free: 22.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.689e-05/0.00372, allocations: 108.6 kB / 380.3 MB, free: 22.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-06/0.003729, allocations: 384 / 380.3 MB, free: 22.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.003735, allocations: 12.31 kB / 380.3 MB, free: 22.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.236e-05/0.003798, allocations: 59.95 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.003803, allocations: 4.188 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.003809, allocations: 384 / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.003814, allocations: 3.938 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.234e-05/0.003826, allocations: 4 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.003999, allocations: 224.4 kB / 380.6 MB, free: 22.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.641e-05/0.004025, allocations: 31 kB / 380.6 MB, free: 22.1 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.697e-06/0.004034, allocations: 11.72 kB / 380.6 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-06/0.004039, allocations: 0 / 380.6 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.188e-05/0.004051, allocations: 33.39 kB / 380.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.004051, allocations: 8 kB / 380.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 8.401e-05/0.004135, allocations: 45.94 kB / 380.7 MB, free: 21.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.004154, allocations: 51.41 kB / 380.8 MB, free: 21.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.525e-05/0.004189, allocations: 161.9 kB / 380.9 MB, free: 21.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-06/0.004194, allocations: 29.64 kB / 381 MB, free: 21.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.042e-05/0.004215, allocations: 130.8 kB / 381.1 MB, free: 21.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-06/0.004218, allocations: 4 kB / 381.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.772e-05/0.004236, allocations: 15.38 kB / 381.1 MB, free: 21.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.397e-05/0.00427, allocations: 496.1 kB / 381.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.42e-06/0.004275, allocations: 0 / 381.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.295e-05/0.004288, allocations: 35.3 kB / 381.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.055e-05/0.004309, allocations: 42.98 kB / 381.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004311, allocations: 4 kB / 381.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.66e-05/0.004347, allocations: 49.62 kB / 381.7 MB, free: 20.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.004357, allocations: 9.812 kB / 381.7 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.00436, allocations: 0 / 381.7 MB, free: 20.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.004368, allocations: 4 kB / 381.7 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.684e-05/0.004395, allocations: 8.094 kB / 381.7 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.004397, allocations: 0 / 381.7 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.004e-05/0.004407, allocations: 3.953 kB / 381.7 MB, free: 20.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.004412, allocations: 4 kB / 381.8 MB, free: 20.87 MB / 314.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 2.878e-05/0.004441, allocations: 156.5 kB / 381.9 MB, free: 20.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.004455, allocations: 4 kB / 381.9 MB, free: 20.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.286e-05/0.004518, allocations: 52.72 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.00452, allocations: 0 / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.004521, allocations: 4.125 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.004524, allocations: 3.984 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.786e-05/0.004582, allocations: 93.25 kB / 382.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.004584, allocations: 4 kB / 382.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.8e-07/0.004584, allocations: 0 / 382.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.004585, allocations: 0 / 382.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-06/0.004588, allocations: 0 / 382.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.004589, allocations: 0 / 382.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.00459, allocations: 3.938 kB / 382.1 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.958e-05/0.004629, allocations: 176 kB / 382.2 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-06/0.004635, allocations: 12.02 kB / 382.3 MB, free: 20.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-06/0.004641, allocations: 3.938 kB / 382.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.969e-05/0.004671, allocations: 0 / 382.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-06/0.004681, allocations: 7.875 kB / 382.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.004684, allocations: 4 kB / 382.3 MB, free: 20.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.291e-05/0.004697, allocations: 119.2 kB / 382.4 MB, free: 20.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004697, allocations: 0 / 382.4 MB, free: 20.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.004872, allocations: 43.94 kB / 382.4 MB, free: 20.13 MB / 314.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.0001595/0.005031, allocations: 147.1 kB / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.42e-05/0.005096, allocations: 23.77 kB / 382.6 MB, free: 19.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.005097, allocations: 0 / 382.6 MB, free: 19.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.988e-05/0.005117, allocations: 41.33 kB / 382.6 MB, free: 19.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.00525, allocations: 0 / 382.6 MB, free: 19.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001267/0.005376, allocations: 96.28 kB / 382.7 MB, free: 19.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.791e-05/0.005394, allocations: 59.2 kB / 382.8 MB, free: 19.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.534e-05/0.005409, allocations: 0 / 382.8 MB, free: 19.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.005437, allocations: 82.45 kB / 382.9 MB, free: 19.62 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/0.005438, allocations: 0 / 382.9 MB, free: 19.62 MB / 314.7 MB Notification: Performance of Templates: time 0.002229/0.007667, allocations: 1.257 MB / 384.1 MB, free: 18.37 MB / 314.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] 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","",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.834151245187968]