Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.001617/0.001617, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.00167/0.00167, allocations: 163.9 kB / 23.96 MB, free: 4.148 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.414/1.414, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1967/0.1967, allocations: 32.81 MB / 293.5 MB, free: 40 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 440.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.517e-05, allocations: 2.281 kB / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003374/0.003399, allocations: 2.236 MB / 442.4 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.005742, allocations: 1.345 MB / 443.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.005871, allocations: 7.938 kB / 443.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.006428, allocations: 294.9 kB / 444 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006581/0.007086, allocations: 342.4 kB / 444.4 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.007525, allocations: 227.3 kB / 444.6 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006684/0.008194, allocations: 0.5723 MB / 445.2 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.008346, allocations: 45.25 kB / 445.2 MB, free: 3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003786/0.008725, allocations: 291.2 kB / 445.5 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.009066, allocations: 259.3 kB / 445.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.275e-05/0.009119, allocations: 20 kB / 445.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.009269, allocations: 63.91 kB / 445.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.009419, allocations: 119.5 kB / 446 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.009552, allocations: 107.6 kB / 446.1 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005055/0.01006, allocations: 410.5 kB / 446.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.01006, allocations: 0 / 446.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01006, allocations: 0 / 446.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.01008, allocations: 0 / 446.5 MB, free: 1.754 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00123/0.01131, allocations: 0.738 MB / 447.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.01134, allocations: 12.03 kB / 447.2 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.01145, allocations: 64.56 kB / 447.3 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005438/0.012, allocations: 340.4 kB / 447.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.01202, allocations: 12.36 kB / 447.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.01206, allocations: 12.38 kB / 447.6 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.01249, allocations: 214.3 kB / 447.8 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.01251, allocations: 7.938 kB / 447.8 MB, free: 296 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.01253, allocations: 7.922 kB / 447.9 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.01254, allocations: 4 kB / 447.9 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.01281, allocations: 115.9 kB / 448 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.165/0.1779, allocations: 0.7823 MB / 448.8 MB, free: 21.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/0.1785, allocations: 286.8 kB / 449 MB, free: 21.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.1787, allocations: 92.94 kB / 449.1 MB, free: 21.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1787, allocations: 7.438 kB / 449.1 MB, free: 21.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000384/0.1791, allocations: 235.2 kB / 449.4 MB, free: 20.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.324e-06/0.1791, allocations: 0 / 449.4 MB, free: 20.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.00196/0.181, allocations: 1.07 MB / 450.4 MB, free: 20.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.1811, allocations: 161 kB / 450.6 MB, free: 20.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006853/0.1818, allocations: 0.6733 MB / 451.3 MB, free: 20.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.1818, allocations: 38.88 kB / 451.3 MB, free: 20.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.1819, allocations: 242.5 kB / 451.5 MB, free: 19.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.778e-05/0.182, allocations: 133.1 kB / 451.7 MB, free: 19.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.032e-05/0.1821, allocations: 73.05 kB / 451.7 MB, free: 19.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.1822, allocations: 378.5 kB / 452.1 MB, free: 19.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.1824, allocations: 108.8 kB / 452.2 MB, free: 19.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.1827, allocations: 189.2 kB / 452.4 MB, free: 19.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004853/0.1832, allocations: 311.8 kB / 452.7 MB, free: 19.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1832, allocations: 1.438 kB / 452.7 MB, free: 19.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008084/0.184, allocations: 420.5 kB / 453.1 MB, free: 18.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.184, allocations: 6.312 kB / 453.1 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.184, allocations: 2.125 kB / 453.1 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.1841, allocations: 9.031 kB / 453.1 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.1844, allocations: 84.97 kB / 453.2 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.1844, allocations: 7.406 kB / 453.2 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.1846, allocations: 21.48 kB / 453.2 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.1846, allocations: 18.03 kB / 453.3 MB, free: 18.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002158/0.1849, allocations: 210.9 kB / 453.5 MB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.864e-05/0.185, allocations: 69.09 kB / 453.5 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008894/0.1858, allocations: 488.8 kB / 454 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.1859, allocations: 6.109 kB / 454 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1859, allocations: 1.469 kB / 454 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.1859, allocations: 7.609 kB / 454 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.1873, allocations: 1.24 MB / 455.3 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1873, allocations: 4.656 kB / 455.3 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.1874, allocations: 56.38 kB / 455.3 MB, free: 17.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.1874, allocations: 4.062 kB / 455.3 MB, free: 17.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.1875, allocations: 18.41 kB / 455.4 MB, free: 17.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.1875, allocations: 5.234 kB / 455.4 MB, free: 17.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1875, allocations: 7.422 kB / 455.4 MB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007966/0.1883, allocations: 0.8596 MB / 456.2 MB, free: 17.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.1883, allocations: 52.92 kB / 456.3 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.228e-05/0.1884, allocations: 17.28 kB / 456.3 MB, free: 16.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/0.1887, allocations: 20.67 kB / 456.3 MB, free: 16.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.403e-05/0.1888, allocations: 45.28 kB / 456.4 MB, free: 16.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.184e-05/0.1889, allocations: 25.05 kB / 456.4 MB, free: 16.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004581/0.1893, allocations: 0.4935 MB / 456.9 MB, free: 16.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1893, allocations: 0 / 456.9 MB, free: 16.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005376/0.1899, allocations: 88.28 kB / 457 MB, free: 16.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001699/0.1916, allocations: 0.514 MB / 457.5 MB, free: 16.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005819/0.1921, allocations: 298.4 kB / 457.8 MB, free: 16.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1921, allocations: 0 / 457.8 MB, free: 16.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.1924, allocations: 155.5 kB / 457.9 MB, free: 16.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.1934, allocations: 148.6 kB / 458.1 MB, free: 16.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.1946, allocations: 0.9367 MB / 459 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.1948, allocations: 270.6 kB / 459.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.195, allocations: 82.58 kB / 459.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.1951, allocations: 55.47 kB / 459.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1951, allocations: 0 / 459.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Templates: time 0.01206/0.2072, allocations: 6.181 MB / 465.6 MB, free: 14.72 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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: 4.763260379433632]