Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.002164/0.002164, allocations: 84.3 kB / 20.68 MB, free: 1.039 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.002352/0.002352, allocations: 168.5 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2304/0.2304, allocations: 34.28 MB / 295 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 442.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.876e-05, allocations: 2.281 kB / 442.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003261/0.00329, allocations: 1.681 MB / 444.4 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.004545, allocations: 0.5569 MB / 444.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.06e-05/0.004616, allocations: 7.938 kB / 444.9 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.004919, allocations: 71.77 kB / 445 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.005256, allocations: 107.5 kB / 445.1 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.0057, allocations: 178.9 kB / 445.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.0059, allocations: 103.7 kB / 445.4 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.006001, allocations: 12.22 kB / 445.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.68e-05/0.006098, allocations: 51.88 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.006219, allocations: 55.86 kB / 445.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.00624, allocations: 4 kB / 445.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.00636, allocations: 51.92 kB / 445.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.176e-05/0.006432, allocations: 27.91 kB / 445.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.006476, allocations: 19.88 kB / 445.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.006694, allocations: 123.5 kB / 445.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006698, allocations: 0 / 445.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.006699, allocations: 7.938 kB / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.006703, allocations: 0 / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005681/0.007271, allocations: 345.6 kB / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.007311, allocations: 8.031 kB / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.007363, allocations: 20.78 kB / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.007594, allocations: 149.5 kB / 446.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.007611, allocations: 12.36 kB / 446.3 MB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.007634, allocations: 384 / 446.3 MB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.007839, allocations: 74.16 kB / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.007851, allocations: 192 / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.007867, allocations: 8.125 kB / 446.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.007871, allocations: 0 / 446.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.008032, allocations: 39.97 kB / 446.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.008524, allocations: 264.4 kB / 446.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.008798, allocations: 62.48 kB / 446.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.635e-05/0.008884, allocations: 24.97 kB / 446.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.008909, allocations: 0 / 446.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.00894, allocations: 38.56 kB / 446.8 MB, free: 1.176 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.008941, allocations: 0 / 446.8 MB, free: 1.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001627/0.01057, allocations: 429.5 kB / 447.2 MB, free: 0.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.01062, allocations: 59.41 kB / 447.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.01085, allocations: 210.3 kB / 447.5 MB, free: 476 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.01087, allocations: 25.7 kB / 447.5 MB, free: 444 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.919e-05/0.01096, allocations: 108 kB / 447.6 MB, free: 332 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.011, allocations: 39.69 kB / 447.6 MB, free: 292 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.01106, allocations: 33.64 kB / 447.7 MB, free: 252 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1728/0.1838, allocations: 326.6 kB / 448 MB, free: 19.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.184, allocations: 50.89 kB / 448 MB, free: 19.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.1842, allocations: 52.2 kB / 448.1 MB, free: 19.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.1845, allocations: 129 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1845, allocations: 3.812 kB / 448.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003858/0.1849, allocations: 166.5 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1849, allocations: 6.438 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1849, allocations: 3.281 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1849, allocations: 1.188 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.1851, allocations: 30.11 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1851, allocations: 3.656 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.1851, allocations: 9.75 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1851, allocations: 6.078 kB / 448.4 MB, free: 18.99 MB / 366.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 (11): * Single equations (assignments): 11 * 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 9.272e-05/0.1852, allocations: 136.9 kB / 448.6 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.1853, allocations: 13.28 kB / 448.6 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000447/0.1857, allocations: 189.4 kB / 448.8 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1857, allocations: 6.281 kB / 448.8 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1857, allocations: 4.641 kB / 448.8 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1857, allocations: 0.6094 kB / 448.8 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006652/0.1864, allocations: 441.2 kB / 449.2 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1864, allocations: 1.125 kB / 449.2 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.1865, allocations: 29.14 kB / 449.2 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1865, allocations: 10.62 kB / 449.2 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1865, allocations: 5.219 kB / 449.2 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1865, allocations: 3 kB / 449.2 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1865, allocations: 0 / 449.2 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.1869, allocations: 270.3 kB / 449.5 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.1869, allocations: 16.95 kB / 449.5 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.187, allocations: 1.031 kB / 449.5 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1871, allocations: 12.59 kB / 449.5 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.1871, allocations: 15.47 kB / 449.6 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.1871, allocations: 4.125 kB / 449.6 MB, free: 18.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.1873, allocations: 163.9 kB / 449.7 MB, free: 18.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1873, allocations: 0 / 449.7 MB, free: 18.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000288/0.1876, allocations: 30.55 kB / 449.8 MB, free: 18.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.001885/0.1895, allocations: 0.4897 MB / 450.2 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004078/0.1899, allocations: 122 kB / 450.4 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1899, allocations: 64 / 450.4 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.19, allocations: 72.55 kB / 450.4 MB, free: 18.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1904, allocations: 20.08 kB / 450.4 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007188/0.1911, allocations: 328.4 kB / 450.8 MB, free: 17.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.1912, allocations: 112.5 kB / 450.9 MB, free: 17.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.482e-05/0.1913, allocations: 34.84 kB / 450.9 MB, free: 17.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.1914, allocations: 21.08 kB / 450.9 MB, free: 17.75 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1914, allocations: 0 / 450.9 MB, free: 17.75 MB / 366.1 MB Notification: Performance of Templates: time 0.005563/0.1969, allocations: 1.633 MB / 452.6 MB, free: 17.55 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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: 4.930879831314087]