Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006205/0.006205, allocations: 100.8 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.744/1.744, allocations: 205.1 MB / 222.6 MB, free: 4.914 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.4438/0.4438, allocations: 43.49 MB / 313.5 MB, free: 8.387 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.001513/0.001513, allocations: 67.91 kB / 382 MB, free: 8.809 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1708, allocations: 57.78 MB / 439.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003855/0.1747, allocations: 1.622 MB / 441.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007576/0.1755, allocations: 315.6 kB / 441.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.1755, allocations: 0 / 441.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.1758, allocations: 15.92 kB / 441.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.176, allocations: 27.92 kB / 441.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.1762, allocations: 63.86 kB / 441.8 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.1764, allocations: 51.84 kB / 441.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.1765, allocations: 15.97 kB / 441.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.228e-05/0.1766, allocations: 27.86 kB / 441.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.328e-05/0.1766, allocations: 19.86 kB / 442 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.1767, allocations: 3.938 kB / 442 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.268e-05/0.1768, allocations: 31.98 kB / 442 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.1768, allocations: 7.984 kB / 442 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.1769, allocations: 19.81 kB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.177, allocations: 76.02 kB / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1771, allocations: 0 / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1771, allocations: 0 / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1771, allocations: 0 / 442.1 MB, free: 12.62 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005578/0.1776, allocations: 379.2 kB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1777, allocations: 12.03 kB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.1777, allocations: 8.781 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.178, allocations: 184.3 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.178, allocations: 4.375 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.1781, allocations: 4.375 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1782, allocations: 49.81 kB / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1782, allocations: 0 / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1782, allocations: 0 / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1783, allocations: 4 kB / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.912e-05/0.1783, allocations: 19.98 kB / 442.7 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.1787, allocations: 280.8 kB / 443 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.1789, allocations: 38.56 kB / 443.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.179, allocations: 24.94 kB / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.179, allocations: 4 kB / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.1791, allocations: 30.56 kB / 443.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.1791, allocations: 0 / 443.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005931/0.1797, allocations: 141.5 kB / 443.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.1797, allocations: 55.41 kB / 443.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1799, allocations: 145.9 kB / 443.5 MB, free: 11.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1799, allocations: 29.64 kB / 443.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.18, allocations: 96.12 kB / 443.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.18, allocations: 19.66 kB / 443.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.1801, allocations: 17.66 kB / 443.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1802, allocations: 326.8 kB / 443.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.1803, allocations: 15.98 kB / 443.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.85e-05/0.1804, allocations: 23.98 kB / 444 MB, free: 10.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1805, allocations: 44.83 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1805, allocations: 0 / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00017/0.1807, allocations: 73.67 kB / 444.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1807, allocations: 8 kB / 444.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1807, allocations: 0 / 444.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1808, allocations: 3.984 kB / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.1808, allocations: 19.92 kB / 444.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1808, allocations: 7.938 kB / 444.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.1809, allocations: 0 / 444.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.1809, allocations: 4 kB / 444.1 MB, free: 10.36 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 (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.0001083/0.181, allocations: 125.8 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.1811, allocations: 7.906 kB / 444.3 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.1813, allocations: 85.97 kB / 444.3 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1813, allocations: 0 / 444.3 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1813, allocations: 4 kB / 444.3 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1813, allocations: 320 / 444.3 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/0.1818, allocations: 350.4 kB / 444.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1818, allocations: 0 / 444.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/0.1818, allocations: 15.98 kB / 444.7 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1819, allocations: 0 / 444.7 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-06/0.1819, allocations: 4 kB / 444.7 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1819, allocations: 3.938 kB / 444.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1819, allocations: 0 / 444.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.1821, allocations: 175.5 kB / 444.9 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.1822, allocations: 85.02 kB / 445 MB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.1822, allocations: 0 / 445 MB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.1823, allocations: 11.94 kB / 445 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.1823, allocations: 3.984 kB / 445 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.1823, allocations: 7.938 kB / 445 MB, free: 9.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.126e-05/0.1824, allocations: 111.3 kB / 445.1 MB, free: 9.285 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1824, allocations: 0 / 445.1 MB, free: 9.285 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002293/0.1827, allocations: 11.98 kB / 445.1 MB, free: 9.273 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 (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.0009717/0.1837, allocations: 403.5 kB / 445.5 MB, free: 8.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1839, allocations: 55.89 kB / 445.6 MB, free: 8.852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1839, allocations: 0 / 445.6 MB, free: 8.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.232e-05/0.184, allocations: 23.98 kB / 445.6 MB, free: 8.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.1844, allocations: 8 kB / 445.6 MB, free: 8.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.1849, allocations: 191.1 kB / 445.8 MB, free: 8.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.1852, allocations: 0.6887 MB / 446.5 MB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.285e-05/0.1853, allocations: 4 kB / 446.5 MB, free: 7.887 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.1853, allocations: 15.44 kB / 446.5 MB, free: 7.871 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1853, allocations: 0 / 446.5 MB, free: 7.871 MB / 382.1 MB Notification: Performance of Templates: time 0.00379/0.1891, allocations: 1.03 MB / 447.5 MB, free: 6.84 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches