Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 107.7 kB / 17.21 MB, free: 6.289 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.001237/0.001237, allocations: 194 kB / 18.12 MB, free: 5.379 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.477/1.477, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2221/0.2221, allocations: 44.18 MB / 336.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 71.45 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1362, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.005163/0.1414, allocations: 1.761 MB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1434, allocations: 0.8615 MB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.1436, allocations: 3.938 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005004/0.1441, allocations: 39.88 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.1445, allocations: 51.77 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.1448, allocations: 99.7 kB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.145, allocations: 87.7 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.1452, allocations: 20.2 kB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.1454, allocations: 35.8 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.1455, allocations: 27.86 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1456, allocations: 4 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1457, allocations: 43.97 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-05/0.1458, allocations: 19.92 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.1458, allocations: 35.67 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.1461, allocations: 111.9 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.1461, allocations: 0 / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1462, allocations: 0 / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1462, allocations: 0 / 471.7 MB, free: 11.62 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.0008207/0.147, allocations: 419 kB / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.1471, allocations: 11.97 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.838e-05/0.1471, allocations: 8.844 kB / 472.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.1475, allocations: 212.8 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.1476, allocations: 4.375 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.1476, allocations: 8.062 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.1478, allocations: 53.67 kB / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1478, allocations: 0 / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1478, allocations: 4 kB / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1479, allocations: 4 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.522e-05/0.1479, allocations: 15.98 kB / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.1484, allocations: 300.8 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.1486, allocations: 58.61 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.1486, allocations: 16.86 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.1487, allocations: 4 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.1489, allocations: 67.39 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1489, allocations: 0 / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006052/0.1496, allocations: 181.1 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1496, allocations: 51.41 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.1498, allocations: 195.3 kB / 473.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.1499, allocations: 37.7 kB / 473.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.849e-05/0.1499, allocations: 100.1 kB / 473.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.15, allocations: 23.7 kB / 473.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.15, allocations: 21.72 kB / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1502, allocations: 330.8 kB / 473.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-05/0.1502, allocations: 19.92 kB / 473.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.068e-05/0.1503, allocations: 41.64 kB / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.1504, allocations: 57.72 kB / 473.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1505, allocations: 0 / 473.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002152/0.1507, allocations: 105.6 kB / 474 MB, free: 9.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1507, allocations: 4 kB / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1507, allocations: 0 / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.1507, allocations: 0 / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1509, allocations: 23.98 kB / 474 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1509, allocations: 0 / 474 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.612e-05/0.151, allocations: 11.91 kB / 474.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.151, allocations: 4 kB / 474.1 MB, free: 9.035 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 ($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.0001369/0.1511, allocations: 140.4 kB / 474.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.1511, allocations: 11.81 kB / 474.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/0.1512, allocations: 13.41 kB / 474.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1512, allocations: 4 kB / 474.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.1512, allocations: 0 / 474.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.1513, allocations: 7.922 kB / 474.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.1518, allocations: 395.3 kB / 474.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1518, allocations: 0 / 474.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.575e-05/0.1518, allocations: 8.375 kB / 474.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1518, allocations: 0 / 474.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.1519, allocations: 7.938 kB / 474.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1519, allocations: 4 kB / 474.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1519, allocations: 0 / 474.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.1522, allocations: 216.1 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.1523, allocations: 85.02 kB / 474.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.1523, allocations: 3.938 kB / 474.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.1524, allocations: 8 kB / 474.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.1525, allocations: 7.984 kB / 475 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1525, allocations: 0 / 475 MB, free: 8.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.1526, allocations: 152.9 kB / 475.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1526, allocations: 4 kB / 475.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.1529, allocations: 24 kB / 475.1 MB, free: 7.863 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 (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.001165/0.1541, allocations: 469.7 kB / 475.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.1543, allocations: 63.92 kB / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1543, allocations: 0 / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.916e-05/0.1544, allocations: 27.92 kB / 475.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1548, allocations: 24.3 kB / 475.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.1553, allocations: 253.1 kB / 475.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.1556, allocations: 0.7082 MB / 476.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.507e-05/0.1557, allocations: 12.88 kB / 476.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.1558, allocations: 23.44 kB / 476.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1558, allocations: 0 / 476.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of Templates: time 0.006402/0.1622, allocations: 1.643 MB / 478.3 MB, free: 4.797 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches