Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.0009862/0.0009862, 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.003922/0.003922, allocations: 160.9 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.8866/0.8866, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2413/0.2413, allocations: 32.79 MB / 294.2 MB, free: 1.219 MB / 266.7 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 3.938 kB / 440.9 MB, free: 3.688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.78e-05, allocations: 2.281 kB / 440.9 MB, free: 3.684 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003174/0.003201, allocations: 1.718 MB / 442.7 MB, free: 1.949 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.004634, allocations: 0.9742 MB / 443.6 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.392e-05/0.004717, allocations: 3.938 kB / 443.6 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.005041, allocations: 47.75 kB / 443.7 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.005308, allocations: 107.4 kB / 443.8 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.005456, allocations: 79.66 kB / 443.9 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.005601, allocations: 103.6 kB / 444 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.917e-05/0.00569, allocations: 11.98 kB / 444 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.485e-05/0.005765, allocations: 59.83 kB / 444 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.773e-05/0.005832, allocations: 27.91 kB / 444.1 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.005848, allocations: 4 kB / 444.1 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.411e-05/0.005922, allocations: 47.91 kB / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.005976, allocations: 31.8 kB / 444.1 MB, free: 464 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.006016, allocations: 23.88 kB / 444.2 MB, free: 440 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.006195, allocations: 135.5 kB / 444.3 MB, free: 304 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.006199, allocations: 0 / 444.3 MB, free: 304 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.0062, allocations: 0 / 444.3 MB, free: 304 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.006205, allocations: 0 / 444.3 MB, free: 304 kB / 410.7 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.228/0.2342, allocations: 380.3 kB / 444.7 MB, free: 46.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.2342, allocations: 11.69 kB / 444.7 MB, free: 46.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.2343, allocations: 16 kB / 444.7 MB, free: 46.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.2345, allocations: 162.7 kB / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.2345, allocations: 3.281 kB / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.2345, allocations: 8.188 kB / 444.9 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.2347, allocations: 57.77 kB / 444.9 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2347, allocations: 0 / 444.9 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.2347, allocations: 0.625 kB / 444.9 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2347, allocations: 2.906 kB / 444.9 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.704e-05/0.2348, allocations: 30.91 kB / 445 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.2351, allocations: 239.7 kB / 445.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.2352, allocations: 53.89 kB / 445.2 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/0.2352, allocations: 20.64 kB / 445.3 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.2352, allocations: 0 / 445.3 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.2354, allocations: 74.78 kB / 445.3 MB, free: 46.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.2354, allocations: 0 / 445.3 MB, free: 46.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000438/0.2358, allocations: 204.3 kB / 445.5 MB, free: 46.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.2358, allocations: 54.31 kB / 445.6 MB, free: 46.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.236, allocations: 285.4 kB / 445.9 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.236, allocations: 28.95 kB / 445.9 MB, free: 46.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.236, allocations: 116.7 kB / 446 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.2361, allocations: 22.92 kB / 446 MB, free: 45.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.2361, allocations: 24.12 kB / 446.1 MB, free: 45.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.253e-05/0.2361, allocations: 333.3 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.531e-05/0.2362, allocations: 20.42 kB / 446.4 MB, free: 45.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.12e-05/0.2362, allocations: 41.59 kB / 446.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.362e-05/0.2363, allocations: 57.89 kB / 446.5 MB, free: 45.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2363, allocations: 0 / 446.5 MB, free: 45.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001066/0.2364, allocations: 123.7 kB / 446.6 MB, free: 45.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.2364, allocations: 2.844 kB / 446.6 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2364, allocations: 2.969 kB / 446.6 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2364, allocations: 5.766 kB / 446.6 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.2365, allocations: 20.94 kB / 446.7 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2365, allocations: 0 / 446.7 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.942e-05/0.2365, allocations: 2.906 kB / 446.7 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.2365, allocations: 2.875 kB / 446.7 MB, free: 45.49 MB / 410.7 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 6.44e-05/0.2366, allocations: 139.3 kB / 446.8 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.2366, allocations: 27.41 kB / 446.8 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.2367, allocations: 128 kB / 446.9 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2367, allocations: 0 / 446.9 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2368, allocations: 0 / 446.9 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2368, allocations: 0 / 446.9 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.237, allocations: 363.7 kB / 447.3 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.237, allocations: 3.438 kB / 447.3 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-05/0.237, allocations: 7.656 kB / 447.3 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.237, allocations: 2.781 kB / 447.3 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.237, allocations: 3.234 kB / 447.3 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.237, allocations: 2.875 kB / 447.3 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.237, allocations: 0 / 447.3 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.2371, allocations: 219.1 kB / 447.5 MB, free: 44.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.2372, allocations: 15.41 kB / 447.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.2372, allocations: 4 kB / 447.6 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.958e-05/0.2372, allocations: 12.8 kB / 447.6 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.2372, allocations: 9.312 kB / 447.6 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.2373, allocations: 2.75 kB / 447.6 MB, free: 44.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.264e-05/0.2374, allocations: 227.6 kB / 447.8 MB, free: 44.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2374, allocations: 1.688 kB / 447.8 MB, free: 44.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001716/0.2375, allocations: 23.98 kB / 447.8 MB, free: 44.7 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.0007939/0.2383, allocations: 499.7 kB / 448.3 MB, free: 44.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.2384, allocations: 61.97 kB / 448.4 MB, free: 44.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2384, allocations: 3.938 kB / 448.4 MB, free: 44.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.2385, allocations: 24.14 kB / 448.4 MB, free: 44.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.2387, allocations: 39.67 kB / 448.4 MB, free: 44.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.2391, allocations: 339.6 kB / 448.8 MB, free: 44.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.642e-05/0.2392, allocations: 108.6 kB / 448.9 MB, free: 44.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.2392, allocations: 17.28 kB / 448.9 MB, free: 44.21 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2392, allocations: 4 kB / 448.9 MB, free: 44.21 MB / 410.7 MB Notification: Performance of Templates: time 0.002842/0.2421, allocations: 2.204 MB / 451.1 MB, free: 43.95 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.866196006536484]