Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001701/0.001701, allocations: 116 kB / 18.45 MB, free: 4.605 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.002096/0.002096, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.521/1.521, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2592/0.2592, allocations: 46.92 MB / 357.8 MB, free: 10.31 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 67.91 kB / 0.4922 GB, free: 7.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1452, allocations: 65.99 MB / 0.5566 GB, free: 5.227 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003436/0.1486, allocations: 1.737 MB / 0.5583 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.1505, allocations: 1.027 MB / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.459e-05/0.1505, allocations: 0 / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.1508, allocations: 39.78 kB / 0.5593 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003415/0.1512, allocations: 103.5 kB / 0.5594 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.1514, allocations: 71.67 kB / 0.5595 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.1516, allocations: 111.7 kB / 0.5596 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1517, allocations: 8 kB / 0.5596 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.1518, allocations: 43.78 kB / 0.5597 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.344e-05/0.1519, allocations: 39.78 kB / 0.5597 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1519, allocations: 4 kB / 0.5597 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1521, allocations: 43.98 kB / 0.5597 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.909e-05/0.1521, allocations: 15.92 kB / 0.5598 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/0.1522, allocations: 39.73 kB / 0.5598 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.1524, allocations: 107.5 kB / 0.5599 GB, free: 1.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1524, allocations: 0 / 0.5599 GB, free: 1.828 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1524, allocations: 0 / 0.5599 GB, free: 1.828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.1524, allocations: 4 kB / 0.5599 GB, free: 1.824 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.0006402/0.1531, allocations: 414.7 kB / 0.5603 GB, free: 1.371 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1531, allocations: 12.03 kB / 0.5603 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.1532, allocations: 8.891 kB / 0.5603 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.1535, allocations: 208.2 kB / 0.5605 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1535, allocations: 8.312 kB / 0.5605 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.1535, allocations: 8.125 kB / 0.5605 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1537, allocations: 53.67 kB / 0.5606 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1537, allocations: 3.938 kB / 0.5606 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1537, allocations: 0 / 0.5606 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1537, allocations: 0 / 0.5606 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.026e-05/0.1538, allocations: 23.92 kB / 0.5606 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.1542, allocations: 288.8 kB / 0.5609 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.1544, allocations: 58.67 kB / 0.5609 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.31e-05/0.1545, allocations: 20.84 kB / 0.561 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.1545, allocations: 4 kB / 0.561 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.1546, allocations: 67.33 kB / 0.561 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1546, allocations: 4 kB / 0.561 GB, free: 0.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005806/0.1552, allocations: 177.6 kB / 0.5612 GB, free: 328 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.1553, allocations: 51.41 kB / 0.5613 GB, free: 264 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.1554, allocations: 168.4 kB / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1555, allocations: 29.7 kB / 0.5614 GB, free: 48 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.887e-05/0.1555, allocations: 96.12 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.1556, allocations: 23.8 kB / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.1556, allocations: 29.7 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1558, allocations: 330.8 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.039e-05/0.1558, allocations: 20 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.285e-05/0.1559, allocations: 33.7 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.156, allocations: 57.64 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.156, allocations: 0 / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001988/0.1562, allocations: 109.6 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1562, allocations: 5.875 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1562, allocations: 3.984 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1563, allocations: 4 kB / 0.5621 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.442e-05/0.1564, allocations: 15.94 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1564, allocations: 0 / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.1564, allocations: 7.938 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1564, allocations: 0 / 0.5622 GB, free: 15.29 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.0001085/0.1565, allocations: 126.7 kB / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.1566, allocations: 15.97 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.1566, allocations: 16.7 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1566, allocations: 4.188 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1566, allocations: 0 / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1566, allocations: 7.875 kB / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.1571, allocations: 391.2 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1571, allocations: 0 / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.1571, allocations: 11.94 kB / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.1571, allocations: 8.031 kB / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1571, allocations: 7.922 kB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1571, allocations: 0 / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1571, allocations: 0 / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.1574, allocations: 204.5 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.1575, allocations: 89.02 kB / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.1575, allocations: 7.938 kB / 0.563 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/0.1575, allocations: 4 kB / 0.563 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.1576, allocations: 11.98 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.1576, allocations: 4 kB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1577, allocations: 127.2 kB / 0.5631 GB, free: 14.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1577, allocations: 0 / 0.5631 GB, free: 14.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.158, allocations: 27.92 kB / 0.5632 GB, free: 14.14 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.001788/0.1598, allocations: 469.8 kB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.16, allocations: 51.97 kB / 0.5637 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.16, allocations: 3.938 kB / 0.5637 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.936e-05/0.16, allocations: 20 kB / 0.5637 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1604, allocations: 32.09 kB / 0.5637 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005434/0.1609, allocations: 244.7 kB / 0.564 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.1613, allocations: 0.704 MB / 0.5646 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.1613, allocations: 19.44 kB / 0.5647 GB, free: 12.73 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1613, allocations: 0 / 0.5647 GB, free: 12.73 MB / 430.1 MB Notification: Performance of Templates: time 0.004263/0.1656, allocations: 1.92 MB / 0.5665 GB, free: 10.82 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.12174725200748]