Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008832/0.0008828, allocations: 90 kB / 17.35 MB, free: 6.027 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.0008549/0.000855, allocations: 178.5 kB / 18.26 MB, free: 5.387 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.447/1.447, allocations: 223.3 MB / 242.3 MB, free: 76 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.2267/0.2267, allocations: 44.25 MB / 337.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004642, allocations: 12.48 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1429, allocations: 61.93 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003386/0.1464, allocations: 1.417 MB / 473.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.1485, allocations: 0.8421 MB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.1487, allocations: 0 / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005016/0.1492, allocations: 35.89 kB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.1496, allocations: 47.83 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.1501, allocations: 91.77 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.1504, allocations: 95.69 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.1506, allocations: 12.23 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.1507, allocations: 35.78 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.1509, allocations: 31.84 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.1509, allocations: 0 / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.1511, allocations: 43.92 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.594e-05/0.1512, allocations: 19.92 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.48e-05/0.1513, allocations: 57.44 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.1516, allocations: 111.9 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1516, allocations: 0 / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1516, allocations: 4 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1516, allocations: 0 / 475.1 MB, free: 10.47 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.0007783/0.1524, allocations: 391.2 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.1525, allocations: 11.97 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.1525, allocations: 12.84 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.1529, allocations: 211.9 kB / 475.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.1529, allocations: 4.375 kB / 475.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.1529, allocations: 4.125 kB / 475.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.1532, allocations: 61.66 kB / 475.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.1532, allocations: 0 / 475.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1532, allocations: 4 kB / 475.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1532, allocations: 0 / 475.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.165e-05/0.1533, allocations: 15.98 kB / 475.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005459/0.1539, allocations: 292.8 kB / 476.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.1541, allocations: 62.67 kB / 476.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.247e-05/0.1541, allocations: 16.86 kB / 476.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.1542, allocations: 3.984 kB / 476.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.1544, allocations: 71.33 kB / 476.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 7.795e-06/0.1544, allocations: 4 kB / 476.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006823/0.1551, allocations: 169.2 kB / 476.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.1552, allocations: 67.33 kB / 476.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.1554, allocations: 178.2 kB / 476.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.1554, allocations: 33.7 kB / 476.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/0.1555, allocations: 100.1 kB / 476.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.1556, allocations: 27.64 kB / 476.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.1557, allocations: 9.719 kB / 476.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1558, allocations: 330.8 kB / 477.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.975e-05/0.1559, allocations: 16 kB / 477.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.929e-05/0.156, allocations: 37.7 kB / 477.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.1561, allocations: 65.64 kB / 477.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1561, allocations: 0 / 477.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002158/0.1563, allocations: 101.5 kB / 477.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.1564, allocations: 6.656 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1564, allocations: 4 kB / 477.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1564, allocations: 4.031 kB / 477.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.585e-05/0.1565, allocations: 19.94 kB / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1565, allocations: 0 / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.1566, allocations: 11.92 kB / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.1566, allocations: 4 kB / 477.4 MB, free: 7.93 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.0001283/0.1567, allocations: 122 kB / 477.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.1568, allocations: 7.906 kB / 477.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.1568, allocations: 24.64 kB / 477.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1568, allocations: 0 / 477.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1568, allocations: 4 kB / 477.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1569, allocations: 3.938 kB / 477.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004888/0.1574, allocations: 391.5 kB / 477.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1574, allocations: 0 / 477.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.993e-05/0.1574, allocations: 11.98 kB / 478 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1574, allocations: 0 / 478 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1574, allocations: 3.938 kB / 478 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.1575, allocations: 4 kB / 478 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1575, allocations: 8.422 kB / 478 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.1577, allocations: 204.2 kB / 478.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.1578, allocations: 89 kB / 478.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.1578, allocations: 7.938 kB / 478.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.1579, allocations: 11.94 kB / 478.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.158, allocations: 11.98 kB / 478.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.158, allocations: 0 / 478.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.1581, allocations: 143.2 kB / 478.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1581, allocations: 0 / 478.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.1584, allocations: 27.98 kB / 478.5 MB, free: 6.766 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.001219/0.1597, allocations: 475 kB / 478.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.1599, allocations: 47.98 kB / 479 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1599, allocations: 0 / 479 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.812e-05/0.16, allocations: 35.92 kB / 479 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.1604, allocations: 27.91 kB / 479 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/0.1609, allocations: 242.5 kB / 479.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1612, allocations: 0.7121 MB / 480 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.129e-05/0.1613, allocations: 21.17 kB / 480 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.1613, allocations: 15.44 kB / 480 MB, free: 5.324 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1613, allocations: 0 / 480 MB, free: 5.324 MB / 350.1 MB Notification: Performance of Templates: time 0.004779/0.1661, allocations: 1.615 MB / 481.6 MB, free: 3.723 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches