Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001316/0.001316, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001108/0.001108, allocations: 170.3 kB / 24.82 MB, free: 8.883 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.9213/0.9213, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2625/0.2625, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 376.4 MB, free: 4.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108e-05/1.277e-05, allocations: 2.312 kB / 376.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0009176/0.0009303, allocations: 0.5085 MB / 377 MB, free: 3.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.002472, allocations: 1.393 MB / 378.4 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.002505, allocations: 4 kB / 378.4 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.002524, allocations: 0 / 378.4 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.316e-05/0.002557, allocations: 0 / 378.4 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.003083, allocations: 215.9 kB / 378.6 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.549e-05/0.003128, allocations: 7.984 kB / 378.6 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.366e-05/0.003162, allocations: 0 / 378.6 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.26e-05/0.003195, allocations: 4 kB / 378.6 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.003249, allocations: 7.938 kB / 378.6 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.003263, allocations: 4 kB / 378.6 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/0.003569, allocations: 259.6 kB / 378.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.003583, allocations: 7.969 kB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.129e-05/0.003594, allocations: 0 / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.003975, allocations: 191.6 kB / 379 MB, free: 1.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003978, allocations: 0 / 379 MB, free: 1.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003978, allocations: 0 / 379 MB, free: 1.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.003981, allocations: 0 / 379 MB, free: 1.816 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002917/0.004273, allocations: 368.2 kB / 379.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.004309, allocations: 16.03 kB / 379.4 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.245e-05/0.004331, allocations: 5.234 kB / 379.4 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.308e-05/0.004404, allocations: 112.6 kB / 379.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.004414, allocations: 384 / 379.5 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-06/0.004421, allocations: 4.312 kB / 379.5 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.846e-05/0.004499, allocations: 55.97 kB / 379.6 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.004507, allocations: 192 / 379.6 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-06/0.004513, allocations: 384 / 379.6 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.004523, allocations: 7.922 kB / 379.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.175e-06/0.004531, allocations: 0 / 379.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.505e-05/0.004616, allocations: 97.27 kB / 379.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.333e-05/0.004649, allocations: 31.03 kB / 379.7 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.253e-05/0.004662, allocations: 11.69 kB / 379.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.71e-06/0.004668, allocations: 0 / 379.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.00469, allocations: 33.39 kB / 379.8 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.004691, allocations: 4.062 kB / 379.8 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 9.003e-05/0.004781, allocations: 33.69 kB / 379.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.004803, allocations: 51.41 kB / 379.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.362e-05/0.004866, allocations: 161.9 kB / 380 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.004876, allocations: 29.83 kB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.004907, allocations: 130.9 kB / 380.2 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.004927, allocations: 0 / 380.2 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/0.004948, allocations: 19.38 kB / 380.2 MB, free: 500 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.005072, allocations: 0.4884 MB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.633e-06/0.005079, allocations: 0 / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-06/0.005085, allocations: 4 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.23e-05/0.005107, allocations: 7.688 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.005109, allocations: 0 / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.853e-05/0.005147, allocations: 37.77 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.005159, allocations: 4 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.005165, allocations: 0 / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.005176, allocations: 3.938 kB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.565e-05/0.005222, allocations: 7.984 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.005225, allocations: 0 / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.288e-06/0.005234, allocations: 7.891 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.005239, allocations: 0 / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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.333e-05/0.005292, allocations: 156.6 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-06/0.005296, allocations: 0 / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.134e-05/0.005377, allocations: 48.88 kB / 380.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.005379, allocations: 0 / 380.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.005382, allocations: 7.938 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.005385, allocations: 3.938 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.984e-05/0.005435, allocations: 93.27 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.005438, allocations: 0 / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-07/0.005439, allocations: 0 / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.00544, allocations: 4 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-06/0.005443, allocations: 4.031 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.005444, allocations: 0 / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.005446, allocations: 3.938 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.775e-05/0.005493, allocations: 72.38 kB / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-06/0.005499, allocations: 3.984 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-06/0.005506, allocations: 4 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-05/0.00555, allocations: 4 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.005564, allocations: 3.984 kB / 381.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.005568, allocations: 4 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.939e-05/0.005598, allocations: 123.2 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005598, allocations: 0 / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001542/0.005752, allocations: 39.94 kB / 381.3 MB, free: 15.28 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.0001754/0.005928, allocations: 143.2 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.423e-05/0.005982, allocations: 19.56 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.005983, allocations: 0 / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.458e-05/0.006008, allocations: 37.39 kB / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.777e-05/0.006105, allocations: 0 / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001432/0.006249, allocations: 98.62 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.528e-05/0.006274, allocations: 59.34 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.249e-05/0.006286, allocations: 0 / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.006327, allocations: 82.19 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of SimCode: time 3.6e-07/0.006328, allocations: 0 / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Templates: time 0.002671/0.008999, allocations: 1.243 MB / 383 MB, free: 13.53 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.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.8992213075980544]