Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 123 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.601/1.601, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2532/0.2532, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.91 kB / 0.4914 GB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1737, allocations: 66 MB / 0.5559 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.005013/0.1787, allocations: 1.605 MB / 0.5574 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.1805, allocations: 0.5299 MB / 0.558 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.1806, allocations: 4 kB / 0.558 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.1809, allocations: 27.78 kB / 0.558 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005175/0.1814, allocations: 75.69 kB / 0.5581 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.1819, allocations: 87.7 kB / 0.5581 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.1822, allocations: 75.75 kB / 0.5582 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.1824, allocations: 11.94 kB / 0.5582 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.336e-05/0.1825, allocations: 19.92 kB / 0.5582 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1826, allocations: 23.86 kB / 0.5583 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.1826, allocations: 0 / 0.5583 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.1827, allocations: 31.98 kB / 0.5583 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.682e-05/0.1828, allocations: 15.92 kB / 0.5583 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.462e-05/0.1829, allocations: 27.75 kB / 0.5583 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.1832, allocations: 79.66 kB / 0.5584 GB, free: 2.695 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.652e-05/0.1832, allocations: 7.984 kB / 0.5584 GB, free: 2.688 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1832, allocations: 0 / 0.5584 GB, free: 2.688 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.1832, allocations: 0 / 0.5584 GB, free: 2.688 MB / 414.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.0007873/0.184, allocations: 379 kB / 0.5588 GB, free: 2.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.184, allocations: 8.031 kB / 0.5588 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/0.1841, allocations: 12.89 kB / 0.5588 GB, free: 2.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.1845, allocations: 192.2 kB / 0.559 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.1845, allocations: 4.375 kB / 0.559 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.1845, allocations: 384 / 0.559 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.1848, allocations: 61.73 kB / 0.5591 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.1848, allocations: 0 / 0.5591 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.1848, allocations: 0 / 0.5591 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1848, allocations: 0 / 0.5591 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.185, allocations: 19.98 kB / 0.5591 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.1855, allocations: 280.9 kB / 0.5593 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.1859, allocations: 42.5 kB / 0.5594 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.093e-05/0.186, allocations: 16.94 kB / 0.5594 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.186, allocations: 4 kB / 0.5594 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.186, allocations: 30.56 kB / 0.5594 GB, free: 1.496 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 5.61e-06/0.1861, allocations: 7.984 kB / 0.5594 GB, free: 1.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009648/0.187, allocations: 141.4 kB / 0.5596 GB, free: 1.344 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.1871, allocations: 51.41 kB / 0.5596 GB, free: 1.281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.1874, allocations: 155.5 kB / 0.5598 GB, free: 1.117 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1874, allocations: 25.7 kB / 0.5598 GB, free: 1.086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.925e-05/0.1875, allocations: 100.1 kB / 0.5599 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.1875, allocations: 19.86 kB / 0.5599 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.1876, allocations: 13.72 kB / 0.5599 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.1878, allocations: 326.8 kB / 0.5602 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.1879, allocations: 15.98 kB / 0.5602 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.1881, allocations: 19.98 kB / 0.5603 GB, free: 0.582 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.1883, allocations: 48.77 kB / 0.5603 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1883, allocations: 4 kB / 0.5603 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003575/0.1887, allocations: 85.81 kB / 0.5604 GB, free: 448 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.1887, allocations: 5.875 kB / 0.5604 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1887, allocations: 3.938 kB / 0.5604 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.1887, allocations: 0 / 0.5604 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1888, allocations: 15.98 kB / 0.5604 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1888, allocations: 0 / 0.5604 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.378e-05/0.1889, allocations: 4 kB / 0.5604 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.1889, allocations: 7.984 kB / 0.5604 GB, free: 412 kB / 414.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.0001521/0.1891, allocations: 120 kB / 0.5605 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.157e-05/0.1892, allocations: 11.89 kB / 0.5606 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004547/0.1896, allocations: 93.91 kB / 0.5606 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.1896, allocations: 0 / 0.5606 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1896, allocations: 0 / 0.5606 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1896, allocations: 0 / 0.5606 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007471/0.1904, allocations: 350.4 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1904, allocations: 0 / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.1905, allocations: 15.98 kB / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1905, allocations: 0 / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.1905, allocations: 4 kB / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.1905, allocations: 3.938 kB / 0.561 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1905, allocations: 0 / 0.561 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/0.1909, allocations: 179.5 kB / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.206e-05/0.191, allocations: 85.05 kB / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.191, allocations: 256 / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.1912, allocations: 11.94 kB / 0.5613 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.1912, allocations: 11.92 kB / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1912, allocations: 0 / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.1914, allocations: 116.8 kB / 0.5614 GB, free: 15.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1914, allocations: 4 kB / 0.5614 GB, free: 15.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004534/0.1919, allocations: 19.92 kB / 0.5614 GB, free: 15.29 MB / 430.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.002407/0.1943, allocations: 405.2 kB / 0.5618 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.1946, allocations: 43.97 kB / 0.5618 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1946, allocations: 0 / 0.5618 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.1947, allocations: 27.92 kB / 0.5619 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005359/0.1953, allocations: 27.98 kB / 0.5619 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007494/0.196, allocations: 178.1 kB / 0.5621 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/0.1966, allocations: 0.6924 MB / 0.5627 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.982e-05/0.1967, allocations: 16.02 kB / 0.5628 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.1967, allocations: 15.44 kB / 0.5628 GB, free: 14 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1967, allocations: 0 / 0.5628 GB, free: 14 MB / 430.1 MB Notification: Performance of Templates: time 0.006582/0.2033, allocations: 1.122 MB / 0.5639 GB, free: 12.88 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.439458228647709]