Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 99.95 kB / 15.98 MB, free: 6.336 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.001141/0.001141, allocations: 192.2 kB / 16.9 MB, free: 6.184 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.616/1.617, allocations: 205.1 MB / 222.8 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2501/0.2501, allocations: 43.51 MB / 313.6 MB, free: 0.6992 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.001465/0.001465, allocations: 75.7 kB / 382.2 MB, free: 56.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1798, allocations: 57.79 MB / 440 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.003038/0.1829, allocations: 1.607 MB / 441.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005849/0.1836, allocations: 324.2 kB / 441.9 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.345e-05/0.1836, allocations: 0 / 441.9 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.1839, allocations: 15.88 kB / 442 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.1841, allocations: 31.91 kB / 442 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.1844, allocations: 87.27 kB / 442.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.1845, allocations: 59.84 kB / 442.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1846, allocations: 19.92 kB / 442.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.294e-05/0.1847, allocations: 23.86 kB / 442.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.1847, allocations: 15.88 kB / 442.2 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1848, allocations: 4 kB / 442.2 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.406e-05/0.1848, allocations: 35.97 kB / 442.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.1849, allocations: 15.92 kB / 442.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.277e-05/0.1849, allocations: 15.88 kB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.1851, allocations: 75.73 kB / 442.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1851, allocations: 0 / 442.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1851, allocations: 0 / 442.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.1851, allocations: 0 / 442.3 MB, free: 5.023 MB / 318.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.0004191/0.1855, allocations: 375.2 kB / 442.7 MB, free: 4.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1856, allocations: 15.89 kB / 442.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.1856, allocations: 8.781 kB / 442.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.1858, allocations: 184.3 kB / 442.9 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1858, allocations: 4.375 kB / 442.9 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.1858, allocations: 8.375 kB / 442.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.186, allocations: 53.8 kB / 443 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.186, allocations: 0 / 443 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.186, allocations: 3.938 kB / 443 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.186, allocations: 0 / 443 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.527e-05/0.1861, allocations: 23.98 kB / 443 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.1865, allocations: 276.8 kB / 443.3 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.1867, allocations: 54.55 kB / 443.3 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.425e-05/0.1867, allocations: 12.8 kB / 443.3 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.1868, allocations: 4 kB / 443.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.1868, allocations: 30.66 kB / 443.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1868, allocations: 0 / 443.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005281/0.1873, allocations: 153.5 kB / 443.5 MB, free: 3.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.1874, allocations: 51.41 kB / 443.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.858e-05/0.1875, allocations: 138.1 kB / 443.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.1875, allocations: 25.7 kB / 443.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/0.1875, allocations: 96.12 kB / 443.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.1875, allocations: 19.66 kB / 443.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.1876, allocations: 25.7 kB / 443.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.243e-05/0.1876, allocations: 318.8 kB / 444.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.259e-05/0.1877, allocations: 19.98 kB / 444.2 MB, free: 2.941 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.432e-05/0.1878, allocations: 23.97 kB / 444.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.1879, allocations: 53.02 kB / 444.3 MB, free: 2.863 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1879, allocations: 0 / 444.3 MB, free: 2.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001534/0.188, allocations: 89.7 kB / 444.4 MB, free: 2.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1881, allocations: 4 kB / 444.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1881, allocations: 3.984 kB / 444.4 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1881, allocations: 7.938 kB / 444.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/0.1882, allocations: 11.98 kB / 444.4 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1882, allocations: 0 / 444.4 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.623e-05/0.1882, allocations: 11.89 kB / 444.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1882, allocations: 3.938 kB / 444.4 MB, free: 2.727 MB / 318.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 5.844e-05/0.1883, allocations: 129.7 kB / 444.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.1883, allocations: 4 kB / 444.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.1885, allocations: 101.9 kB / 444.6 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1885, allocations: 0 / 444.6 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1886, allocations: 0 / 444.6 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.1886, allocations: 0 / 444.6 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.1889, allocations: 358.4 kB / 445 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1889, allocations: 0 / 445 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.1889, allocations: 19.92 kB / 445 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1889, allocations: 0 / 445 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.189, allocations: 0 / 445 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.189, allocations: 3.938 kB / 445 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.189, allocations: 0 / 445 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.1891, allocations: 191.6 kB / 445.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.1892, allocations: 77.11 kB / 445.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.1892, allocations: 0 / 445.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.095e-05/0.1893, allocations: 11.92 kB / 445.3 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.1893, allocations: 4 kB / 445.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.1893, allocations: 4 kB / 445.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.182e-05/0.1894, allocations: 114.5 kB / 445.4 MB, free: 1.629 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1894, allocations: 0 / 445.4 MB, free: 1.629 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.1896, allocations: 16 kB / 445.4 MB, free: 1.613 MB / 318.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.0008935/0.1905, allocations: 401.1 kB / 445.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.1907, allocations: 55.97 kB / 445.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1907, allocations: 0 / 445.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.597e-05/0.1908, allocations: 31.97 kB / 445.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.1912, allocations: 19.86 kB / 445.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.1915, allocations: 193.5 kB / 446.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.1917, allocations: 0.6885 MB / 446.8 MB, free: 256 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.872e-05/0.1917, allocations: 15.98 kB / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.1918, allocations: 11.44 kB / 446.8 MB, free: 228 kB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1918, allocations: 0 / 446.8 MB, free: 228 kB / 318.1 MB Notification: Performance of Templates: time 0.003634/0.1954, allocations: 1.061 MB / 447.9 MB, free: 15.16 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches