Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.0007605/0.0007605, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003542/0.003542, allocations: 165.3 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8941/0.8941, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2823/0.2823, allocations: 34.26 MB / 295.7 MB, free: 0.707 MB / 266.7 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 443.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.112e-05, allocations: 2.281 kB / 443.5 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.1885/0.1886, allocations: 1.909 MB / 445.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1897, allocations: 0.9999 MB / 446.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.434e-05/0.1898, allocations: 6.875 kB / 446.4 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.1901, allocations: 53 kB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.1904, allocations: 100.9 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.1905, allocations: 93.81 kB / 446.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.1907, allocations: 155.9 kB / 446.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1908, allocations: 19.14 kB / 446.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.185e-05/0.1909, allocations: 77.12 kB / 446.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.433e-05/0.191, allocations: 37.08 kB / 447 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.191, allocations: 5.625 kB / 447 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.982e-05/0.1911, allocations: 55 kB / 447 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.856e-05/0.1911, allocations: 32.16 kB / 447 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/0.1912, allocations: 31.09 kB / 447.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.1914, allocations: 155.7 kB / 447.2 MB, free: 42.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1914, allocations: 0.7188 kB / 447.2 MB, free: 42.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1914, allocations: 0 / 447.2 MB, free: 42.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1914, allocations: 0.5625 kB / 447.2 MB, free: 42.89 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000499/0.1919, allocations: 410.5 kB / 447.6 MB, free: 42.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1919, allocations: 10.59 kB / 447.6 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.192, allocations: 17.06 kB / 447.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.1922, allocations: 175.4 kB / 447.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1922, allocations: 7.281 kB / 447.8 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.1923, allocations: 6.25 kB / 447.8 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.1925, allocations: 136.9 kB / 448 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1925, allocations: 7.875 kB / 448 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1925, allocations: 0 / 448 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1925, allocations: 5.531 kB / 448 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1926, allocations: 54.84 kB / 448 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.193, allocations: 449.5 kB / 448.5 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.1932, allocations: 87.69 kB / 448.6 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.1933, allocations: 38.88 kB / 448.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.1933, allocations: 8.906 kB / 448.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.1934, allocations: 104.2 kB / 448.7 MB, free: 41.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.1934, allocations: 0 / 448.7 MB, free: 41.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002571/0.1937, allocations: 151.1 kB / 448.9 MB, free: 41.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.1937, allocations: 58.22 kB / 448.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1938, allocations: 200.6 kB / 449.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.1939, allocations: 28.3 kB / 449.1 MB, free: 41.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/0.1939, allocations: 124.8 kB / 449.3 MB, free: 41.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.1939, allocations: 28.31 kB / 449.3 MB, free: 41.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.194, allocations: 25.62 kB / 449.3 MB, free: 41.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.105e-05/0.194, allocations: 334.9 kB / 449.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/0.1941, allocations: 30.55 kB / 449.7 MB, free: 40.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.665e-05/0.1941, allocations: 64.22 kB / 449.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.1942, allocations: 105 kB / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1942, allocations: 3.938 kB / 449.8 MB, free: 40.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000151/0.1944, allocations: 135.2 kB / 450 MB, free: 40.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1944, allocations: 7.25 kB / 450 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1944, allocations: 7.094 kB / 450 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1944, allocations: 2.844 kB / 450 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.1945, allocations: 28.58 kB / 450 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.1945, allocations: 2.906 kB / 450 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/0.1945, allocations: 10.09 kB / 450 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/0.1945, allocations: 5.594 kB / 450 MB, free: 40.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.785e-05/0.1946, allocations: 126.2 kB / 450.2 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.1946, allocations: 16.91 kB / 450.2 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.1948, allocations: 144.4 kB / 450.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1948, allocations: 0.5625 kB / 450.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1948, allocations: 0 / 450.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1948, allocations: 2.875 kB / 450.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.935e-05/0.1949, allocations: 149.6 kB / 450.5 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1949, allocations: 1.438 kB / 450.5 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.273e-05/0.195, allocations: 18.69 kB / 450.5 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.195, allocations: 3.938 kB / 450.5 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.195, allocations: 6.938 kB / 450.5 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.195, allocations: 0 / 450.5 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.195, allocations: 3.422 kB / 450.5 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.1952, allocations: 194.5 kB / 450.7 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.1952, allocations: 13.59 kB / 450.7 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1952, allocations: 6.781 kB / 450.7 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.757e-05/0.1952, allocations: 5.875 kB / 450.7 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.1953, allocations: 6 kB / 450.7 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.1953, allocations: 9.969 kB / 450.7 MB, free: 40.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.493e-05/0.1954, allocations: 148.2 kB / 450.9 MB, free: 40.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1954, allocations: 0 / 450.9 MB, free: 40.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001536/0.1955, allocations: 23.97 kB / 450.9 MB, free: 40.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007397/0.1963, allocations: 447.5 kB / 451.3 MB, free: 39.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.1964, allocations: 78.98 kB / 451.4 MB, free: 39.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1964, allocations: 2.781 kB / 451.4 MB, free: 39.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.103e-05/0.1965, allocations: 36.98 kB / 451.5 MB, free: 39.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.1967, allocations: 43.59 kB / 451.5 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.1971, allocations: 296.2 kB / 451.8 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.623e-05/0.1971, allocations: 104.6 kB / 451.9 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.1971, allocations: 17 kB / 451.9 MB, free: 39.59 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1971, allocations: 0 / 451.9 MB, free: 39.59 MB / 410.7 MB Notification: Performance of Templates: time 0.002824/0.2, allocations: 2.269 MB / 454.2 MB, free: 39.36 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.027968944050372]