Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001425, allocations: 96.14 kB / 15.87 MB, free: 16 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.001553/0.001553, allocations: 202.5 kB / 16.79 MB, free: 6.84 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.688/1.688, allocations: 205.1 MB / 222.6 MB, free: 4.762 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.4909/0.4909, allocations: 43.5 MB / 313.5 MB, free: 8.488 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.001682/0.001682, allocations: 78.53 kB / 382 MB, free: 8.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1802, allocations: 57.79 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003946/0.1842, allocations: 1.614 MB / 441.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1858, allocations: 0.918 MB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.686e-05/0.1859, allocations: 0 / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.1862, allocations: 15.92 kB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.1864, allocations: 35.91 kB / 442.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.1866, allocations: 63.88 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.1868, allocations: 51.89 kB / 442.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1869, allocations: 27.84 kB / 442.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.53e-05/0.187, allocations: 15.94 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.1872, allocations: 27.89 kB / 442.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1872, allocations: 3.938 kB / 442.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.1874, allocations: 43.98 kB / 442.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.463e-05/0.1874, allocations: 8 kB / 442.6 MB, free: 12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.1875, allocations: 23.84 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.1877, allocations: 88 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.1878, allocations: 3.938 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1878, allocations: 0 / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1878, allocations: 0 / 442.8 MB, free: 11.89 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.0007278/0.1885, allocations: 379.2 kB / 443.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.823e-05/0.1886, allocations: 16.02 kB / 443.1 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.1886, allocations: 0.9375 kB / 443.1 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.189, allocations: 188.2 kB / 443.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.189, allocations: 8.359 kB / 443.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.189, allocations: 12.22 kB / 443.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.1892, allocations: 71.45 kB / 443.4 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.1893, allocations: 0 / 443.4 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1893, allocations: 0 / 443.4 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1893, allocations: 0 / 443.4 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.996e-05/0.1894, allocations: 23.98 kB / 443.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.1899, allocations: 272.9 kB / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.1902, allocations: 42.5 kB / 443.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.436e-05/0.1902, allocations: 16.94 kB / 443.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.1903, allocations: 0 / 443.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.1903, allocations: 34.56 kB / 443.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.1903, allocations: 4 kB / 443.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005802/0.1909, allocations: 133.4 kB / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/0.191, allocations: 77.11 kB / 444 MB, free: 10.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1911, allocations: 133.8 kB / 444.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1911, allocations: 25.7 kB / 444.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/0.1912, allocations: 95.98 kB / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.1913, allocations: 19.8 kB / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.1913, allocations: 17.72 kB / 444.3 MB, free: 10.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1914, allocations: 318.8 kB / 444.6 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.1915, allocations: 15.98 kB / 444.6 MB, free: 9.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.249e-05/0.1916, allocations: 37.69 kB / 444.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.1917, allocations: 45.06 kB / 444.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1917, allocations: 0 / 444.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001807/0.1919, allocations: 89.5 kB / 444.8 MB, free: 9.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.192, allocations: 7.938 kB / 444.8 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.192, allocations: 0 / 444.8 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.192, allocations: 0 / 444.8 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.192, allocations: 12 kB / 444.8 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.1921, allocations: 3.984 kB / 444.8 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.986e-05/0.1921, allocations: 8 kB / 444.8 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.1921, allocations: 4 kB / 444.8 MB, free: 9.578 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.0001047/0.1922, allocations: 125.7 kB / 444.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.1923, allocations: 4 kB / 444.9 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.1925, allocations: 85.56 kB / 445 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1925, allocations: 0 / 445 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1925, allocations: 4 kB / 445 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1925, allocations: 3.984 kB / 445 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.193, allocations: 346.4 kB / 445.4 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.193, allocations: 0 / 445.4 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.193, allocations: 19.92 kB / 445.4 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.193, allocations: 0 / 445.4 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.193, allocations: 3.938 kB / 445.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1931, allocations: 3.938 kB / 445.4 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1931, allocations: 0 / 445.4 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.1933, allocations: 175.7 kB / 445.6 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.1933, allocations: 89 kB / 445.7 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.1934, allocations: 0 / 445.7 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.66e-05/0.1934, allocations: 7.938 kB / 445.7 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.1935, allocations: 4.266 kB / 445.7 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1935, allocations: 4 kB / 445.7 MB, free: 8.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.237e-05/0.1936, allocations: 103.3 kB / 445.8 MB, free: 8.512 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1936, allocations: 0 / 445.8 MB, free: 8.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1939, allocations: 24 kB / 445.8 MB, free: 8.488 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.001164/0.195, allocations: 446.2 kB / 446.2 MB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.1953, allocations: 51.95 kB / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1953, allocations: 0 / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.475e-05/0.1953, allocations: 23.98 kB / 446.3 MB, free: 8.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.1957, allocations: 23.81 kB / 446.3 MB, free: 7.988 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.1962, allocations: 175.1 kB / 446.5 MB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.1967, allocations: 0.6925 MB / 447.2 MB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.826e-05/0.1967, allocations: 7.984 kB / 447.2 MB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.1968, allocations: 19.44 kB / 447.2 MB, free: 7.043 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1968, allocations: 0 / 447.2 MB, free: 7.043 MB / 382.1 MB Notification: Performance of Templates: time 0.004498/0.2013, allocations: 1.296 MB / 448.5 MB, free: 5.746 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches