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.002405/0.002405, allocations: 87.67 kB / 20.21 MB, free: 4.211 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.003212/0.003212, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 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 1.565/1.565, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.2814/0.2814, allocations: 32.38 MB / 270 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 179] 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 2.935e-06/2.935e-06, allocations: 0 / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.607e-05/3.9e-05, allocations: 2.312 kB / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001736/0.001775, allocations: 0.5043 MB / 347.4 MB, free: 9.324 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.003766, allocations: 1.359 MB / 348.8 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.003804, allocations: 7.938 kB / 348.8 MB, free: 7.934 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.003821, allocations: 0 / 348.8 MB, free: 7.934 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.118e-05/0.003872, allocations: 0 / 348.8 MB, free: 7.934 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007433/0.004615, allocations: 215.9 kB / 349 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.337e-05/0.004679, allocations: 7.984 kB / 349 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.225e-05/0.004741, allocations: 4 kB / 349 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.588e-05/0.004787, allocations: 4 kB / 349 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.049e-05/0.004867, allocations: 15.86 kB / 349 MB, free: 7.691 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.00489, allocations: 0 / 349 MB, free: 7.691 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004524/0.005342, allocations: 251.6 kB / 349.3 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.005361, allocations: 11.98 kB / 349.3 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.005384, allocations: 4 kB / 349.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.005663, allocations: 187.5 kB / 349.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.005667, allocations: 0 / 349.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005668, allocations: 0 / 349.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.005674, allocations: 4 kB / 349.5 MB, free: 7.242 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.0004509/0.006125, allocations: 360.2 kB / 349.8 MB, free: 6.855 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.397e-05/0.006199, allocations: 8.031 kB / 349.8 MB, free: 6.848 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.179e-05/0.00626, allocations: 8.938 kB / 349.8 MB, free: 6.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.184e-05/0.006332, allocations: 108.6 kB / 350 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.006349, allocations: 384 / 350 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.00636, allocations: 4.375 kB / 350 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.006499, allocations: 71.89 kB / 350 MB, free: 6.621 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.00651, allocations: 192 / 350 MB, free: 6.621 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.006525, allocations: 384 / 350 MB, free: 6.621 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.006531, allocations: 3.938 kB / 350 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.831e-05/0.006569, allocations: 7.938 kB / 350 MB, free: 6.609 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.007002, allocations: 259.7 kB / 350.3 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.884e-05/0.00706, allocations: 23.06 kB / 350.3 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.465e-05/0.007085, allocations: 15.75 kB / 350.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.007114, allocations: 0 / 350.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.007141, allocations: 41.33 kB / 350.4 MB, free: 6.215 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.007142, allocations: 0 / 350.4 MB, free: 6.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001913/0.007333, allocations: 37.64 kB / 350.4 MB, free: 6.172 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.00736, allocations: 51.41 kB / 350.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.866e-05/0.007439, allocations: 161.9 kB / 350.6 MB, free: 5.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.007449, allocations: 25.7 kB / 350.6 MB, free: 5.902 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.007496, allocations: 130.8 kB / 350.8 MB, free: 5.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.622e-06/0.007502, allocations: 0 / 350.8 MB, free: 5.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.007532, allocations: 23.38 kB / 350.8 MB, free: 5.738 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.007647, allocations: 496.4 kB / 351.3 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.00766, allocations: 8 kB / 351.3 MB, free: 5.234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.007687, allocations: 27.06 kB / 351.3 MB, free: 5.195 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.935e-05/0.007727, allocations: 39 kB / 351.4 MB, free: 5.145 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.007729, allocations: 0 / 351.4 MB, free: 5.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.268e-05/0.007791, allocations: 53.56 kB / 351.4 MB, free: 5.086 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.007805, allocations: 4 kB / 351.4 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.007813, allocations: 8.094 kB / 351.4 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.007833, allocations: 0 / 351.4 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.007891, allocations: 4 kB / 351.4 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.007899, allocations: 3.938 kB / 351.4 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.007917, allocations: 7.953 kB / 351.4 MB, free: 5.059 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.007925, allocations: 0 / 351.4 MB, free: 5.059 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 6.801e-05/0.007993, allocations: 160.6 kB / 351.6 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.008024, allocations: 3.938 kB / 351.6 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.00816, allocations: 48.94 kB / 351.6 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.008162, allocations: 0 / 351.6 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.008168, allocations: 3.984 kB / 351.6 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.008171, allocations: 3.938 kB / 351.6 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.008277, allocations: 108.6 kB / 351.8 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.008281, allocations: 0 / 351.8 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.008281, allocations: 0 / 351.8 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.008282, allocations: 4 kB / 351.8 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.008291, allocations: 7.938 kB / 351.8 MB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.008292, allocations: 0 / 351.8 MB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.008293, allocations: 0 / 351.8 MB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.058e-05/0.008383, allocations: 191.9 kB / 352 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.00839, allocations: 4 kB / 352 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.008403, allocations: 3.938 kB / 352 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.387e-05/0.008456, allocations: 0 / 352 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.00848, allocations: 0 / 352 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.008484, allocations: 4 kB / 352 MB, free: 4.453 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.569e-05/0.00852, allocations: 127.2 kB / 352.1 MB, free: 4.328 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00852, allocations: 0 / 352.1 MB, free: 4.328 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.008817, allocations: 39.94 kB / 352.1 MB, free: 4.289 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.0002944/0.009111, allocations: 147.3 kB / 352.3 MB, free: 4.137 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.00922, allocations: 19.62 kB / 352.3 MB, free: 4.113 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.009222, allocations: 0 / 352.3 MB, free: 4.113 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.632e-05/0.009258, allocations: 37.39 kB / 352.3 MB, free: 4.066 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.009476, allocations: 3.938 kB / 352.3 MB, free: 4.062 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.009742, allocations: 105.5 kB / 352.4 MB, free: 3.934 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.622e-05/0.009789, allocations: 55.36 kB / 352.5 MB, free: 3.859 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.311e-05/0.009812, allocations: 4.25 kB / 352.5 MB, free: 3.855 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.009831, allocations: 8.5 kB / 352.5 MB, free: 3.848 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.009831, allocations: 4 kB / 352.5 MB, free: 3.844 MB / 282.7 MB Notification: Performance of Templates: time 0.004235/0.01407, allocations: 1.123 MB / 353.6 MB, free: 2.727 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.81987869204022]