Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31") translateModel(ModelicaTest.Tables.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 203 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.1 MB / 222.6 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4216/0.4216, allocations: 43.5 MB / 313.5 MB, free: 8.285 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 66.56 kB / 382 MB, free: 8.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.18, allocations: 57.78 MB / 439.8 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.003344/0.1834, allocations: 1.679 MB / 441.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.1848, allocations: 0.9181 MB / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.1848, allocations: 0 / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.1851, allocations: 19.91 kB / 442.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.1853, allocations: 39.84 kB / 442.5 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.1856, allocations: 103.9 kB / 442.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.1857, allocations: 59.78 kB / 442.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1859, allocations: 12.17 kB / 442.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.819e-05/0.1859, allocations: 15.94 kB / 442.7 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1861, allocations: 35.83 kB / 442.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1861, allocations: 4 kB / 442.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.1862, allocations: 43.92 kB / 442.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.938e-05/0.1863, allocations: 19.91 kB / 442.8 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.1864, allocations: 27.88 kB / 442.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1866, allocations: 91.97 kB / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1866, allocations: 0 / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1866, allocations: 0 / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1866, allocations: 0 / 442.9 MB, free: 11.56 MB / 382.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.0006796/0.1873, allocations: 391.2 kB / 443.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.1874, allocations: 12.03 kB / 443.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.1874, allocations: 8.844 kB / 443.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.1877, allocations: 188.2 kB / 443.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1877, allocations: 4.375 kB / 443.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.1877, allocations: 384 / 443.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.188, allocations: 79.33 kB / 443.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.188, allocations: 0 / 443.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.188, allocations: 0 / 443.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.188, allocations: 4 kB / 443.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.1882, allocations: 35.97 kB / 443.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.1886, allocations: 288.8 kB / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.1888, allocations: 46.56 kB / 443.9 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.825e-05/0.1889, allocations: 20.94 kB / 443.9 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.1889, allocations: 4 kB / 443.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.1889, allocations: 34.55 kB / 444 MB, free: 10.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1889, allocations: 0 / 444 MB, free: 10.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000847/0.1898, allocations: 205.2 kB / 444.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.1899, allocations: 77.11 kB / 444.2 MB, free: 10 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.19, allocations: 133.8 kB / 444.4 MB, free: 9.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1901, allocations: 25.7 kB / 444.4 MB, free: 9.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.1901, allocations: 96.06 kB / 444.5 MB, free: 9.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.1902, allocations: 31.5 kB / 444.5 MB, free: 9.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.1902, allocations: 21.72 kB / 444.5 MB, free: 9.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1903, allocations: 322.8 kB / 444.9 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.1905, allocations: 27.97 kB / 444.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.1906, allocations: 49.69 kB / 444.9 MB, free: 9.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.1908, allocations: 77.14 kB / 445 MB, free: 9.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1908, allocations: 0 / 445 MB, free: 9.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002482/0.191, allocations: 105.6 kB / 445.1 MB, free: 9.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1911, allocations: 8 kB / 445.1 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.1911, allocations: 0 / 445.1 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1911, allocations: 3.938 kB / 445.1 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.1912, allocations: 31.91 kB / 445.2 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1913, allocations: 0 / 445.2 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/0.1913, allocations: 7.938 kB / 445.2 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1913, allocations: 4 kB / 445.2 MB, free: 9.023 MB / 382.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 (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 9.128e-05/0.1914, allocations: 129.8 kB / 445.3 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.1915, allocations: 8.188 kB / 445.3 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.1918, allocations: 125.9 kB / 445.4 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1918, allocations: 3.984 kB / 445.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1918, allocations: 0 / 445.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.1918, allocations: 3.938 kB / 445.4 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005586/0.1924, allocations: 382.4 kB / 445.8 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1924, allocations: 0 / 445.8 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.698e-05/0.1925, allocations: 23.98 kB / 445.8 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1925, allocations: 0 / 445.8 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1925, allocations: 7.938 kB / 445.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1925, allocations: 0 / 445.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1925, allocations: 7.938 kB / 445.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.1928, allocations: 207.5 kB / 446 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.1929, allocations: 81.02 kB / 446.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.1929, allocations: 7.938 kB / 446.1 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.193, allocations: 7.984 kB / 446.1 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.193, allocations: 4 kB / 446.1 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.193, allocations: 4 kB / 446.2 MB, free: 7.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.186e-05/0.1931, allocations: 107.8 kB / 446.3 MB, free: 7.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1931, allocations: 0 / 446.3 MB, free: 7.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1934, allocations: 20 kB / 446.3 MB, free: 7.812 MB / 382.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 (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.001042/0.1945, allocations: 451 kB / 446.7 MB, free: 7.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002997/0.1948, allocations: 79.86 kB / 446.8 MB, free: 7.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1948, allocations: 4 kB / 446.8 MB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.1949, allocations: 43.95 kB / 446.8 MB, free: 7.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.1953, allocations: 23.92 kB / 446.9 MB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004306/0.1957, allocations: 212 kB / 447.1 MB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1961, allocations: 0.6965 MB / 447.8 MB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.503e-05/0.1961, allocations: 8 kB / 447.8 MB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.1962, allocations: 15.42 kB / 447.8 MB, free: 6.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1962, allocations: 4 kB / 447.8 MB, free: 6.266 MB / 382.1 MB Notification: Performance of Templates: time 0.004662/0.2009, allocations: 1.413 MB / 449.2 MB, free: 4.852 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches