Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.001303/0.001303, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.001424/0.001424, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.549/1.549, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2834/0.2834, allocations: 46.92 MB / 357.8 MB, free: 10.29 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 75.89 kB / 0.4922 GB, free: 7.332 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1258, allocations: 66 MB / 0.5566 GB, free: 5.203 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003191/0.129, allocations: 1.733 MB / 0.5583 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.1309, allocations: 1.038 MB / 0.5593 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.841e-05/0.1309, allocations: 7.938 kB / 0.5593 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.1312, allocations: 47.77 kB / 0.5594 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.1316, allocations: 95.59 kB / 0.5595 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.1318, allocations: 83.66 kB / 0.5595 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.1319, allocations: 99.69 kB / 0.5596 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.439e-05/0.132, allocations: 12 kB / 0.5596 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.643e-05/0.1321, allocations: 47.78 kB / 0.5597 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.889e-05/0.1322, allocations: 31.78 kB / 0.5597 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1322, allocations: 4 kB / 0.5597 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.542e-05/0.1323, allocations: 43.98 kB / 0.5598 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.1324, allocations: 35.84 kB / 0.5598 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/0.1324, allocations: 35.75 kB / 0.5598 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.1327, allocations: 127.4 kB / 0.56 GB, free: 1.754 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1327, allocations: 0 / 0.56 GB, free: 1.754 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1327, allocations: 0 / 0.56 GB, free: 1.754 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1327, allocations: 7.938 kB / 0.56 GB, free: 1.746 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.0006096/0.1333, allocations: 434.5 kB / 0.5604 GB, free: 1.273 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1333, allocations: 11.97 kB / 0.5604 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.1334, allocations: 12.89 kB / 0.5604 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.1337, allocations: 216.9 kB / 0.5606 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1337, allocations: 12.38 kB / 0.5606 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.1337, allocations: 8.109 kB / 0.5606 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.1339, allocations: 53.67 kB / 0.5607 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1339, allocations: 0 / 0.5607 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1339, allocations: 0 / 0.5607 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1339, allocations: 7.938 kB / 0.5607 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.483e-05/0.134, allocations: 15.98 kB / 0.5607 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.1344, allocations: 296.8 kB / 0.561 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.1346, allocations: 58.67 kB / 0.561 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.205e-05/0.1346, allocations: 20.8 kB / 0.5611 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.1346, allocations: 0 / 0.5611 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.1348, allocations: 67.38 kB / 0.5611 GB, free: 396 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1348, allocations: 8 kB / 0.5611 GB, free: 388 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005474/0.1353, allocations: 181.3 kB / 0.5613 GB, free: 200 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.1354, allocations: 51.41 kB / 0.5614 GB, free: 136 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.1356, allocations: 242.1 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1357, allocations: 29.7 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.1357, allocations: 108.1 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.1358, allocations: 23.84 kB / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.1358, allocations: 17.72 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.136, allocations: 338.8 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-05/0.136, allocations: 16 kB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.566e-05/0.1361, allocations: 33.7 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.1362, allocations: 65.64 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1362, allocations: 0 / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000202/0.1364, allocations: 113.5 kB / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1364, allocations: 7.984 kB / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.1364, allocations: 0 / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1364, allocations: 0 / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.1365, allocations: 16 kB / 0.5623 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.1365, allocations: 0 / 0.5623 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.1366, allocations: 7.875 kB / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.1366, allocations: 7.984 kB / 0.5623 GB, free: 15.07 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.0001106/0.1367, allocations: 128 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.1367, allocations: 19.94 kB / 0.5625 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.1368, allocations: 17.39 kB / 0.5625 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1368, allocations: 4 kB / 0.5625 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.1368, allocations: 3.938 kB / 0.5625 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1368, allocations: 3.938 kB / 0.5625 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.1373, allocations: 395.4 kB / 0.5629 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1373, allocations: 0 / 0.5629 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/0.1373, allocations: 15.92 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1373, allocations: 4.031 kB / 0.5629 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1373, allocations: 8.109 kB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1373, allocations: 4 kB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1373, allocations: 3.938 kB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.1376, allocations: 208.5 kB / 0.5631 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/0.1377, allocations: 89.02 kB / 0.5632 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1377, allocations: 3.938 kB / 0.5632 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.1378, allocations: 8.375 kB / 0.5632 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.1378, allocations: 15.92 kB / 0.5632 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.1378, allocations: 0 / 0.5632 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.138, allocations: 176.4 kB / 0.5634 GB, free: 13.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.138, allocations: 0 / 0.5634 GB, free: 13.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1382, allocations: 23.94 kB / 0.5634 GB, free: 13.86 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.001715/0.14, allocations: 474 kB / 0.5639 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.1402, allocations: 51.92 kB / 0.5639 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1402, allocations: 0 / 0.5639 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.449e-05/0.1402, allocations: 23.98 kB / 0.5639 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.1406, allocations: 31.86 kB / 0.564 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.1412, allocations: 304.8 kB / 0.5643 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.1415, allocations: 0.7119 MB / 0.565 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.1416, allocations: 15.44 kB / 0.565 GB, free: 12.38 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1416, allocations: 0 / 0.565 GB, free: 12.38 MB / 430.1 MB Notification: Performance of Templates: time 0.004363/0.1459, allocations: 2.04 MB / 0.567 GB, free: 10.35 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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: 8.128475562989479]