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.001425/0.001425, 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.001576/0.001576, 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.9553/0.9553, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2579/0.2579, allocations: 32.8 MB / 294.6 MB, free: 1.285 MB / 266.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.754e-06/1.754e-06, allocations: 0 / 376 MB, free: 5.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.348e-05, allocations: 2.312 kB / 376 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001532/0.001555, allocations: 0.5198 MB / 376.5 MB, free: 4.496 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.003475, allocations: 1.397 MB / 377.9 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.003506, allocations: 0 / 377.9 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.003523, allocations: 0 / 377.9 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.893e-05/0.003552, allocations: 0 / 377.9 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007179/0.004269, allocations: 211.9 kB / 378.1 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.701e-05/0.004326, allocations: 15.98 kB / 378.1 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.004365, allocations: 0 / 378.1 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.034e-05/0.004395, allocations: 4 kB / 378.1 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.224e-05/0.004447, allocations: 4 kB / 378.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.004462, allocations: 0 / 378.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004646/0.004927, allocations: 263.6 kB / 378.4 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.004941, allocations: 3.984 kB / 378.4 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.004961, allocations: 4 kB / 378.4 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.005253, allocations: 191.5 kB / 378.6 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.005255, allocations: 0 / 378.6 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005256, allocations: 4 kB / 378.6 MB, free: 2.391 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.00526, allocations: 0 / 378.6 MB, free: 2.391 MB / 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.0003555/0.005615, allocations: 368.2 kB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.00566, allocations: 8.031 kB / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.005705, allocations: 0.9375 kB / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/0.005786, allocations: 112.6 kB / 379 MB, free: 1.852 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.005799, allocations: 384 / 379 MB, free: 1.852 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.005811, allocations: 384 / 379 MB, free: 1.852 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.005934, allocations: 67.95 kB / 379.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.005943, allocations: 4.125 kB / 379.1 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.005953, allocations: 4.375 kB / 379.1 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.005963, allocations: 3.938 kB / 379.1 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.656e-05/0.005989, allocations: 4 kB / 379.1 MB, free: 1.758 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.006335, allocations: 252.1 kB / 379.4 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.433e-05/0.006379, allocations: 27.06 kB / 379.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.006399, allocations: 11.69 kB / 379.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.006406, allocations: 0 / 379.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.006441, allocations: 45.33 kB / 379.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.006442, allocations: 3.938 kB / 379.5 MB, free: 1.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001537/0.006596, allocations: 29.8 kB / 379.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.006628, allocations: 55.44 kB / 379.5 MB, free: 1.262 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.045e-05/0.006718, allocations: 161.9 kB / 379.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.006731, allocations: 25.7 kB / 379.7 MB, free: 1.055 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.006784, allocations: 130.8 kB / 379.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.371e-06/0.006789, allocations: 4 kB / 379.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.006824, allocations: 23.38 kB / 379.9 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.00696, allocations: 492.1 kB / 380.4 MB, free: 404 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.006974, allocations: 3.984 kB / 380.4 MB, free: 400 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.007004, allocations: 31 kB / 380.4 MB, free: 356 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.278e-05/0.007047, allocations: 39.19 kB / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.007049, allocations: 0 / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.386e-05/0.007133, allocations: 57.52 kB / 380.5 MB, free: 240 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.007148, allocations: 5.875 kB / 380.5 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.007154, allocations: 4 kB / 380.5 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.007168, allocations: 0 / 380.5 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.572e-05/0.007223, allocations: 7.938 kB / 380.5 MB, free: 224 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.007229, allocations: 0 / 380.5 MB, free: 224 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.006e-05/0.007249, allocations: 12.03 kB / 380.5 MB, free: 212 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.007255, allocations: 0 / 380.5 MB, free: 212 kB / 346.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 7.612e-05/0.007331, allocations: 160.6 kB / 380.7 MB, free: 40 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.007355, allocations: 3.938 kB / 380.7 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.007492, allocations: 40.86 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.007496, allocations: 4 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.0075, allocations: 0 / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.007504, allocations: 8.109 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.007628, allocations: 112.6 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.007633, allocations: 0 / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.007634, allocations: 0 / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.007639, allocations: 7.938 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.007647, allocations: 3.938 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.007649, allocations: 0 / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.00765, allocations: 0 / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.007757, allocations: 183.9 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.007766, allocations: 0 / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.007779, allocations: 11.88 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-05/0.007844, allocations: 4.031 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.00786, allocations: 0 / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.007865, allocations: 0 / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.011e-05/0.007915, allocations: 127.2 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.007915, allocations: 0 / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000336/0.008251, allocations: 39.94 kB / 381.2 MB, free: 15.45 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.0002792/0.00853, allocations: 143.2 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.477e-05/0.008615, allocations: 23.84 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.008617, allocations: 4.062 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.008651, allocations: 33.39 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.008887, allocations: 4 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.009117, allocations: 98.34 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.992e-05/0.009157, allocations: 55.36 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.549e-05/0.009183, allocations: 0 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.857e-05/0.009201, allocations: 12.5 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.009202, allocations: 3.938 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of Templates: time 0.003753/0.01296, allocations: 1.122 MB / 382.7 MB, free: 13.88 MB / 362.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: 3.0494500398635864]