Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 94.72 kB / 17.35 MB, free: 6.371 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.001192/0.001192, allocations: 172.7 kB / 18.25 MB, free: 5.527 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.508/1.508, allocations: 223.3 MB / 242.3 MB, free: 14.47 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.2194/0.2194, allocations: 44.24 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 8.281 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1312, allocations: 61.93 MB / 472.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002306/0.1336, allocations: 1.417 MB / 473.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1349, allocations: 0.8382 MB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.912e-05/0.135, allocations: 4 kB / 474.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.1353, allocations: 47.86 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.1355, allocations: 55.81 kB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.1357, allocations: 94.14 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.1359, allocations: 95.69 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.057e-05/0.136, allocations: 20.22 kB / 474.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.733e-05/0.136, allocations: 35.8 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.1361, allocations: 35.77 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.1361, allocations: 4 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.57e-05/0.1362, allocations: 39.98 kB / 474.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.1363, allocations: 23.92 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.9e-05/0.1364, allocations: 65.38 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.1366, allocations: 127.8 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1366, allocations: 4 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1366, allocations: 0 / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1366, allocations: 0 / 475.2 MB, free: 10.39 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.0004905/0.1371, allocations: 429 kB / 475.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.1371, allocations: 8.031 kB / 475.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.1372, allocations: 12.84 kB / 475.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.1374, allocations: 208 kB / 475.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1374, allocations: 4.375 kB / 475.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1374, allocations: 12.12 kB / 475.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1376, allocations: 53.66 kB / 475.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1376, allocations: 7.906 kB / 475.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1376, allocations: 4 kB / 475.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1376, allocations: 0 / 475.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.085e-05/0.1377, allocations: 27.92 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.1381, allocations: 296.9 kB / 476.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.1383, allocations: 54.69 kB / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.089e-05/0.1383, allocations: 20.84 kB / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.1384, allocations: 0 / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.1385, allocations: 75.33 kB / 476.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1386, allocations: 0 / 476.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004967/0.1391, allocations: 189 kB / 476.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.1391, allocations: 51.41 kB / 476.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.1393, allocations: 262.9 kB / 476.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1394, allocations: 25.7 kB / 476.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/0.1394, allocations: 120 kB / 477 MB, free: 8.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.1395, allocations: 15.81 kB / 477 MB, free: 8.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.1395, allocations: 21.7 kB / 477 MB, free: 8.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1396, allocations: 334.8 kB / 477.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.311e-05/0.1397, allocations: 15.98 kB / 477.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.126e-05/0.1398, allocations: 37.7 kB / 477.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1399, allocations: 65.58 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1399, allocations: 0 / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001799/0.1401, allocations: 101.5 kB / 477.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1401, allocations: 11.97 kB / 477.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1401, allocations: 4 kB / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1401, allocations: 0 / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.413e-05/0.1402, allocations: 16 kB / 477.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1402, allocations: 8.125 kB / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.1403, allocations: 7.938 kB / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.1403, allocations: 4 kB / 477.6 MB, free: 7.695 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.0001042/0.1404, allocations: 137.8 kB / 477.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.1404, allocations: 11.81 kB / 477.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.1405, allocations: 25.39 kB / 477.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1405, allocations: 0 / 477.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1405, allocations: 4 kB / 477.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1405, allocations: 3.938 kB / 477.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.141, allocations: 403.2 kB / 478.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.141, allocations: 3.984 kB / 478.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.141, allocations: 11.94 kB / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.141, allocations: 0 / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1411, allocations: 7.969 kB / 478.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1411, allocations: 4.375 kB / 478.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1411, allocations: 0 / 478.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.1413, allocations: 196.3 kB / 478.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/0.1414, allocations: 92.91 kB / 478.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.1414, allocations: 15.94 kB / 478.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.1415, allocations: 4 kB / 478.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.1415, allocations: 7.984 kB / 478.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1416, allocations: 4 kB / 478.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.1417, allocations: 204.2 kB / 478.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1417, allocations: 192 / 478.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.142, allocations: 27.98 kB / 478.8 MB, free: 6.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 (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.001076/0.1431, allocations: 466.2 kB / 479.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.1433, allocations: 59.92 kB / 479.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1433, allocations: 0 / 479.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.793e-05/0.1434, allocations: 27.97 kB / 479.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.1437, allocations: 38.89 kB / 479.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005237/0.1443, allocations: 310.9 kB / 479.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.1446, allocations: 0.7199 MB / 480.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.743e-05/0.1447, allocations: 17.17 kB / 480.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.1447, allocations: 23.36 kB / 480.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1447, allocations: 0 / 480.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of Templates: time 0.004384/0.1491, allocations: 1.643 MB / 482 MB, free: 3.289 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches