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.001711/0.001711, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.002098/0.002098, allocations: 168.9 kB / 24.5 MB, free: 3.453 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.428/1.428, allocations: 177.2 MB / 204.9 MB, free: 9.035 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.1989/0.1989, allocations: 34.27 MB / 295.5 MB, free: 14.6 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.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 0.002641/0.002641, allocations: 59.91 kB / 443.1 MB, free: 6.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3724, allocations: 66.01 MB / 0.4972 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001516/0.374, allocations: 0.4985 MB / 0.4977 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.3755, allocations: 1.349 MB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.3755, allocations: 0 / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.3755, allocations: 4 kB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.393e-05/0.3756, allocations: 3.938 kB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006718/0.3762, allocations: 214 kB / 0.4992 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.795e-05/0.3763, allocations: 3.25 kB / 0.4992 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.366e-05/0.3764, allocations: 7.469 kB / 0.4992 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.109e-05/0.3764, allocations: 11.11 kB / 0.4992 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.446e-05/0.3764, allocations: 3.281 kB / 0.4992 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.3764, allocations: 0 / 0.4992 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004056/0.3768, allocations: 256.7 kB / 0.4995 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.3769, allocations: 7.062 kB / 0.4995 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.3769, allocations: 4 kB / 0.4995 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.3771, allocations: 147.7 kB / 0.4996 GB, free: 28.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3771, allocations: 0 / 0.4996 GB, free: 28.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3771, allocations: 0 / 0.4996 GB, free: 28.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3771, allocations: 0 / 0.4996 GB, free: 28.44 MB / 446.1 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.0003113/0.3774, allocations: 262 kB / 0.4999 GB, free: 28.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3775, allocations: 9.469 kB / 0.4999 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.3775, allocations: 8.891 kB / 0.4999 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.53e-05/0.3775, allocations: 105.7 kB / 0.5 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3776, allocations: 8.312 kB / 0.5 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.3776, allocations: 3.344 kB / 0.5 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.3777, allocations: 66.17 kB / 0.5001 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3777, allocations: 0 / 0.5001 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3777, allocations: 3.188 kB / 0.5001 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3777, allocations: 0 / 0.5001 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.138e-05/0.3778, allocations: 11.27 kB / 0.5001 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.378, allocations: 189 kB / 0.5003 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.269e-05/0.3781, allocations: 25.52 kB / 0.5003 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.3781, allocations: 8.859 kB / 0.5003 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-06/0.3781, allocations: 0 / 0.5003 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.3781, allocations: 33.53 kB / 0.5003 GB, free: 27.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.3781, allocations: 4 kB / 0.5003 GB, free: 27.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001398/0.3783, allocations: 35.55 kB / 0.5004 GB, free: 27.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.3783, allocations: 51.41 kB / 0.5004 GB, free: 27.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.563e-05/0.3784, allocations: 96.86 kB / 0.5005 GB, free: 27.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.3784, allocations: 33.58 kB / 0.5005 GB, free: 27.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.682e-05/0.3784, allocations: 91.16 kB / 0.5006 GB, free: 27.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.763e-06/0.3784, allocations: 7.422 kB / 0.5006 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.3784, allocations: 12.69 kB / 0.5007 GB, free: 27.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.696e-05/0.3785, allocations: 314.8 kB / 0.501 GB, free: 27.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.3785, allocations: 7.344 kB / 0.501 GB, free: 27.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/0.3785, allocations: 21.06 kB / 0.501 GB, free: 26.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.041e-05/0.3785, allocations: 31.55 kB / 0.501 GB, free: 26.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3785, allocations: 3.938 kB / 0.501 GB, free: 26.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.035e-05/0.3786, allocations: 53.97 kB / 0.5011 GB, free: 26.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.3786, allocations: 3.219 kB / 0.5011 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3786, allocations: 3.531 kB / 0.5011 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3786, allocations: 4.094 kB / 0.5011 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.135e-05/0.3787, allocations: 3.281 kB / 0.5011 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3787, allocations: 3.281 kB / 0.5011 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.3787, allocations: 0 / 0.5011 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.3787, allocations: 3.219 kB / 0.5011 GB, free: 26.9 MB / 446.1 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.077e-05/0.3788, allocations: 110.4 kB / 0.5012 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.3788, allocations: 6.906 kB / 0.5012 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.693e-05/0.3789, allocations: 47.33 kB / 0.5012 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3789, allocations: 0 / 0.5012 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3789, allocations: 0 / 0.5012 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3789, allocations: 6.594 kB / 0.5012 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.044e-05/0.379, allocations: 97.27 kB / 0.5013 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.379, allocations: 3.312 kB / 0.5013 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.379, allocations: 0 / 0.5013 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.379, allocations: 4 kB / 0.5013 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.379, allocations: 0 / 0.5013 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.379, allocations: 0 / 0.5013 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.379, allocations: 0 / 0.5013 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.645e-05/0.3791, allocations: 140.7 kB / 0.5015 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.3791, allocations: 7.172 kB / 0.5015 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.3791, allocations: 0 / 0.5015 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.239e-05/0.3791, allocations: 0 / 0.5015 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.159e-05/0.3791, allocations: 3.469 kB / 0.5015 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.3791, allocations: 7.062 kB / 0.5015 GB, free: 26.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.891e-05/0.3792, allocations: 75.28 kB / 0.5016 GB, free: 26.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3792, allocations: 0 / 0.5016 GB, free: 26.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.3794, allocations: 43.53 kB / 0.5016 GB, free: 26.38 MB / 446.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.0002246/0.3797, allocations: 140.5 kB / 0.5017 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.447e-05/0.3797, allocations: 17.97 kB / 0.5018 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3797, allocations: 0 / 0.5018 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.507e-05/0.3798, allocations: 32.86 kB / 0.5018 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.38, allocations: 11.25 kB / 0.5018 GB, free: 26.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001971/0.3802, allocations: 88.22 kB / 0.5019 GB, free: 26.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.176e-05/0.3802, allocations: 58.06 kB / 0.5019 GB, free: 26.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.096e-05/0.3802, allocations: 11.83 kB / 0.502 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.401e-05/0.3803, allocations: 8.5 kB / 0.502 GB, free: 26.03 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3803, allocations: 0 / 0.502 GB, free: 26.03 MB / 446.1 MB Notification: Performance of Templates: time 0.003483/0.3837, allocations: 1.075 MB / 0.503 GB, free: 25.94 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.900427250075154]