Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007998/0.0007997, allocations: 96.94 kB / 16.02 MB, free: 84 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.0008932/0.0008933, allocations: 178.6 kB / 16.91 MB, free: 6.664 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.883/1.883, allocations: 205.4 MB / 223.1 MB, free: 5.52 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.5591/0.5591, allocations: 43.57 MB / 314.9 MB, free: 9.039 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.0006085/0.0006084, allocations: 18.97 kB / 384.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1786, allocations: 58.87 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002258/0.1809, allocations: 1.271 MB / 444.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007468/0.1816, allocations: 307.6 kB / 445 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.1817, allocations: 0 / 445 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.182, allocations: 23.91 kB / 445 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.1822, allocations: 31.92 kB / 445.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.1825, allocations: 67.84 kB / 445.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.1827, allocations: 47.91 kB / 445.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.1829, allocations: 11.98 kB / 445.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/0.1829, allocations: 27.8 kB / 445.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.989e-05/0.183, allocations: 15.92 kB / 445.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.183, allocations: 0 / 445.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-05/0.1831, allocations: 27.98 kB / 445.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.1832, allocations: 15.92 kB / 445.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.861e-05/0.1833, allocations: 49.52 kB / 445.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.1835, allocations: 76 kB / 445.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1835, allocations: 0 / 445.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1835, allocations: 4 kB / 445.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1835, allocations: 0 / 445.4 MB, free: 10.94 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.0006433/0.1842, allocations: 371.2 kB / 445.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.1842, allocations: 8.031 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.1843, allocations: 12.84 kB / 445.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.1845, allocations: 180.3 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1845, allocations: 12.38 kB / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.1845, allocations: 384 / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.1847, allocations: 53.81 kB / 446 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1847, allocations: 0 / 446 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1847, allocations: 0 / 446 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.1848, allocations: 4 kB / 446 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.1849, allocations: 27.97 kB / 446.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.1853, allocations: 272.9 kB / 446.3 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.1855, allocations: 50.48 kB / 446.4 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.1856, allocations: 20.94 kB / 446.4 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.1856, allocations: 4 kB / 446.4 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.1857, allocations: 30.56 kB / 446.4 MB, free: 9.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 3.357e-06/0.1857, allocations: 4 kB / 446.4 MB, free: 9.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000615/0.1863, allocations: 161.2 kB / 446.6 MB, free: 9.586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.1864, allocations: 51.41 kB / 446.6 MB, free: 9.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1865, allocations: 157.8 kB / 446.8 MB, free: 9.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1866, allocations: 29.7 kB / 446.8 MB, free: 9.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.1867, allocations: 96.03 kB / 446.9 MB, free: 9.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.1867, allocations: 19.75 kB / 446.9 MB, free: 9.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.1867, allocations: 13.66 kB / 447 MB, free: 9.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1869, allocations: 330.8 kB / 447.3 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.801e-05/0.1869, allocations: 19.98 kB / 447.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.021e-05/0.187, allocations: 23.98 kB / 447.3 MB, free: 8.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.1872, allocations: 52.84 kB / 447.4 MB, free: 8.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1872, allocations: 0 / 447.4 MB, free: 8.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001928/0.1874, allocations: 85.56 kB / 447.5 MB, free: 8.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.1874, allocations: 11.28 kB / 447.5 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1874, allocations: 0 / 447.5 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.1874, allocations: 4 kB / 447.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.1875, allocations: 19.92 kB / 447.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1875, allocations: 0 / 447.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.23e-05/0.1876, allocations: 8 kB / 447.5 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.1876, allocations: 3.938 kB / 447.5 MB, free: 8.625 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.0001223/0.1877, allocations: 121.8 kB / 447.6 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.1878, allocations: 11.89 kB / 447.6 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002939/0.1881, allocations: 94.22 kB / 447.7 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1881, allocations: 4 kB / 447.7 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.1881, allocations: 4.062 kB / 447.7 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.1881, allocations: 0 / 447.7 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004943/0.1886, allocations: 362.4 kB / 448.1 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1886, allocations: 0 / 448.1 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.174e-05/0.1887, allocations: 11.98 kB / 448.1 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.505e-06/0.1887, allocations: 4 kB / 448.1 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.1887, allocations: 3.938 kB / 448.1 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1887, allocations: 3.938 kB / 448.1 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1887, allocations: 4 kB / 448.1 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.189, allocations: 183.4 kB / 448.3 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.1891, allocations: 85 kB / 448.4 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1891, allocations: 4 kB / 448.4 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.1892, allocations: 15.94 kB / 448.4 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.1892, allocations: 3.984 kB / 448.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1892, allocations: 4 kB / 448.4 MB, free: 7.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.629e-05/0.1893, allocations: 115.2 kB / 448.5 MB, free: 7.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1894, allocations: 0 / 448.5 MB, free: 7.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1896, allocations: 16 kB / 448.5 MB, free: 7.484 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.001106/0.1907, allocations: 401.7 kB / 448.9 MB, free: 7.117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.191, allocations: 59.91 kB / 449 MB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.191, allocations: 0 / 449 MB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.126e-05/0.1911, allocations: 27.98 kB / 449 MB, free: 7.031 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.1915, allocations: 19.98 kB / 449 MB, free: 7.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.192, allocations: 188.6 kB / 449.2 MB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.1923, allocations: 0.6965 MB / 449.9 MB, free: 6.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.569e-05/0.1924, allocations: 11.98 kB / 449.9 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.1924, allocations: 19.42 kB / 449.9 MB, free: 6.047 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1924, allocations: 0 / 449.9 MB, free: 6.047 MB / 382.1 MB Notification: Performance of Templates: time 0.004082/0.1965, allocations: 1.019 MB / 451 MB, free: 5.027 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches