Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.002057/0.002057, allocations: 192 kB / 18.55 MB, free: 4.566 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.345/1.345, allocations: 222.9 MB / 242.2 MB, free: 15.18 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.2222/0.2222, allocations: 44.19 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 64.17 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1205, allocations: 60.82 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003579/0.1241, allocations: 1.718 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1256, allocations: 0.8847 MB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.664e-05/0.1257, allocations: 4 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.1261, allocations: 87.69 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.1265, allocations: 71.73 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.1269, allocations: 115.5 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.1271, allocations: 111.7 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1272, allocations: 23.92 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.1274, allocations: 51.77 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.1275, allocations: 55.72 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.1276, allocations: 4 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.1278, allocations: 63.95 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.034e-05/0.1278, allocations: 23.92 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.992e-05/0.1279, allocations: 35.75 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.1282, allocations: 135.9 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1282, allocations: 0 / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1282, allocations: 0 / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1282, allocations: 4 kB / 472.6 MB, free: 10.98 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005532/0.1288, allocations: 426.8 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1288, allocations: 8.031 kB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.1289, allocations: 12.84 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.1291, allocations: 208 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1292, allocations: 8.359 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.1292, allocations: 8.125 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1294, allocations: 61.66 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1294, allocations: 7.984 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1294, allocations: 0 / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.1294, allocations: 0 / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.546e-05/0.1295, allocations: 27.92 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.13, allocations: 300.7 kB / 473.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.1303, allocations: 62.55 kB / 473.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.1304, allocations: 20.98 kB / 473.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1304, allocations: 4 kB / 473.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/0.1306, allocations: 71.31 kB / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.1306, allocations: 0 / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007582/0.1314, allocations: 245.1 kB / 474.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.1314, allocations: 59.34 kB / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.1316, allocations: 211.5 kB / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.1317, allocations: 29.7 kB / 474.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.1317, allocations: 104.1 kB / 474.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.1318, allocations: 31.56 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.1318, allocations: 25.7 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.132, allocations: 326.8 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.295e-05/0.132, allocations: 27.98 kB / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.451e-05/0.1321, allocations: 52.95 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.1323, allocations: 77.64 kB / 475 MB, free: 8.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1323, allocations: 4 kB / 475 MB, free: 8.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002314/0.1326, allocations: 137.4 kB / 475.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1326, allocations: 4 kB / 475.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1326, allocations: 3.938 kB / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1326, allocations: 0 / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.085e-05/0.1327, allocations: 28.02 kB / 475.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1327, allocations: 3.938 kB / 475.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.1328, allocations: 0 / 475.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.1328, allocations: 8 kB / 475.2 MB, free: 8.191 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 (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.0001076/0.1329, allocations: 133.8 kB / 475.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.1329, allocations: 15.81 kB / 475.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.133, allocations: 13.41 kB / 475.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.133, allocations: 4 kB / 475.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.133, allocations: 7.938 kB / 475.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.133, allocations: 3.984 kB / 475.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005099/0.1335, allocations: 448 kB / 475.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.1336, allocations: 4 kB / 475.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.1336, allocations: 19.98 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1336, allocations: 0 / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.1336, allocations: 0 / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1337, allocations: 8.062 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1337, allocations: 0 / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.1339, allocations: 232.9 kB / 476 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.134, allocations: 89 kB / 476.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.134, allocations: 8 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.545e-05/0.1341, allocations: 4 kB / 476.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.1342, allocations: 7.984 kB / 476.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.1342, allocations: 12 kB / 476.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1343, allocations: 160.2 kB / 476.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1343, allocations: 0 / 476.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1346, allocations: 31.98 kB / 476.4 MB, free: 6.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.001216/0.1358, allocations: 0.4987 MB / 476.9 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.1361, allocations: 91.84 kB / 476.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1361, allocations: 0 / 476.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.677e-05/0.1362, allocations: 43.86 kB / 477 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1366, allocations: 43.3 kB / 477 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/0.1371, allocations: 276.5 kB / 477.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.1374, allocations: 0.7155 MB / 478 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.361e-05/0.1375, allocations: 20.62 kB / 478 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.1375, allocations: 19.44 kB / 478.1 MB, free: 5.352 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1375, allocations: 0 / 478.1 MB, free: 5.352 MB / 350.1 MB Notification: Performance of Templates: time 0.004739/0.1423, allocations: 1.956 MB / 480 MB, free: 3.414 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches