Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1D.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004992/0.004992, allocations: 100.2 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.001164/0.001164, allocations: 189.2 kB / 16.78 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.62/1.62, allocations: 205.1 MB / 222.6 MB, free: 4.453 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.4426/0.4426, allocations: 43.5 MB / 313.5 MB, free: 8.453 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.001611/0.001611, allocations: 62.56 kB / 382 MB, free: 8.484 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1845, allocations: 57.79 MB / 439.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test30): time 0.004039/0.1887, allocations: 1.626 MB / 441.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008168/0.1895, allocations: 319.7 kB / 441.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.973e-05/0.1896, allocations: 0 / 441.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.19, allocations: 67.83 kB / 441.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.1902, allocations: 63.81 kB / 441.9 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.1905, allocations: 79.91 kB / 442 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1907, allocations: 71.75 kB / 442 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1908, allocations: 19.98 kB / 442.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.813e-05/0.1909, allocations: 23.91 kB / 442.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.191, allocations: 51.83 kB / 442.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.191, allocations: 0 / 442.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.18e-05/0.1911, allocations: 31.92 kB / 442.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.1912, allocations: 23.91 kB / 442.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.1913, allocations: 23.81 kB / 442.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.1914, allocations: 87.94 kB / 442.3 MB, free: 12.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1915, allocations: 0 / 442.3 MB, free: 12.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1915, allocations: 8 kB / 442.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1915, allocations: 3.938 kB / 442.3 MB, free: 12.09 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.000658/0.1921, allocations: 391 kB / 442.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1922, allocations: 8.031 kB / 442.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.1923, allocations: 8.844 kB / 442.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.1925, allocations: 200.1 kB / 442.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1925, allocations: 384 / 442.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1925, allocations: 4.375 kB / 442.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1927, allocations: 53.75 kB / 443 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1927, allocations: 4 kB / 443 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1927, allocations: 4 kB / 443 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1927, allocations: 0 / 443 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1928, allocations: 23.97 kB / 443 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.1933, allocations: 288.8 kB / 443.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.1935, allocations: 50.48 kB / 443.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.1936, allocations: 16.86 kB / 443.3 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.1936, allocations: 4.078 kB / 443.3 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.1937, allocations: 34.56 kB / 443.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 3.185e-06/0.1937, allocations: 3.984 kB / 443.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006012/0.1943, allocations: 157.1 kB / 443.5 MB, free: 10.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.1944, allocations: 51.41 kB / 443.6 MB, free: 10.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.1946, allocations: 198.2 kB / 443.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1946, allocations: 25.7 kB / 443.8 MB, free: 10.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.1947, allocations: 104.1 kB / 443.9 MB, free: 10.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.1947, allocations: 19.7 kB / 443.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.1948, allocations: 17.72 kB / 443.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1949, allocations: 326.8 kB / 444.3 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/0.195, allocations: 23.98 kB / 444.3 MB, free: 9.898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-05/0.195, allocations: 19.98 kB / 444.3 MB, free: 9.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1952, allocations: 52.95 kB / 444.3 MB, free: 9.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1952, allocations: 8 kB / 444.4 MB, free: 9.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001792/0.1954, allocations: 85.56 kB / 444.4 MB, free: 9.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1954, allocations: 8 kB / 444.4 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1954, allocations: 0 / 444.4 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1954, allocations: 4 kB / 444.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.789e-05/0.1955, allocations: 11.98 kB / 444.5 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1955, allocations: 0 / 444.5 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.657e-05/0.1955, allocations: 4 kB / 444.5 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1956, allocations: 0 / 444.5 MB, free: 9.699 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.0001035/0.1957, allocations: 133.8 kB / 444.6 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.1957, allocations: 11.84 kB / 444.6 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.1959, allocations: 109.9 kB / 444.7 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.196, allocations: 0 / 444.7 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.196, allocations: 3.938 kB / 444.7 MB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.196, allocations: 4 kB / 444.7 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.1964, allocations: 362.4 kB / 445.1 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1964, allocations: 0 / 445.1 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.154e-05/0.1965, allocations: 15.98 kB / 445.1 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1965, allocations: 3.938 kB / 445.1 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1965, allocations: 0 / 445.1 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1965, allocations: 7.938 kB / 445.1 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1965, allocations: 0 / 445.1 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.1968, allocations: 191.5 kB / 445.3 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.1968, allocations: 85.02 kB / 445.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.1968, allocations: 0 / 445.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.419e-05/0.1969, allocations: 7.938 kB / 445.4 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.197, allocations: 11.92 kB / 445.4 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.197, allocations: 0 / 445.4 MB, free: 8.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.1971, allocations: 164 kB / 445.6 MB, free: 8.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1971, allocations: 0 / 445.6 MB, free: 8.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.1974, allocations: 20 kB / 445.6 MB, free: 8.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.001018/0.1984, allocations: 399.3 kB / 446 MB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.1986, allocations: 51.97 kB / 446 MB, free: 8.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1986, allocations: 0 / 446 MB, free: 8.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.1987, allocations: 35.91 kB / 446 MB, free: 8.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.1992, allocations: 8 kB / 446.1 MB, free: 8.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005402/0.1997, allocations: 247.8 kB / 446.3 MB, free: 7.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.2001, allocations: 0.7043 MB / 447 MB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.727e-05/0.2001, allocations: 15.97 kB / 447 MB, free: 7.008 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.2002, allocations: 15.44 kB / 447 MB, free: 6.992 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2002, allocations: 0 / 447 MB, free: 6.992 MB / 382.1 MB Notification: Performance of Templates: time 0.004416/0.2046, allocations: 1.07 MB / 448.1 MB, free: 5.922 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches