Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001023/0.001023, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001007/0.001007, allocations: 165 kB / 23.79 MB, free: 0.7773 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.028/1.028, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1421/0.1421, allocations: 32.36 MB / 270.4 MB, free: 14.71 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.432e-05, allocations: 2.312 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.00306/0.003095, allocations: 1.975 MB / 349.6 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.004128, allocations: 0.7552 MB / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.004248, allocations: 7.938 kB / 350.4 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.00475, allocations: 259.1 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.005118, allocations: 199.1 kB / 350.9 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000876/0.005994, allocations: 0.5885 MB / 351.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000384/0.006378, allocations: 315.1 kB / 351.8 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.006552, allocations: 36.92 kB / 351.8 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.006706, allocations: 175.5 kB / 352 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.006898, allocations: 195.6 kB / 352.1 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.006928, allocations: 12 kB / 352.2 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.00708, allocations: 59.92 kB / 352.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.007184, allocations: 107.6 kB / 352.3 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.007238, allocations: 55.72 kB / 352.4 MB, free: 4.715 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.007528, allocations: 242.9 kB / 352.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.007533, allocations: 0 / 352.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.007534, allocations: 0 / 352.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.007541, allocations: 0 / 352.6 MB, free: 4.477 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005494/0.008091, allocations: 0.6661 MB / 353.3 MB, free: 3.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.008138, allocations: 8.031 kB / 353.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.425e-05/0.008222, allocations: 48.7 kB / 353.3 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.008461, allocations: 262.8 kB / 353.6 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.008479, allocations: 12.38 kB / 353.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.008514, allocations: 20.34 kB / 353.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.008712, allocations: 94.91 kB / 353.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.008729, allocations: 4.188 kB / 353.7 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.008745, allocations: 8.125 kB / 353.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.008756, allocations: 0 / 353.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.072e-05/0.008826, allocations: 35.97 kB / 353.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.009363, allocations: 479.2 kB / 354.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.009481, allocations: 75.03 kB / 354.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/0.009516, allocations: 27.67 kB / 354.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.009544, allocations: 8 kB / 354.3 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.009565, allocations: 33.39 kB / 354.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.009567, allocations: 4 kB / 354.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006262/0.01019, allocations: 320.6 kB / 354.7 MB, free: 2.258 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.01023, allocations: 55.41 kB / 354.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.01049, allocations: 450.7 kB / 355.2 MB, free: 1.734 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.0105, allocations: 29.7 kB / 355.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.185e-05/0.01059, allocations: 251.2 kB / 355.5 MB, free: 1.449 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.01063, allocations: 63.47 kB / 355.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.01067, allocations: 39.36 kB / 355.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.446e-05/0.01076, allocations: 0.5313 MB / 356.1 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.309e-05/0.0108, allocations: 27.98 kB / 356.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-05/0.01084, allocations: 30.58 kB / 356.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.357e-05/0.01094, allocations: 79.58 kB / 356.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01094, allocations: 0 / 356.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001587/0.0111, allocations: 156 kB / 356.4 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.01112, allocations: 11.94 kB / 356.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01112, allocations: 0 / 356.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.01114, allocations: 4 kB / 356.4 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.01127, allocations: 31.92 kB / 356.4 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.01127, allocations: 7.938 kB / 356.4 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.366e-05/0.01131, allocations: 11.98 kB / 356.4 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.01132, allocations: 8 kB / 356.5 MB, free: 440 kB / 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 (17): * Single equations (assignments): 17 * 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 7.057e-05/0.01139, allocations: 156.6 kB / 356.6 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.01142, allocations: 43.77 kB / 356.6 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.01165, allocations: 193.2 kB / 356.8 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.01166, allocations: 0 / 356.8 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01166, allocations: 4 kB / 356.8 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01167, allocations: 0 / 356.8 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.01226, allocations: 0.5518 MB / 357.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01226, allocations: 4 kB / 357.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-05/0.01234, allocations: 27.98 kB / 357.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.01235, allocations: 0 / 357.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.01236, allocations: 8 kB / 357.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.01236, allocations: 0 / 357.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.01237, allocations: 0 / 357.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.01262, allocations: 320.9 kB / 357.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.01265, allocations: 27.77 kB / 357.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.01267, allocations: 12 kB / 357.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.665e-05/0.01272, allocations: 0 / 357.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.01277, allocations: 23.97 kB / 357.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.01278, allocations: 4 kB / 357.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002218/0.013, allocations: 303.1 kB / 358.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.013, allocations: 0 / 358.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002193/0.01322, allocations: 47.94 kB / 358.2 MB, free: 14.64 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 (17): * Single equations (assignments): 17 * 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.001571/0.01479, allocations: 0.6637 MB / 358.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002769/0.01507, allocations: 87.64 kB / 358.9 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.01507, allocations: 4 kB / 358.9 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.38e-05/0.01515, allocations: 59.59 kB / 359 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.01552, allocations: 84.31 kB / 359 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008334/0.01635, allocations: 0.5783 MB / 359.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.01664, allocations: 116.3 kB / 359.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.01675, allocations: 45.91 kB / 359.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.01681, allocations: 36.48 kB / 359.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of SimCode: time 1.824e-06/0.01681, allocations: 0 / 359.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of Templates: time 0.006457/0.02327, allocations: 3.633 MB / 363.5 MB, free: 9.418 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.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.4315137178637087]