Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001538/0.001538, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.001502/0.001502, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8311/0.8311, allocations: 158.6 MB / 185.9 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1196/0.1196, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 348.1 MB, free: 9.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.362e-05, allocations: 2.312 kB / 348.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0008775/0.0008911, allocations: 0.516 MB / 348.6 MB, free: 8.691 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.001986, allocations: 1.378 MB / 350 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.002016, allocations: 0 / 350 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.002034, allocations: 0 / 350 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.013e-05/0.002065, allocations: 3.938 kB / 350 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004634/0.002528, allocations: 219.9 kB / 350.2 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.737e-05/0.002565, allocations: 7.984 kB / 350.2 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.204e-05/0.002597, allocations: 4 kB / 350.2 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.86e-05/0.002626, allocations: 8 kB / 350.2 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.295e-05/0.002669, allocations: 0 / 350.2 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.002681, allocations: 0 / 350.2 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002485/0.00293, allocations: 251.6 kB / 350.5 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.002942, allocations: 15.92 kB / 350.5 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.02e-05/0.002952, allocations: 0 / 350.5 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.003109, allocations: 191.5 kB / 350.7 MB, free: 6.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003111, allocations: 4 kB / 350.7 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.003112, allocations: 0 / 350.7 MB, free: 6.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.003115, allocations: 0 / 350.7 MB, free: 6.598 MB / 282.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.0001961/0.003311, allocations: 368.2 kB / 351 MB, free: 6.203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.003342, allocations: 8.031 kB / 351.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.091e-05/0.003363, allocations: 4.938 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.137e-05/0.003394, allocations: 108.6 kB / 351.2 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.003402, allocations: 384 / 351.2 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-06/0.003409, allocations: 8.375 kB / 351.2 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.007e-05/0.003469, allocations: 67.88 kB / 351.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.003475, allocations: 192 / 351.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-06/0.003479, allocations: 4.375 kB / 351.2 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.003484, allocations: 3.938 kB / 351.2 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.224e-05/0.003496, allocations: 4 kB / 351.3 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.003677, allocations: 228.7 kB / 351.5 MB, free: 5.711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.321e-05/0.003701, allocations: 27.06 kB / 351.5 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.739e-06/0.00371, allocations: 7.734 kB / 351.5 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-06/0.003716, allocations: 7.922 kB / 351.5 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/0.00373, allocations: 37.45 kB / 351.6 MB, free: 5.605 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.81e-07/0.00373, allocations: 0 / 351.6 MB, free: 5.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 8.387e-05/0.003814, allocations: 41.64 kB / 351.6 MB, free: 5.559 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.158e-05/0.003826, allocations: 51.41 kB / 351.6 MB, free: 5.496 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.686e-05/0.003862, allocations: 157.9 kB / 351.8 MB, free: 5.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.819e-06/0.003867, allocations: 29.69 kB / 351.8 MB, free: 5.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.00389, allocations: 130.8 kB / 352 MB, free: 5.156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-06/0.003893, allocations: 7.938 kB / 352 MB, free: 5.148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/0.003912, allocations: 19.38 kB / 352 MB, free: 5.121 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.098e-05/0.003953, allocations: 492.1 kB / 352.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-06/0.003958, allocations: 0 / 352.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.355e-05/0.003971, allocations: 38.98 kB / 352.5 MB, free: 4.578 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.992e-05/0.003991, allocations: 39.3 kB / 352.5 MB, free: 4.527 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.003993, allocations: 0 / 352.5 MB, free: 4.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.59e-05/0.004028, allocations: 53.58 kB / 352.6 MB, free: 4.469 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.004038, allocations: 7.938 kB / 352.6 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.004043, allocations: 4 kB / 352.6 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.004053, allocations: 7.938 kB / 352.6 MB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.577e-05/0.004079, allocations: 4 kB / 352.6 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.004081, allocations: 4.094 kB / 352.6 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.778e-06/0.004091, allocations: 0 / 352.6 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.004095, allocations: 4 kB / 352.6 MB, free: 4.438 MB / 282.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 3.166e-05/0.004127, allocations: 152.6 kB / 352.8 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.004138, allocations: 4 kB / 352.8 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.869e-05/0.004206, allocations: 52.72 kB / 352.8 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.004208, allocations: 0 / 352.8 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.004209, allocations: 4.031 kB / 352.8 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.004211, allocations: 3.938 kB / 352.8 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.732e-05/0.004268, allocations: 93.27 kB / 352.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.004271, allocations: 3.984 kB / 352.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-07/0.004271, allocations: 0 / 352.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-07/0.004272, allocations: 0 / 352.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-06/0.004275, allocations: 0 / 352.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.004275, allocations: 0 / 352.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.004276, allocations: 3.938 kB / 352.9 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.7e-05/0.004313, allocations: 180 kB / 353.1 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-06/0.004318, allocations: 3.984 kB / 353.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-06/0.004324, allocations: 8.016 kB / 353.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.977e-05/0.004354, allocations: 0 / 353.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-06/0.004362, allocations: 7.938 kB / 353.1 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.004364, allocations: 0 / 353.1 MB, free: 3.867 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.108e-05/0.004376, allocations: 119.2 kB / 353.2 MB, free: 3.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004376, allocations: 0 / 353.2 MB, free: 3.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001786/0.004554, allocations: 47.88 kB / 353.3 MB, free: 3.703 MB / 282.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.0001481/0.004702, allocations: 151.1 kB / 353.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.334e-05/0.004746, allocations: 19.78 kB / 353.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.004747, allocations: 0 / 353.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.727e-05/0.004764, allocations: 41.38 kB / 353.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.004895, allocations: 0 / 353.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001156/0.005011, allocations: 101.5 kB / 353.6 MB, free: 3.348 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.782e-05/0.005028, allocations: 55.34 kB / 353.7 MB, free: 3.273 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.426e-05/0.005043, allocations: 0 / 353.7 MB, free: 3.273 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.005068, allocations: 78.45 kB / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of SimCode: time 4.1e-07/0.005068, allocations: 4 kB / 353.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of Templates: time 0.002063/0.007131, allocations: 1.248 MB / 355 MB, free: 1.949 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6953950598835945]