Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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.0007718/0.0007718, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.0008841/0.0008841, allocations: 169 kB / 24.14 MB, free: 356 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 0.8568/0.8568, allocations: 158.6 MB / 186 MB, free: 2.727 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.1304/0.1304, allocations: 32.38 MB / 270.7 MB, free: 14.59 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.387e-05, allocations: 2.312 kB / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003462/0.003486, allocations: 1.95 MB / 301 MB, free: 228 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1433/0.1468, allocations: 1.05 MB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.1469, allocations: 8.156 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.1471, allocations: 56.77 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.1474, allocations: 158.5 kB / 302.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000793/0.1482, allocations: 0.5261 MB / 302.8 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.1486, allocations: 284.6 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.1487, allocations: 50.66 kB / 303.1 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.149, allocations: 157.1 kB / 303.3 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.1492, allocations: 154.1 kB / 303.5 MB, free: 19.03 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.1492, allocations: 12.59 kB / 303.5 MB, free: 19.03 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.612e-05/0.1493, allocations: 38.47 kB / 303.5 MB, free: 19.03 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.1495, allocations: 151.9 kB / 303.7 MB, free: 19 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.46e-05/0.1496, allocations: 82.27 kB / 303.7 MB, free: 18.96 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.1499, allocations: 287.6 kB / 304 MB, free: 18.87 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1499, allocations: 0 / 304 MB, free: 18.87 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1499, allocations: 1.719 kB / 304 MB, free: 18.87 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1499, allocations: 3.938 kB / 304 MB, free: 18.86 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005569/0.1505, allocations: 0.6292 MB / 304.6 MB, free: 18.36 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.1505, allocations: 10.44 kB / 304.7 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.027e-05/0.1506, allocations: 34.23 kB / 304.7 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.1508, allocations: 310.1 kB / 305 MB, free: 18.12 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1508, allocations: 9 kB / 305 MB, free: 18.12 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.1508, allocations: 14.17 kB / 305 MB, free: 18.11 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.151, allocations: 114 kB / 305.1 MB, free: 18.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.151, allocations: 0.7031 kB / 305.1 MB, free: 18.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.151, allocations: 9.281 kB / 305.1 MB, free: 18.03 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.151, allocations: 10.84 kB / 305.1 MB, free: 18.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.681e-05/0.1511, allocations: 22.72 kB / 305.2 MB, free: 18.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.1514, allocations: 373.4 kB / 305.5 MB, free: 17.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.576e-05/0.1515, allocations: 73.55 kB / 305.6 MB, free: 17.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.639e-05/0.1515, allocations: 25.59 kB / 305.6 MB, free: 17.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.1516, allocations: 3.016 kB / 305.6 MB, free: 17.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.1516, allocations: 33.28 kB / 305.7 MB, free: 17.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.21e-07/0.1516, allocations: 1.094 kB / 305.7 MB, free: 17.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004722/0.152, allocations: 213.2 kB / 305.9 MB, free: 17.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.1521, allocations: 84.34 kB / 306 MB, free: 17.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.1524, allocations: 0.5196 MB / 306.5 MB, free: 17.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1525, allocations: 29.7 kB / 306.5 MB, free: 17.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.1525, allocations: 164.2 kB / 306.7 MB, free: 17.06 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.1526, allocations: 53.67 kB / 306.7 MB, free: 17.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.1526, allocations: 30.31 kB / 306.7 MB, free: 16.99 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.121e-05/0.1527, allocations: 366.8 kB / 307.1 MB, free: 16.65 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.851e-05/0.1527, allocations: 16.97 kB / 307.1 MB, free: 16.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.1527, allocations: 28.59 kB / 307.2 MB, free: 16.63 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.661e-05/0.1528, allocations: 59.31 kB / 307.2 MB, free: 16.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1528, allocations: 0.7969 kB / 307.2 MB, free: 16.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001507/0.153, allocations: 113.2 kB / 307.3 MB, free: 16.56 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.153, allocations: 6.375 kB / 307.3 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.153, allocations: 0 / 307.3 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.153, allocations: 6.156 kB / 307.3 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1531, allocations: 33.95 kB / 307.4 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.1531, allocations: 1.312 kB / 307.4 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.355e-05/0.1531, allocations: 22.67 kB / 307.4 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.1532, allocations: 3.672 kB / 307.4 MB, free: 16.54 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.465e-05/0.1532, allocations: 115.9 kB / 307.5 MB, free: 16.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.288e-05/0.1533, allocations: 38.92 kB / 307.5 MB, free: 16.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.1535, allocations: 143.9 kB / 307.7 MB, free: 16.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.1535, allocations: 6.531 kB / 307.7 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1535, allocations: 1.922 kB / 307.7 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.1535, allocations: 0.5625 kB / 307.7 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.154, allocations: 469.1 kB / 308.2 MB, free: 16.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.154, allocations: 1.312 kB / 308.2 MB, free: 16.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.351e-05/0.1541, allocations: 33.38 kB / 308.2 MB, free: 16.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1541, allocations: 1.312 kB / 308.2 MB, free: 16.01 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1541, allocations: 7.016 kB / 308.2 MB, free: 16.01 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1541, allocations: 1.375 kB / 308.2 MB, free: 16.01 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1541, allocations: 0 / 308.2 MB, free: 16.01 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.1542, allocations: 274.4 kB / 308.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.1543, allocations: 51.89 kB / 308.5 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.1543, allocations: 4.812 kB / 308.5 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.1544, allocations: 11.86 kB / 308.5 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.1544, allocations: 14.08 kB / 308.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.1544, allocations: 3.703 kB / 308.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002076/0.1546, allocations: 266.3 kB / 308.8 MB, free: 15.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1546, allocations: 3.938 kB / 308.8 MB, free: 15.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002024/0.1548, allocations: 53.31 kB / 308.9 MB, free: 15.67 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0009916/0.1558, allocations: 0.5062 MB / 309.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.1559, allocations: 61.11 kB / 309.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.1559, allocations: 5.625 kB / 309.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.706e-05/0.156, allocations: 41.81 kB / 309.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.1563, allocations: 86.34 kB / 309.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008499/0.1571, allocations: 0.7434 MB / 310.3 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.855e-05/0.1572, allocations: 140.1 kB / 310.4 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.1573, allocations: 56.09 kB / 310.5 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.1575, allocations: 98.86 kB / 310.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1575, allocations: 0 / 310.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of Templates: time 0.006393/0.1639, allocations: 4.314 MB / 314.9 MB, free: 13.23 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.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: 2.914800453931093]