Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001991/0.001991, allocations: 112.3 kB / 19.64 MB, free: 2.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002978/0.002978, allocations: 205.4 kB / 22.92 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 207.6 MB / 233.6 MB, free: 10.92 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2226/0.2226, allocations: 44.24 MB / 330.1 MB, free: 9.766 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003733/0.003733, allocations: 76.3 kB / 467.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1467, allocations: 60.99 MB / 0.5164 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003935/0.1507, allocations: 1.723 MB / 0.518 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.1523, allocations: 0.8311 MB / 0.5188 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.1525, allocations: 4 kB / 0.5189 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.1528, allocations: 47.83 kB / 0.5189 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000379/0.1532, allocations: 67.67 kB / 0.519 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.1536, allocations: 91.64 kB / 0.519 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.1538, allocations: 91.75 kB / 0.5191 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1539, allocations: 12.22 kB / 0.5191 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1541, allocations: 43.78 kB / 0.5192 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1542, allocations: 31.84 kB / 0.5192 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.1542, allocations: 4 kB / 0.5192 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1543, allocations: 39.92 kB / 0.5193 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.081e-05/0.1544, allocations: 35.84 kB / 0.5193 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.935e-05/0.1545, allocations: 35.69 kB / 0.5193 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.1548, allocations: 135.4 kB / 0.5195 GB, free: 3.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1548, allocations: 0 / 0.5195 GB, free: 3.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1548, allocations: 0 / 0.5195 GB, free: 3.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1548, allocations: 4 kB / 0.5195 GB, free: 3.816 MB / 398.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.0007336/0.1555, allocations: 446.5 kB / 0.5199 GB, free: 3.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1556, allocations: 15.84 kB / 0.5199 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.1556, allocations: 12.84 kB / 0.5199 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.156, allocations: 223.8 kB / 0.5201 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.156, allocations: 384 / 0.5201 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.156, allocations: 8.125 kB / 0.5201 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.1562, allocations: 53.67 kB / 0.5202 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1562, allocations: 0 / 0.5202 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1562, allocations: 7.938 kB / 0.5202 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1562, allocations: 0 / 0.5202 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.414e-05/0.1563, allocations: 23.92 kB / 0.5202 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.1568, allocations: 300.9 kB / 0.5205 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.157, allocations: 50.67 kB / 0.5206 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.775e-05/0.1571, allocations: 24.84 kB / 0.5206 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1571, allocations: 0 / 0.5206 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.1572, allocations: 71.33 kB / 0.5206 GB, free: 2.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1572, allocations: 0 / 0.5206 GB, free: 2.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000588/0.1578, allocations: 189.2 kB / 0.5208 GB, free: 2.246 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.1579, allocations: 55.41 kB / 0.5209 GB, free: 2.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.1581, allocations: 267.4 kB / 0.5211 GB, free: 1.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1582, allocations: 25.7 kB / 0.5212 GB, free: 1.871 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.093e-05/0.1583, allocations: 112.1 kB / 0.5213 GB, free: 1.758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.1583, allocations: 27.78 kB / 0.5213 GB, free: 1.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.1583, allocations: 21.72 kB / 0.5213 GB, free: 1.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1585, allocations: 330.8 kB / 0.5216 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.038e-05/0.1586, allocations: 19.98 kB / 0.5216 GB, free: 1.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-05/0.1586, allocations: 41.7 kB / 0.5217 GB, free: 1.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.1588, allocations: 65.62 kB / 0.5218 GB, free: 1.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1588, allocations: 0 / 0.5218 GB, free: 1.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002055/0.159, allocations: 101.5 kB / 0.5218 GB, free: 1.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.159, allocations: 4 kB / 0.5219 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.159, allocations: 4 kB / 0.5219 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.159, allocations: 0 / 0.5219 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.326e-05/0.1591, allocations: 19.92 kB / 0.5219 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1591, allocations: 4.031 kB / 0.5219 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/0.1591, allocations: 11.94 kB / 0.5219 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1592, allocations: 4 kB / 0.5219 GB, free: 1.082 MB / 398.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.0001209/0.1593, allocations: 133.8 kB / 0.522 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.1593, allocations: 11.91 kB / 0.522 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.1596, allocations: 115 kB / 0.5221 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1596, allocations: 0 / 0.5221 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1596, allocations: 0 / 0.5221 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.1596, allocations: 15.92 kB / 0.5222 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.1601, allocations: 407.5 kB / 0.5225 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1601, allocations: 0 / 0.5225 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.1601, allocations: 11.98 kB / 0.5226 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1601, allocations: 0 / 0.5226 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1601, allocations: 3.938 kB / 0.5226 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1602, allocations: 4 kB / 0.5226 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1602, allocations: 0 / 0.5226 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.1604, allocations: 212.2 kB / 0.5228 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-05/0.1605, allocations: 89.2 kB / 0.5229 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.1605, allocations: 3.75 kB / 0.5229 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.937e-05/0.1606, allocations: 12.36 kB / 0.5229 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.1607, allocations: 4 kB / 0.5229 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.1607, allocations: 4.188 kB / 0.5229 GB, free: 15.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002488/0.161, allocations: 207.3 kB / 0.5231 GB, free: 15.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.161, allocations: 3.938 kB / 0.5231 GB, free: 15.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1612, allocations: 23.94 kB / 0.5231 GB, free: 15.73 MB / 414.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.001764/0.163, allocations: 466.8 kB / 0.5235 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.1632, allocations: 59.89 kB / 0.5236 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1632, allocations: 0 / 0.5236 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.1633, allocations: 31.92 kB / 0.5236 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.1636, allocations: 23.84 kB / 0.5237 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.1642, allocations: 303.3 kB / 0.5239 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.1646, allocations: 0.7171 MB / 0.5246 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.817e-05/0.1647, allocations: 17.17 kB / 0.5247 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.1647, allocations: 19.44 kB / 0.5247 GB, free: 14.1 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1647, allocations: 0 / 0.5247 GB, free: 14.1 MB / 414.1 MB Notification: Performance of Templates: time 0.005458/0.1702, allocations: 1.749 MB / 0.5264 GB, free: 12.35 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.44340575998649]