Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00171/0.00171, allocations: 78.66 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.00209/0.00209, allocations: 170.2 kB / 24.82 MB, free: 9.262 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 1.065/1.065, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.3191/0.3191, allocations: 34.26 MB / 296.1 MB, free: 0.6445 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.266e-06/3.266e-06, allocations: 0 / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.454e-05/3.78e-05, allocations: 2.312 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001828/0.001866, allocations: 0.5009 MB / 379 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.003849, allocations: 1.393 MB / 380.4 MB, free: 484 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.003889, allocations: 0 / 380.4 MB, free: 484 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.309e-05/0.003912, allocations: 0 / 380.4 MB, free: 484 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.993e-05/0.003952, allocations: 4 kB / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.004689, allocations: 215.9 kB / 380.6 MB, free: 264 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.063e-05/0.00475, allocations: 4 kB / 380.6 MB, free: 260 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.004795, allocations: 4 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.243e-05/0.004838, allocations: 7.984 kB / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.162e-05/0.004899, allocations: 7.938 kB / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.004918, allocations: 0 / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004972/0.005415, allocations: 251.7 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.005431, allocations: 0 / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.005448, allocations: 11.98 kB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.005717, allocations: 195.5 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.005721, allocations: 0 / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005721, allocations: 0 / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.005726, allocations: 0 / 381.1 MB, free: 15.79 MB / 362.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.0003962/0.006122, allocations: 368.2 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.006169, allocations: 8.031 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.006205, allocations: 5.234 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.272e-05/0.006298, allocations: 112.6 kB / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.006309, allocations: 384 / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.006318, allocations: 8.25 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.537e-05/0.006413, allocations: 63.97 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.006422, allocations: 192 / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.006429, allocations: 384 / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.006438, allocations: 3.938 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.376e-05/0.006452, allocations: 7.984 kB / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.006562, allocations: 97.25 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.84e-05/0.006611, allocations: 27.09 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.006644, allocations: 11.62 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.453e-06/0.006651, allocations: 0 / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.006681, allocations: 37.45 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.006682, allocations: 4 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001287/0.006811, allocations: 29.7 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.006842, allocations: 51.41 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.817e-05/0.00693, allocations: 161.9 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.006944, allocations: 29.7 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.006992, allocations: 126.9 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.00702, allocations: 7.984 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.007052, allocations: 15.38 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.00719, allocations: 496.1 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.007202, allocations: 4.25 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.385e-06/0.00721, allocations: 4 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.384e-05/0.007244, allocations: 15.67 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007246, allocations: 0 / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.252e-05/0.007308, allocations: 29.7 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.007323, allocations: 8 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.007329, allocations: 0 / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.007341, allocations: 0 / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-05/0.007402, allocations: 0 / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.007406, allocations: 3.938 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.615e-05/0.007422, allocations: 15.98 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.007429, allocations: 0 / 382.8 MB, free: 13.87 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 8.257e-05/0.007512, allocations: 160.6 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.007522, allocations: 4 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.007648, allocations: 32.86 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.007652, allocations: 4 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.007654, allocations: 3.938 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.007658, allocations: 7.969 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.638e-05/0.007734, allocations: 93.25 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.007741, allocations: 4 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.81e-07/0.007741, allocations: 0 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.007743, allocations: 0 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.007748, allocations: 0 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.007749, allocations: 0 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.007754, allocations: 4 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.781e-05/0.007832, allocations: 80.31 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.007841, allocations: 4 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.834e-06/0.007849, allocations: 4.031 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.212e-05/0.007911, allocations: 0 / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.289e-05/0.007924, allocations: 4 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.007929, allocations: 0 / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.387e-05/0.007972, allocations: 123.2 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007972, allocations: 0 / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002606/0.008233, allocations: 43.92 kB / 383.3 MB, free: 13.24 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.0002516/0.008485, allocations: 143.2 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.401e-05/0.008569, allocations: 19.72 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.008572, allocations: 3.938 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.368e-05/0.008606, allocations: 37.39 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.008752, allocations: 3.938 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002095/0.008962, allocations: 102.4 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.25e-05/0.008994, allocations: 51.36 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.24e-05/0.009017, allocations: 4 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.00907, allocations: 70.2 kB / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.009071, allocations: 128 / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of Templates: time 0.003944/0.01302, allocations: 1.258 MB / 385 MB, free: 11.48 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.2780599277466536]