Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008602/0.00086, allocations: 97.05 kB / 17 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.0008638/0.0008638, allocations: 185.6 kB / 17.89 MB, free: 5.934 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.426/1.426, allocations: 223.2 MB / 241.9 MB, free: 340 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.2304/0.2304, allocations: 44.25 MB / 337.3 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003094, allocations: 12.78 kB / 409.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1259, allocations: 61.92 MB / 471.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002368/0.1283, allocations: 1.398 MB / 473 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1298, allocations: 0.8036 MB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.918e-05/0.1299, allocations: 0 / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.1302, allocations: 39.89 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.1305, allocations: 51.75 kB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.1308, allocations: 95.45 kB / 474 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.1309, allocations: 79.7 kB / 474.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.131, allocations: 8.234 kB / 474.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.236e-05/0.1311, allocations: 43.83 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.902e-05/0.1312, allocations: 23.8 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.1313, allocations: 4 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.525e-05/0.1314, allocations: 35.98 kB / 474.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.174e-05/0.1314, allocations: 15.91 kB / 474.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.1315, allocations: 45.64 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.1316, allocations: 80.11 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1316, allocations: 0 / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1317, allocations: 4 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1317, allocations: 0 / 474.3 MB, free: 11 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.0005766/0.1323, allocations: 402.9 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1323, allocations: 11.97 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.1323, allocations: 15.81 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1326, allocations: 199.6 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.1326, allocations: 19.98 kB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.1327, allocations: 0 / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1328, allocations: 61.56 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1328, allocations: 0 / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1329, allocations: 4 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1329, allocations: 0 / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.295e-05/0.133, allocations: 15.98 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.1334, allocations: 288.9 kB / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1336, allocations: 66.61 kB / 475.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.1336, allocations: 16.86 kB / 475.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1336, allocations: 0 / 475.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.1338, allocations: 63.39 kB / 475.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.1339, allocations: 8 kB / 475.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000592/0.1345, allocations: 177 kB / 475.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.1345, allocations: 55.41 kB / 475.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.1347, allocations: 195.3 kB / 475.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1348, allocations: 25.7 kB / 475.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.1348, allocations: 104.1 kB / 476 MB, free: 9.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.1349, allocations: 23.7 kB / 476 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.1349, allocations: 4 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.135, allocations: 326.8 kB / 476.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.505e-05/0.1351, allocations: 20 kB / 476.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.04e-05/0.1352, allocations: 37.64 kB / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.228e-05/0.1353, allocations: 31.92 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1353, allocations: 0 / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001748/0.1355, allocations: 97.53 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1355, allocations: 10.38 kB / 476.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1355, allocations: 0 / 476.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1355, allocations: 4 kB / 476.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/0.1356, allocations: 15.98 kB / 476.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1356, allocations: 160 / 476.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.1357, allocations: 4 kB / 476.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1357, allocations: 7.984 kB / 476.6 MB, free: 8.5 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.0001307/0.1358, allocations: 134.5 kB / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.1359, allocations: 11.81 kB / 476.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.1359, allocations: 25.34 kB / 476.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1359, allocations: 3.984 kB / 476.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1359, allocations: 0 / 476.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.136, allocations: 0 / 476.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.1364, allocations: 395.7 kB / 477.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1364, allocations: 0 / 477.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.1365, allocations: 15.94 kB / 477.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1365, allocations: 0 / 477.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1365, allocations: 8.031 kB / 477.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1365, allocations: 3.984 kB / 477.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1365, allocations: 0 / 477.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.1367, allocations: 208.1 kB / 477.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.051e-05/0.1368, allocations: 85.02 kB / 477.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.1368, allocations: 4 kB / 477.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.1369, allocations: 11.98 kB / 477.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.137, allocations: 7.938 kB / 477.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.137, allocations: 4 kB / 477.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1371, allocations: 148.9 kB / 477.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1371, allocations: 0 / 477.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1374, allocations: 23.98 kB / 477.7 MB, free: 7.328 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.001116/0.1385, allocations: 474.5 kB / 478.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.1387, allocations: 59.91 kB / 478.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1387, allocations: 0 / 478.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-05/0.1388, allocations: 24 kB / 478.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.1391, allocations: 31.98 kB / 478.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.1396, allocations: 246.4 kB / 478.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.14, allocations: 0.7121 MB / 479.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.547e-05/0.14, allocations: 13.19 kB / 479.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.1401, allocations: 23.36 kB / 479.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1401, allocations: 0 / 479.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of Templates: time 0.004719/0.1448, allocations: 1.595 MB / 480.8 MB, free: 4.305 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches