Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 102.3 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4199/0.4199, allocations: 43.48 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 55.92 kB / 429.3 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1251, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002888/0.1281, allocations: 1.779 MB / 488.8 MB, free: 10.74 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1293, allocations: 0.7884 MB / 489.6 MB, free: 9.941 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.001e-05/0.1293, allocations: 7.938 kB / 489.6 MB, free: 9.934 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.1297, allocations: 111.7 kB / 489.7 MB, free: 9.824 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.1299, allocations: 67.78 kB / 489.8 MB, free: 9.758 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.1301, allocations: 79.84 kB / 489.9 MB, free: 9.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.1303, allocations: 111.7 kB / 490 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.1304, allocations: 15.98 kB / 490 MB, free: 9.555 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.954e-05/0.1305, allocations: 63.75 kB / 490 MB, free: 9.492 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1306, allocations: 63.75 kB / 490.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.1306, allocations: 4 kB / 490.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.226e-05/0.1307, allocations: 43.92 kB / 490.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.163e-05/0.1308, allocations: 31.89 kB / 490.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.1308, allocations: 35.69 kB / 490.2 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.131, allocations: 143.8 kB / 490.4 MB, free: 9.176 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1311, allocations: 0 / 490.4 MB, free: 9.176 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.1311, allocations: 3.938 kB / 490.4 MB, free: 9.172 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.666e-06/0.1311, allocations: 0 / 490.4 MB, free: 9.172 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005483/0.1316, allocations: 442.7 kB / 490.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1317, allocations: 8.031 kB / 490.8 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.1317, allocations: 12.84 kB / 490.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.132, allocations: 235.6 kB / 491 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.132, allocations: 384 / 491 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.132, allocations: 12.12 kB / 491.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1322, allocations: 69.66 kB / 491.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1322, allocations: 3.906 kB / 491.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.1322, allocations: 0 / 491.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1322, allocations: 0 / 491.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.523e-05/0.1323, allocations: 39.91 kB / 491.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.1327, allocations: 308.8 kB / 491.5 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.1329, allocations: 78.77 kB / 491.5 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.548e-05/0.133, allocations: 28.84 kB / 491.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.133, allocations: 11.92 kB / 491.6 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.1332, allocations: 75.38 kB / 491.7 MB, free: 7.707 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.1332, allocations: 4 kB / 491.7 MB, free: 7.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005626/0.1338, allocations: 221.3 kB / 491.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.1339, allocations: 59.39 kB / 491.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.1341, allocations: 246.5 kB / 492.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.1341, allocations: 25.7 kB / 492.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.1342, allocations: 112.1 kB / 492.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.1342, allocations: 43.53 kB / 492.4 MB, free: 6.969 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.1343, allocations: 25.7 kB / 492.4 MB, free: 6.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1344, allocations: 330.8 kB / 492.7 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.927e-05/0.1345, allocations: 31.98 kB / 492.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.558e-05/0.1346, allocations: 49.64 kB / 492.8 MB, free: 6.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.1347, allocations: 77.7 kB / 492.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1347, allocations: 0 / 492.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000215/0.1349, allocations: 141.4 kB / 493 MB, free: 6.293 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1349, allocations: 4 kB / 493 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.135, allocations: 0 / 493 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.135, allocations: 4 kB / 493 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.546e-05/0.1351, allocations: 23.97 kB / 493 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1351, allocations: 3.938 kB / 493 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.1e-05/0.1351, allocations: 4 kB / 493 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.1351, allocations: 4.078 kB / 493 MB, free: 6.25 MB / 378.7 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 (13): * Single equations (assignments): 13 * 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.000107/0.1353, allocations: 141.8 kB / 493.2 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.1353, allocations: 19.84 kB / 493.2 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.1353, allocations: 25.38 kB / 493.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1354, allocations: 4 kB / 493.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1354, allocations: 3.938 kB / 493.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1354, allocations: 0 / 493.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004611/0.1358, allocations: 443.2 kB / 493.7 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1358, allocations: 0 / 493.7 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-05/0.1359, allocations: 23.91 kB / 493.7 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1359, allocations: 7.984 kB / 493.7 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1359, allocations: 8.031 kB / 493.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1359, allocations: 3.938 kB / 493.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1359, allocations: 4 kB / 493.7 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.1365, allocations: 0.8222 MB / 494.5 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.1366, allocations: 92.92 kB / 494.6 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.1366, allocations: 4 kB / 494.6 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.1367, allocations: 0 / 494.6 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.1367, allocations: 11.98 kB / 494.6 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.1367, allocations: 4 kB / 494.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001333/0.1369, allocations: 188.2 kB / 494.8 MB, free: 4.312 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1369, allocations: 4 kB / 494.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003355/0.1372, allocations: 31.92 kB / 494.9 MB, free: 4.277 MB / 378.7 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 (11): * Single equations (assignments): 9 * 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.0009404/0.1382, allocations: 481.5 kB / 495.3 MB, free: 3.855 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.1384, allocations: 79.91 kB / 495.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1384, allocations: 4.062 kB / 495.4 MB, free: 3.773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.302e-05/0.1385, allocations: 39.92 kB / 495.4 MB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.1388, allocations: 31.97 kB / 495.5 MB, free: 3.703 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.1394, allocations: 460.6 kB / 495.9 MB, free: 3.215 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.1397, allocations: 0.7204 MB / 496.6 MB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.1397, allocations: 29 kB / 496.7 MB, free: 2.441 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.1398, allocations: 23.44 kB / 496.7 MB, free: 2.418 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1398, allocations: 0 / 496.7 MB, free: 2.418 MB / 378.7 MB Notification: Performance of Templates: time 0.004127/0.1439, allocations: 1.883 MB / 498.6 MB, free: 0.543 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches