Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001281/0.001281, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001417/0.001417, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.578/1.578, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2851/0.2851, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 71.89 kB / 0.4915 GB, free: 7.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1722, allocations: 66 MB / 0.5559 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.004676/0.1769, allocations: 1.723 MB / 0.5576 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.18, allocations: 1.647 MB / 0.5592 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.1801, allocations: 3.938 kB / 0.5592 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.1805, allocations: 35.83 kB / 0.5593 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004902/0.1809, allocations: 103.5 kB / 0.5594 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.1813, allocations: 83.66 kB / 0.5595 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.1815, allocations: 99.64 kB / 0.5596 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.1817, allocations: 15.98 kB / 0.5596 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.1818, allocations: 55.77 kB / 0.5596 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.182, allocations: 43.83 kB / 0.5597 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.1821, allocations: 4 kB / 0.5597 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.1824, allocations: 103.9 kB / 0.5598 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.322e-05/0.1824, allocations: 23.91 kB / 0.5598 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.1825, allocations: 35.73 kB / 0.5598 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004454/0.1829, allocations: 171.4 kB / 0.56 GB, free: 1.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1829, allocations: 0 / 0.56 GB, free: 1.051 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1829, allocations: 0 / 0.56 GB, free: 1.051 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.183, allocations: 3.938 kB / 0.56 GB, free: 1.047 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008073/0.1838, allocations: 426.7 kB / 0.5604 GB, free: 0.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.1838, allocations: 11.97 kB / 0.5604 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.584e-05/0.1839, allocations: 20.83 kB / 0.5604 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.1843, allocations: 212.7 kB / 0.5606 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.1844, allocations: 7.938 kB / 0.5606 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.1844, allocations: 4 kB / 0.5606 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.1847, allocations: 75.33 kB / 0.5607 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1847, allocations: 0 / 0.5607 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.1847, allocations: 0 / 0.5607 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1847, allocations: 0 / 0.5607 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.599e-05/0.1848, allocations: 19.98 kB / 0.5607 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.1853, allocations: 284.9 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.1856, allocations: 66.56 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.233e-05/0.1856, allocations: 16.84 kB / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.1856, allocations: 4 kB / 0.5611 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.1858, allocations: 67.39 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 2.345e-06/0.1858, allocations: 0 / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007091/0.1866, allocations: 173.3 kB / 0.5613 GB, free: 15.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.386e-05/0.1867, allocations: 89.05 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.1869, allocations: 165.5 kB / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.1869, allocations: 25.7 kB / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.187, allocations: 100.1 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.187, allocations: 31.73 kB / 0.5617 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.1871, allocations: 25.7 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1873, allocations: 318.8 kB / 0.562 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.381e-05/0.1873, allocations: 19.98 kB / 0.5621 GB, free: 14.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.799e-05/0.1874, allocations: 50.5 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.1875, allocations: 57.7 kB / 0.5622 GB, free: 14.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1875, allocations: 4 kB / 0.5622 GB, free: 14.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002281/0.1878, allocations: 97.64 kB / 0.5623 GB, free: 14.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1878, allocations: 4 kB / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1878, allocations: 0 / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.1878, allocations: 16.03 kB / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1879, allocations: 12 kB / 0.5623 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1879, allocations: 4.312 kB / 0.5623 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.573e-05/0.188, allocations: 11.94 kB / 0.5623 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.188, allocations: 4 kB / 0.5623 GB, free: 14.42 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001549/0.1882, allocations: 124 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/0.1882, allocations: 11.95 kB / 0.5624 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/0.1883, allocations: 12.72 kB / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1883, allocations: 4 kB / 0.5625 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.1883, allocations: 7.938 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.1883, allocations: 3.984 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006777/0.189, allocations: 395.3 kB / 0.5628 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.189, allocations: 0 / 0.5628 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.796e-05/0.189, allocations: 15.94 kB / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.189, allocations: 0 / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.189, allocations: 4 kB / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.189, allocations: 192 / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.189, allocations: 4.031 kB / 0.5629 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.1894, allocations: 212.2 kB / 0.5631 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-05/0.1895, allocations: 89 kB / 0.5632 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.1895, allocations: 4 kB / 0.5632 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.954e-05/0.1896, allocations: 0 / 0.5632 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.1897, allocations: 11.98 kB / 0.5632 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.1897, allocations: 8 kB / 0.5632 GB, free: 13.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.1899, allocations: 123.2 kB / 0.5633 GB, free: 13.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1899, allocations: 0 / 0.5633 GB, free: 13.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003847/0.1902, allocations: 47.86 kB / 0.5633 GB, free: 13.26 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.1926, allocations: 0.5507 MB / 0.5639 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.1929, allocations: 55.91 kB / 0.5639 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1929, allocations: 0 / 0.5639 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.193, allocations: 20 kB / 0.5639 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.1933, allocations: 31.91 kB / 0.564 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.1939, allocations: 202.8 kB / 0.5642 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.1943, allocations: 0.7003 MB / 0.5649 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.035e-05/0.1943, allocations: 17.17 kB / 0.5649 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.235e-05/0.1944, allocations: 23.42 kB / 0.5649 GB, free: 11.81 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1944, allocations: 0 / 0.5649 GB, free: 11.81 MB / 430.1 MB Notification: Performance of Templates: time 0.006635/0.201, allocations: 2.369 MB / 0.5672 GB, free: 9.461 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.6684314496815205]