Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001069, allocations: 96.78 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 181.3 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.2 MB / 241.8 MB, free: 372 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2114/0.2114, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.0004405, allocations: 16 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1456, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002076/0.1477, allocations: 1.39 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.149, allocations: 0.7919 MB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.1491, allocations: 0 / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.1493, allocations: 31.84 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.1495, allocations: 47.81 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.1498, allocations: 99.69 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.15, allocations: 55.88 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.983e-05/0.1501, allocations: 8.219 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.125e-05/0.1501, allocations: 39.84 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.529e-05/0.1502, allocations: 27.84 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.1502, allocations: 4 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.852e-05/0.1503, allocations: 23.98 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.1504, allocations: 19.86 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.1504, allocations: 45.64 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.1506, allocations: 80.09 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1506, allocations: 4 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1506, allocations: 3.938 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1506, allocations: 0 / 474.1 MB, free: 11.07 MB / 350.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.0004973/0.1511, allocations: 391 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1511, allocations: 8.031 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.1512, allocations: 7.906 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.1514, allocations: 202.8 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1514, allocations: 8 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.1515, allocations: 7.938 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.1516, allocations: 61.62 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1516, allocations: 0 / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1516, allocations: 0 / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1516, allocations: 0 / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.471e-05/0.1517, allocations: 19.98 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.152, allocations: 284.9 kB / 475.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.1522, allocations: 66.61 kB / 475.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.1522, allocations: 0 / 475.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.1524, allocations: 67.52 kB / 475.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1524, allocations: 0 / 475.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005004/0.1529, allocations: 173.2 kB / 475.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.153, allocations: 51.41 kB / 475.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.1531, allocations: 186.2 kB / 475.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1532, allocations: 29.64 kB / 475.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.1532, allocations: 104.1 kB / 475.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.1533, allocations: 23.66 kB / 475.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-06/0.1533, allocations: 4 kB / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1534, allocations: 322.8 kB / 476.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/0.1535, allocations: 23.98 kB / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.608e-05/0.1535, allocations: 37.64 kB / 476.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.592e-05/0.1536, allocations: 23.95 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1536, allocations: 4 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001772/0.1538, allocations: 105.4 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1538, allocations: 4 kB / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1538, allocations: 192 / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1538, allocations: 4 kB / 476.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.1539, allocations: 23.97 kB / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.1539, allocations: 0 / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.154, allocations: 7.984 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.154, allocations: 0 / 476.3 MB, free: 8.637 MB / 350.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.1541, allocations: 130.3 kB / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.1541, allocations: 7.906 kB / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.1542, allocations: 16.86 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1542, allocations: 4 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1542, allocations: 4 kB / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1542, allocations: 0 / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.1546, allocations: 391.3 kB / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1546, allocations: 3.984 kB / 476.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-05/0.1547, allocations: 20.3 kB / 476.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1547, allocations: 4 kB / 476.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1547, allocations: 0 / 476.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1547, allocations: 4 kB / 476.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1547, allocations: 4.031 kB / 476.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.1549, allocations: 213.9 kB / 477.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.155, allocations: 89 kB / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.155, allocations: 4 kB / 477.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.1551, allocations: 4 kB / 477.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.1551, allocations: 15.92 kB / 477.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.1551, allocations: 4 kB / 477.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.1553, allocations: 143.1 kB / 477.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1553, allocations: 0 / 477.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1555, allocations: 31.94 kB / 477.4 MB, free: 7.449 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009587/0.1565, allocations: 473.4 kB / 477.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.1567, allocations: 55.91 kB / 477.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1567, allocations: 0 / 477.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.481e-05/0.1568, allocations: 28 kB / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.157, allocations: 23.97 kB / 478 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.1574, allocations: 242.4 kB / 478.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.1577, allocations: 0.7082 MB / 478.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.351e-05/0.1578, allocations: 13.19 kB / 478.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.1578, allocations: 23.42 kB / 478.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1578, allocations: 0 / 478.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of Templates: time 0.003992/0.1618, allocations: 1.585 MB / 480.5 MB, free: 4.449 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches