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.001108/0.001108, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001026/0.001026, allocations: 169.9 kB / 24.91 MB, free: 8.613 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.9448/0.9448, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2357/0.2357, allocations: 32.81 MB / 294.6 MB, free: 1.184 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.753e-06/1.753e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.054e-05, allocations: 2.312 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.002144/0.002175, allocations: 497.5 kB / 323.7 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.00448, allocations: 1.401 MB / 325.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/0.004511, allocations: 3.938 kB / 325.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.004528, allocations: 0 / 325.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.921e-05/0.004557, allocations: 0 / 325.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.00561, allocations: 212 kB / 325.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.004e-05/0.00567, allocations: 11.94 kB / 325.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.005716, allocations: 0.625 kB / 325.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.774e-05/0.005754, allocations: 7.984 kB / 325.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.005815, allocations: 11.94 kB / 325.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.005829, allocations: 0 / 325.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005146/0.006344, allocations: 255.6 kB / 325.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.006359, allocations: 0 / 325.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.632e-05/0.006375, allocations: 4 kB / 325.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.006683, allocations: 199.4 kB / 325.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.006687, allocations: 0 / 325.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.006689, allocations: 0 / 325.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.006693, allocations: 4 kB / 325.8 MB, free: 7.102 MB / 298.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.0003284/0.007021, allocations: 236.5 kB / 326 MB, free: 6.848 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.007061, allocations: 12.03 kB / 326 MB, free: 6.836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.007095, allocations: 4.938 kB / 326 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.624e-05/0.007161, allocations: 109.8 kB / 326.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.007173, allocations: 384 / 326.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.007187, allocations: 4.375 kB / 326.1 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.007303, allocations: 59.95 kB / 326.2 MB, free: 6.625 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.007311, allocations: 192 / 326.2 MB, free: 6.625 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.007319, allocations: 384 / 326.2 MB, free: 6.625 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.007327, allocations: 3.938 kB / 326.2 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.1e-05/0.007348, allocations: 7.938 kB / 326.2 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/0.007629, allocations: 149.5 kB / 326.4 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.715e-05/0.007676, allocations: 18.58 kB / 326.4 MB, free: 6.426 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.373e-05/0.00769, allocations: 8.922 kB / 326.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/0.007697, allocations: 0 / 326.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.007721, allocations: 30.56 kB / 326.4 MB, free: 6.375 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.007722, allocations: 0 / 326.4 MB, free: 6.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001242/0.007846, allocations: 45.61 kB / 326.5 MB, free: 6.324 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.007881, allocations: 55.41 kB / 326.5 MB, free: 6.258 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.725e-05/0.007948, allocations: 103 kB / 326.6 MB, free: 6.145 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.007963, allocations: 29.95 kB / 326.6 MB, free: 6.109 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.008005, allocations: 84.14 kB / 326.7 MB, free: 6.023 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.742e-06/0.008012, allocations: 7.891 kB / 326.7 MB, free: 6.016 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.008045, allocations: 21.7 kB / 326.8 MB, free: 5.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.703e-05/0.008132, allocations: 314.8 kB / 327.1 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.008143, allocations: 4 kB / 327.1 MB, free: 5.668 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.026e-05/0.008163, allocations: 14.58 kB / 327.1 MB, free: 5.645 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.78e-05/0.008201, allocations: 34.5 kB / 327.1 MB, free: 5.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.008203, allocations: 0 / 327.1 MB, free: 5.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.818e-05/0.008271, allocations: 49.62 kB / 327.2 MB, free: 5.547 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.008285, allocations: 4 kB / 327.2 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.008292, allocations: 7.875 kB / 327.2 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.008306, allocations: 0 / 327.2 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.938e-05/0.008355, allocations: 8 kB / 327.2 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.00836, allocations: 3.938 kB / 327.2 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.761e-05/0.008377, allocations: 0 / 327.2 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.008386, allocations: 4 kB / 327.2 MB, free: 5.52 MB / 298.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 5.894e-05/0.008445, allocations: 105.8 kB / 327.3 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.008464, allocations: 4.094 kB / 327.3 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.008585, allocations: 48.88 kB / 327.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.00859, allocations: 3.984 kB / 327.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.008591, allocations: 0 / 327.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.008594, allocations: 0 / 327.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.008705, allocations: 65.89 kB / 327.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.008711, allocations: 0 / 327.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.71e-07/0.008712, allocations: 0 / 327.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.008715, allocations: 4.031 kB / 327.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-06/0.008719, allocations: 0 / 327.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.008721, allocations: 0 / 327.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.008725, allocations: 7.875 kB / 327.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.321e-05/0.008809, allocations: 127.5 kB / 327.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.158e-06/0.008818, allocations: 0.625 kB / 327.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.008829, allocations: 8 kB / 327.6 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.839e-05/0.008887, allocations: 0 / 327.6 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.008901, allocations: 3.938 kB / 327.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.008905, allocations: 0 / 327.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.581e-05/0.008921, allocations: 20.88 kB / 327.6 MB, free: 5.078 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008921, allocations: 0 / 327.6 MB, free: 5.078 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003005/0.009221, allocations: 39.92 kB / 327.6 MB, free: 5.039 MB / 298.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.0002709/0.009492, allocations: 124.3 kB / 327.7 MB, free: 4.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.091e-05/0.009563, allocations: 20.78 kB / 327.8 MB, free: 4.883 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.009568, allocations: 0 / 327.8 MB, free: 4.883 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.028e-05/0.009598, allocations: 34.56 kB / 327.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.009745, allocations: 352 / 327.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002174/0.009962, allocations: 105.3 kB / 327.9 MB, free: 4.711 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.919e-05/0.01, allocations: 59.28 kB / 328 MB, free: 4.633 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.623e-05/0.01003, allocations: 0 / 328 MB, free: 4.633 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.01008, allocations: 55.38 kB / 328 MB, free: 4.578 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01008, allocations: 0 / 328 MB, free: 4.578 MB / 298.7 MB Notification: Performance of Templates: time 0.003891/0.01397, allocations: 1.257 MB / 329.3 MB, free: 3.324 MB / 298.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: 2.88196137920022]