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.001027/0.001027, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.000978/0.000978, allocations: 161 kB / 24.56 MB, free: 16 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 0.9349/0.9349, allocations: 177.1 MB / 205 MB, free: 5.641 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.2316/0.2316, allocations: 34.25 MB / 295.7 MB, free: 0.7617 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.152e-06/1.152e-06, allocations: 0 / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.434e-05, allocations: 2.312 kB / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0009297/0.0009441, allocations: 0.5047 MB / 378.5 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.002217, allocations: 1.397 MB / 379.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.795e-05/0.002235, allocations: 0 / 379.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.002253, allocations: 0 / 379.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.286e-05/0.002276, allocations: 7.938 kB / 379.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.002756, allocations: 215.9 kB / 380.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.132e-05/0.002797, allocations: 8 kB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.002832, allocations: 7.984 kB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.549e-05/0.002858, allocations: 3.984 kB / 380.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.075e-05/0.002898, allocations: 4 kB / 380.2 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.002911, allocations: 0 / 380.2 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.003208, allocations: 255.6 kB / 380.4 MB, free: 276 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.003232, allocations: 7.938 kB / 380.4 MB, free: 268 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.606e-05/0.003248, allocations: 0 / 380.4 MB, free: 268 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.003449, allocations: 203.5 kB / 380.6 MB, free: 64 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003451, allocations: 0 / 380.6 MB, free: 64 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003452, allocations: 0 / 380.6 MB, free: 64 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.003455, allocations: 0 / 380.6 MB, free: 64 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.0002738/0.003729, allocations: 364.2 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.003764, allocations: 8.031 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.003799, allocations: 4.938 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.742e-05/0.003846, allocations: 104.6 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.003855, allocations: 384 / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.003865, allocations: 8.312 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.181e-05/0.003957, allocations: 67.95 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.003963, allocations: 192 / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.003971, allocations: 384 / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.003977, allocations: 3.938 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.941e-05/0.003997, allocations: 7.984 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.004264, allocations: 248.2 kB / 381.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.499e-05/0.004299, allocations: 30.98 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.004314, allocations: 11.69 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.343e-06/0.004321, allocations: 4.062 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.004341, allocations: 37.33 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.004341, allocations: 4 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001038/0.004445, allocations: 33.69 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.004466, allocations: 55.41 kB / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.388e-05/0.00453, allocations: 153.9 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.00454, allocations: 29.7 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.004577, allocations: 130.8 kB / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-06/0.004581, allocations: 7.875 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.004608, allocations: 23.36 kB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.004702, allocations: 496.1 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.004712, allocations: 4.25 kB / 382.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.018e-05/0.004732, allocations: 31.06 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.011e-05/0.004762, allocations: 35.05 kB / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.004764, allocations: 0 / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.538e-05/0.00481, allocations: 53.47 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.004821, allocations: 8 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.004825, allocations: 0 / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.004836, allocations: 0 / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.26e-05/0.004878, allocations: 16.08 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.004883, allocations: 0 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.176e-05/0.004895, allocations: 7.938 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.0049, allocations: 4 kB / 382.6 MB, free: 13.88 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 4.977e-05/0.00495, allocations: 152.6 kB / 382.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.004963, allocations: 3.938 kB / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.274e-05/0.005045, allocations: 52.78 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.005049, allocations: 8.031 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.005051, allocations: 0 / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.005053, allocations: 0 / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.573e-05/0.005129, allocations: 104.6 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.005133, allocations: 4 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.005134, allocations: 0 / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.005135, allocations: 0 / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.005141, allocations: 7.922 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.005142, allocations: 0 / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.005142, allocations: 0 / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.327e-05/0.005206, allocations: 180 kB / 383.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-06/0.005211, allocations: 8.031 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-06/0.005219, allocations: 3.938 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.308e-05/0.005252, allocations: 3.984 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.005263, allocations: 0 / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.005266, allocations: 7.938 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.61e-05/0.005292, allocations: 119.2 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005292, allocations: 0 / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001835/0.005475, allocations: 43.88 kB / 383.2 MB, free: 13.12 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.0001803/0.005656, allocations: 147.2 kB / 383.4 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.676e-05/0.005712, allocations: 19.69 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.005715, allocations: 4 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.487e-05/0.00574, allocations: 41.38 kB / 383.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.005877, allocations: 5.812 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001749/0.006052, allocations: 98.36 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.865e-05/0.006091, allocations: 51.36 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.864e-05/0.00611, allocations: 8.328 kB / 383.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.302e-05/0.006123, allocations: 12.5 kB / 383.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006123, allocations: 0 / 383.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of Templates: time 0.002262/0.008385, allocations: 1.127 MB / 384.7 MB, free: 11.55 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.0172676309011877]