Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.001465/0.001465, allocations: 78.72 kB / 19.93 MB, free: 1.77 MB / 14.72 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.001488/0.001488, allocations: 172 kB / 23.21 MB, free: 4.887 MB / 14.72 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.473/1.473, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 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.2169/0.2169, allocations: 32.38 MB / 269.6 MB, free: 2.727 MB / 254.1 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.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 407.4 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.715e-05, allocations: 6.281 kB / 407.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.002828/0.002855, allocations: 1.593 MB / 409 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006731/0.003529, allocations: 323.4 kB / 409.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.003574, allocations: 0 / 409.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006152/0.004189, allocations: 459 kB / 409.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003948/0.004584, allocations: 255.3 kB / 410 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.004883, allocations: 107.7 kB / 410.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.005118, allocations: 159.7 kB / 410.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.356e-05/0.005211, allocations: 8.188 kB / 410.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.005385, allocations: 123.7 kB / 410.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000272/0.005657, allocations: 239.6 kB / 410.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.00568, allocations: 0 / 410.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.831e-05/0.005768, allocations: 35.92 kB / 410.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.005876, allocations: 83.7 kB / 410.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.861e-05/0.005934, allocations: 35.75 kB / 410.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.006245, allocations: 231.1 kB / 411 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.006248, allocations: 0 / 411 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006249, allocations: 0 / 411 MB, free: 13.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.006257, allocations: 3.984 kB / 411 MB, free: 13.17 MB / 350.1 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.0007716/0.007029, allocations: 0.5698 MB / 411.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.007065, allocations: 12.03 kB / 411.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.00713, allocations: 44.66 kB / 411.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.00742, allocations: 238.1 kB / 411.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.007428, allocations: 4.375 kB / 411.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.007451, allocations: 384 / 411.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.007591, allocations: 50.25 kB / 411.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.007603, allocations: 192 / 411.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.007614, allocations: 3.938 kB / 411.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/0.007622, allocations: 7.984 kB / 411.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.436e-05/0.007716, allocations: 27.92 kB / 411.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.0082, allocations: 320.4 kB / 412.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.00843, allocations: 46.5 kB / 412.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.008485, allocations: 16.89 kB / 412.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.008508, allocations: 3.984 kB / 412.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.008534, allocations: 30.56 kB / 412.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.008536, allocations: 0 / 412.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006439/0.009179, allocations: 240.7 kB / 412.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.00922, allocations: 51.41 kB / 412.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009126/0.01013, allocations: 0.8496 MB / 413.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.01015, allocations: 25.7 kB / 413.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.01034, allocations: 216 kB / 413.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.01036, allocations: 19.83 kB / 413.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.0104, allocations: 21.66 kB / 413.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.01059, allocations: 362.7 kB / 414.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.964e-05/0.01066, allocations: 15.98 kB / 414.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.439e-05/0.01072, allocations: 23.98 kB / 414.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.01087, allocations: 48.83 kB / 414.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.01087, allocations: 3.938 kB / 414.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002259/0.0111, allocations: 117.3 kB / 414.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.01111, allocations: 4 kB / 414.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.01112, allocations: 0 / 414.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.01114, allocations: 3.984 kB / 414.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.587e-05/0.0112, allocations: 16 kB / 414.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.01121, allocations: 0 / 414.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.302e-05/0.01126, allocations: 3.984 kB / 414.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.01127, allocations: 4 kB / 414.4 MB, free: 9.633 MB / 350.1 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 (5): * Single equations (assignments): 5 * 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 0.0002138/0.01148, allocations: 213.7 kB / 414.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.01154, allocations: 39.72 kB / 414.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.01187, allocations: 141 kB / 414.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01187, allocations: 0 / 414.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01187, allocations: 4 kB / 414.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01187, allocations: 0 / 414.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005468/0.01242, allocations: 398.4 kB / 415.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01242, allocations: 0 / 415.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/0.01248, allocations: 11.98 kB / 415.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01248, allocations: 0 / 415.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.01249, allocations: 0 / 415.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01249, allocations: 7.938 kB / 415.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01249, allocations: 0 / 415.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.01277, allocations: 219.2 kB / 415.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.01281, allocations: 31.72 kB / 415.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.01283, allocations: 0 / 415.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.197e-05/0.01291, allocations: 4 kB / 415.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.01296, allocations: 11.98 kB / 415.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.01297, allocations: 0 / 415.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006804/0.01365, allocations: 0.6394 MB / 416 MB, free: 7.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01365, allocations: 0 / 416 MB, free: 7.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.01391, allocations: 27.94 kB / 416.1 MB, free: 7.84 MB / 350.1 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 (5): * Single equations (assignments): 5 * 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.001631/0.01554, allocations: 432.2 kB / 416.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.01575, allocations: 47.91 kB / 416.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01576, allocations: 0 / 416.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.292e-05/0.01584, allocations: 19.98 kB / 416.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.01625, allocations: 33.88 kB / 416.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.01741, allocations: 0.7783 MB / 417.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.01766, allocations: 224.1 kB / 417.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.812e-05/0.0177, allocations: 11.73 kB / 417.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.01774, allocations: 16.48 kB / 417.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of SimCode: time 8.52e-07/0.01774, allocations: 0 / 417.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of Templates: time 0.005555/0.0233, allocations: 1.313 MB / 418.9 MB, free: 4.992 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.02277023717761]