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.00126/0.00126, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001377/0.001377, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.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.2272/0.2272, allocations: 46.93 MB / 361.6 MB, free: 4.258 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.002088/0.002088, allocations: 67.89 kB / 0.4974 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2992, allocations: 66.02 MB / 0.5618 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001844/0.301, allocations: 0.507 MB / 0.5623 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.3031, allocations: 1.409 MB / 0.5637 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.3031, allocations: 0 / 0.5637 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.3031, allocations: 3.938 kB / 0.5637 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.32e-05/0.3031, allocations: 0 / 0.5637 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007645/0.3039, allocations: 223.4 kB / 0.5639 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.161e-05/0.3039, allocations: 7.938 kB / 0.5639 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.55e-05/0.304, allocations: 3.984 kB / 0.5639 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.898e-05/0.304, allocations: 4 kB / 0.5639 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.319e-05/0.3041, allocations: 7.984 kB / 0.564 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.3041, allocations: 8 kB / 0.564 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005204/0.3046, allocations: 267.6 kB / 0.5642 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.3046, allocations: 7.938 kB / 0.5642 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.3046, allocations: 0 / 0.5642 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.3049, allocations: 146 kB / 0.5644 GB, free: 1.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3049, allocations: 0 / 0.5644 GB, free: 1.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3049, allocations: 0 / 0.5644 GB, free: 1.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.3049, allocations: 0 / 0.5644 GB, free: 1.809 MB / 398.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.0003783/0.3053, allocations: 260.5 kB / 0.5646 GB, free: 1.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3053, allocations: 12.03 kB / 0.5646 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.3054, allocations: 8.891 kB / 0.5646 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.014e-05/0.3055, allocations: 110.5 kB / 0.5647 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3055, allocations: 4.375 kB / 0.5647 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.3055, allocations: 4.375 kB / 0.5647 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.3056, allocations: 38 kB / 0.5648 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3056, allocations: 3.938 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.3056, allocations: 0 / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3056, allocations: 0 / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.305e-05/0.3057, allocations: 11.98 kB / 0.5648 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.306, allocations: 212 kB / 0.565 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.802e-05/0.3061, allocations: 22.52 kB / 0.565 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.3061, allocations: 12.8 kB / 0.565 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.3061, allocations: 0 / 0.565 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.3061, allocations: 38.61 kB / 0.5651 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3061, allocations: 4 kB / 0.5651 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.3063, allocations: 33.64 kB / 0.5651 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.3063, allocations: 51.41 kB / 0.5652 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.931e-05/0.3064, allocations: 97.86 kB / 0.5652 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.3064, allocations: 25.7 kB / 0.5653 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.3065, allocations: 92.02 kB / 0.5654 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.3065, allocations: 7.953 kB / 0.5654 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.3065, allocations: 13.97 kB / 0.5654 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3066, allocations: 322.8 kB / 0.5657 GB, free: 284 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.3067, allocations: 0 / 0.5657 GB, free: 284 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.3067, allocations: 22.56 kB / 0.5657 GB, free: 252 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.111e-05/0.3068, allocations: 30.52 kB / 0.5657 GB, free: 212 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3068, allocations: 4 kB / 0.5657 GB, free: 208 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.498e-05/0.3069, allocations: 45.64 kB / 0.5658 GB, free: 156 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3069, allocations: 7.984 kB / 0.5658 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3069, allocations: 0 / 0.5658 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3069, allocations: 4 kB / 0.5658 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.235e-05/0.307, allocations: 4 kB / 0.5658 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.307, allocations: 0 / 0.5658 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.307, allocations: 0 / 0.5658 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.307, allocations: 4 kB / 0.5658 GB, free: 136 kB / 398.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 8.043e-05/0.3071, allocations: 117.8 kB / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.3071, allocations: 4 kB / 0.5659 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.3072, allocations: 48.78 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3072, allocations: 0 / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3072, allocations: 0 / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.3072, allocations: 0 / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.3074, allocations: 128.6 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-06/0.3074, allocations: 8.125 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-07/0.3074, allocations: 0 / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3074, allocations: 3.984 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.3074, allocations: 0 / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3074, allocations: 0 / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3074, allocations: 4 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.3075, allocations: 135.4 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-06/0.3075, allocations: 4.031 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-06/0.3075, allocations: 4 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.825e-05/0.3076, allocations: 0 / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.3076, allocations: 0 / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.3076, allocations: 7.938 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.854e-05/0.3076, allocations: 79.28 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3076, allocations: 0 / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.3079, allocations: 43.92 kB / 0.5664 GB, free: 15.48 MB / 414.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.0002743/0.3082, allocations: 135.2 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.485e-05/0.3083, allocations: 19.98 kB / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3083, allocations: 0 / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.736e-05/0.3083, allocations: 33.64 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.3085, allocations: 3.938 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.3088, allocations: 106.8 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.3091, allocations: 0.6729 MB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.3091, allocations: 11.69 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3091, allocations: 4 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of Templates: time 0.002708/0.3118, allocations: 0.9181 MB / 0.5682 GB, free: 13.5 MB / 414.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 -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: 7.0993341479916126]