Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000873/0.0008731, allocations: 102.6 kB / 16.02 MB, free: 76 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.001832/0.001833, allocations: 184.7 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.4 MB / 223.1 MB, free: 5.516 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.5484/0.5484, allocations: 43.57 MB / 315 MB, free: 8.781 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.0005205/0.0005205, allocations: 16 kB / 384.6 MB, free: 7.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1776, allocations: 58.87 MB / 443.5 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002398/0.18, allocations: 1.271 MB / 444.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00071/0.1808, allocations: 307.6 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.1808, allocations: 0 / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.1812, allocations: 75.83 kB / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.1814, allocations: 47.81 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.1816, allocations: 71.91 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.1818, allocations: 63.83 kB / 445.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1819, allocations: 15.98 kB / 445.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.398e-05/0.182, allocations: 27.84 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.1821, allocations: 47.89 kB / 445.4 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1822, allocations: 0 / 445.4 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.412e-05/0.1822, allocations: 39.91 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.396e-05/0.1823, allocations: 11.94 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.87e-05/0.1824, allocations: 57.44 kB / 445.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.1826, allocations: 83.94 kB / 445.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1826, allocations: 4 kB / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1826, allocations: 0 / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1826, allocations: 0 / 445.6 MB, free: 10.52 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.0006175/0.1833, allocations: 391.1 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1833, allocations: 8.031 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.1834, allocations: 8.844 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.1836, allocations: 196.1 kB / 446.1 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1836, allocations: 384 / 446.1 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.1836, allocations: 384 / 446.1 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1838, allocations: 61.75 kB / 446.2 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1838, allocations: 0 / 446.2 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1839, allocations: 4 kB / 446.2 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1839, allocations: 0 / 446.2 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.921e-05/0.184, allocations: 23.98 kB / 446.2 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.1844, allocations: 280.9 kB / 446.5 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.1846, allocations: 58.47 kB / 446.6 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.1847, allocations: 12.86 kB / 446.6 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.1847, allocations: 0 / 446.6 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.1848, allocations: 34.56 kB / 446.6 MB, free: 9.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1848, allocations: 4 kB / 446.6 MB, free: 9.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006064/0.1854, allocations: 165.2 kB / 446.8 MB, free: 9.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.1855, allocations: 55.41 kB / 446.8 MB, free: 9.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.1857, allocations: 202.2 kB / 447 MB, free: 8.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1857, allocations: 25.7 kB / 447.1 MB, free: 8.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.1858, allocations: 104.1 kB / 447.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.1858, allocations: 23.69 kB / 447.2 MB, free: 8.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.1858, allocations: 17.66 kB / 447.2 MB, free: 8.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.186, allocations: 326.8 kB / 447.5 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.885e-05/0.1861, allocations: 19.98 kB / 447.5 MB, free: 8.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.15e-05/0.1861, allocations: 23.98 kB / 447.6 MB, free: 8.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.1863, allocations: 60.78 kB / 447.6 MB, free: 8.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1863, allocations: 0 / 447.6 MB, free: 8.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001998/0.1865, allocations: 85.75 kB / 447.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1865, allocations: 8 kB / 447.7 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1865, allocations: 4.062 kB / 447.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1865, allocations: 0 / 447.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/0.1866, allocations: 16 kB / 447.7 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1866, allocations: 3.984 kB / 447.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.1867, allocations: 4 kB / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1867, allocations: 4 kB / 447.7 MB, free: 8.113 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.0001022/0.1868, allocations: 133.8 kB / 447.9 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.1868, allocations: 11.84 kB / 447.9 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.1871, allocations: 101.9 kB / 448 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1871, allocations: 0 / 448 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.1871, allocations: 4 kB / 448 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1871, allocations: 0 / 448 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.1876, allocations: 362.4 kB / 448.3 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1876, allocations: 0 / 448.3 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.918e-05/0.1876, allocations: 12 kB / 448.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1876, allocations: 0 / 448.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1877, allocations: 7.984 kB / 448.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1877, allocations: 3.938 kB / 448.4 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1877, allocations: 0 / 448.4 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.1879, allocations: 187.3 kB / 448.5 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.188, allocations: 93 kB / 448.6 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.188, allocations: 192 / 448.6 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.1881, allocations: 11.94 kB / 448.7 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.1881, allocations: 15.92 kB / 448.7 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.1881, allocations: 0 / 448.7 MB, free: 7.082 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.1883, allocations: 164 kB / 448.8 MB, free: 6.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1883, allocations: 3.938 kB / 448.8 MB, free: 6.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.1885, allocations: 16 kB / 448.8 MB, free: 6.902 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.001009/0.1895, allocations: 401.2 kB / 449.2 MB, free: 6.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.1898, allocations: 51.97 kB / 449.3 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1898, allocations: 0 / 449.3 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.673e-05/0.1899, allocations: 31.92 kB / 449.3 MB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.1902, allocations: 15.98 kB / 449.3 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004883/0.1907, allocations: 237.5 kB / 449.6 MB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.191, allocations: 0.7043 MB / 450.3 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.612e-05/0.1911, allocations: 15.98 kB / 450.3 MB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.1911, allocations: 11.44 kB / 450.3 MB, free: 5.422 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1911, allocations: 0 / 450.3 MB, free: 5.422 MB / 382.1 MB Notification: Performance of Templates: time 0.004002/0.1951, allocations: 1.038 MB / 451.3 MB, free: 4.383 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches