Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001303/0.001303, allocations: 81.08 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.001189/0.001189, allocations: 177.4 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 1.063/1.063, allocations: 158.6 MB / 185.9 MB, free: 2.797 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.1532/0.1532, allocations: 32.38 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.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.325e-05, allocations: 2.312 kB / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002321/0.002344, allocations: 1.64 MB / 349.8 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006674/0.003012, allocations: 339.2 kB / 350.1 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.445e-05/0.003106, allocations: 4 kB / 350.1 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.003432, allocations: 51.75 kB / 350.2 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.003643, allocations: 51.75 kB / 350.2 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.003989, allocations: 151.6 kB / 350.4 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.004138, allocations: 67.83 kB / 350.4 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.004248, allocations: 19.97 kB / 350.4 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.223e-05/0.00432, allocations: 31.91 kB / 350.5 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.732e-05/0.004407, allocations: 43.89 kB / 350.5 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.004425, allocations: 0 / 350.5 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.985e-05/0.004525, allocations: 39.86 kB / 350.6 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.346e-05/0.004598, allocations: 23.92 kB / 350.6 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.004634, allocations: 11.92 kB / 350.6 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.004784, allocations: 75.73 kB / 350.7 MB, free: 6.613 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.004787, allocations: 0 / 350.7 MB, free: 6.613 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004788, allocations: 0 / 350.7 MB, free: 6.613 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.004792, allocations: 4 kB / 350.7 MB, free: 6.609 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003537/0.005146, allocations: 424.1 kB / 351.1 MB, free: 6.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.005185, allocations: 12.03 kB / 351.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.005219, allocations: 16.89 kB / 351.1 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.005341, allocations: 136.3 kB / 351.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.005357, allocations: 8.375 kB / 351.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.005381, allocations: 384 / 351.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.00549, allocations: 62.94 kB / 351.3 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.0055, allocations: 192 / 351.3 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.005507, allocations: 4.125 kB / 351.3 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.005513, allocations: 0 / 351.3 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.825e-05/0.005541, allocations: 15.97 kB / 351.3 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.005809, allocations: 272.4 kB / 351.6 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.559e-05/0.005875, allocations: 35.14 kB / 351.6 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.005893, allocations: 15.67 kB / 351.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.005917, allocations: 0 / 351.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.005938, allocations: 41.33 kB / 351.7 MB, free: 5.465 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.005939, allocations: 0 / 351.7 MB, free: 5.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003206/0.00626, allocations: 117.4 kB / 351.8 MB, free: 5.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.00628, allocations: 51.41 kB / 351.9 MB, free: 5.281 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.006362, allocations: 213.7 kB / 352.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.006369, allocations: 29.7 kB / 352.1 MB, free: 5.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.006404, allocations: 142.9 kB / 352.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.006427, allocations: 27.77 kB / 352.3 MB, free: 4.848 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.006455, allocations: 27.38 kB / 352.3 MB, free: 4.812 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.015e-05/0.006515, allocations: 0.4961 MB / 352.8 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.295e-05/0.006528, allocations: 4 kB / 352.8 MB, free: 4.301 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.497e-05/0.006543, allocations: 16.03 kB / 352.8 MB, free: 4.285 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.978e-05/0.006573, allocations: 27.69 kB / 352.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.006574, allocations: 0 / 352.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.718e-05/0.006641, allocations: 65.59 kB / 352.9 MB, free: 4.184 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.006652, allocations: 8 kB / 352.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.006657, allocations: 3.938 kB / 352.9 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.006671, allocations: 0 / 352.9 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.006735, allocations: 19.98 kB / 352.9 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.006738, allocations: 0 / 352.9 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/0.006758, allocations: 8 kB / 352.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.006764, allocations: 0 / 352.9 MB, free: 4.145 MB / 282.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 (7): * Single equations (assignments): 7 * 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.721e-05/0.006851, allocations: 160.5 kB / 353.1 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.006871, allocations: 15.95 kB / 353.1 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.006986, allocations: 82.31 kB / 353.2 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.006988, allocations: 4 kB / 353.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.006991, allocations: 0 / 353.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.006995, allocations: 0 / 353.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.007196, allocations: 310 kB / 353.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.007198, allocations: 0 / 353.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.65e-05/0.007234, allocations: 15.98 kB / 353.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.007237, allocations: 0 / 353.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.007243, allocations: 0 / 353.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.007247, allocations: 7.938 kB / 353.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007247, allocations: 0 / 353.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.228e-05/0.00734, allocations: 215.8 kB / 353.7 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.007351, allocations: 11.95 kB / 353.7 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.007362, allocations: 0 / 353.7 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.274e-05/0.007394, allocations: 7.984 kB / 353.7 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.007432, allocations: 7.984 kB / 353.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.007436, allocations: 4 kB / 353.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.234e-05/0.007478, allocations: 151.1 kB / 353.9 MB, free: 3.105 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007478, allocations: 0 / 353.9 MB, free: 3.105 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001677/0.007646, allocations: 27.94 kB / 353.9 MB, free: 3.078 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 (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.000846/0.008492, allocations: 377.8 kB / 354.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.084e-05/0.008583, allocations: 43.59 kB / 354.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.008584, allocations: 0 / 354.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.188e-05/0.008606, allocations: 19.69 kB / 354.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.008809, allocations: 25.23 kB / 354.4 MB, free: 2.703 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.00909, allocations: 206.1 kB / 354.6 MB, free: 2.473 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.014e-05/0.00912, allocations: 75.28 kB / 354.7 MB, free: 2.379 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.143e-05/0.009152, allocations: 7.984 kB / 354.7 MB, free: 2.371 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.009199, allocations: 78.2 kB / 354.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009199, allocations: 4 kB / 354.8 MB, free: 2.289 MB / 282.7 MB Notification: Performance of Templates: time 0.002853/0.01205, allocations: 1.449 MB / 356.2 MB, free: 0.8477 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.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.240510070696473]