Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001998/0.001998, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.335/1.335, allocations: 222.9 MB / 243 MB, free: 15.07 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.1892/0.1892, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 62.03 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1217, allocations: 60.83 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.00339/0.1251, allocations: 1.706 MB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.1267, allocations: 0.8847 MB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.086e-05/0.1268, allocations: 4 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.1271, allocations: 31.77 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.1274, allocations: 59.75 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.1277, allocations: 107.4 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1279, allocations: 103.7 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.128, allocations: 12.23 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.71e-05/0.1281, allocations: 39.78 kB / 473.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.598e-05/0.1282, allocations: 31.84 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.1282, allocations: 4 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.942e-05/0.1283, allocations: 47.92 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.1284, allocations: 11.94 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.801e-05/0.1284, allocations: 39.72 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.1286, allocations: 115.6 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1287, allocations: 4 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1287, allocations: 0 / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1287, allocations: 0 / 473.9 MB, free: 10.42 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.000562/0.1292, allocations: 407 kB / 474.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1293, allocations: 8.031 kB / 474.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.1293, allocations: 12.84 kB / 474.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.1296, allocations: 207.9 kB / 474.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.1296, allocations: 12.36 kB / 474.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.1297, allocations: 8.125 kB / 474.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.1298, allocations: 53.67 kB / 474.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1299, allocations: 0 / 474.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1299, allocations: 4 kB / 474.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1299, allocations: 0 / 474.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.77e-05/0.13, allocations: 19.97 kB / 474.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.1304, allocations: 288.8 kB / 474.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.1305, allocations: 54.69 kB / 474.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.585e-05/0.1306, allocations: 24.84 kB / 475 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1306, allocations: 3.938 kB / 475 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.1308, allocations: 63.39 kB / 475 MB, free: 9.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1308, allocations: 3.938 kB / 475 MB, free: 9.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005741/0.1314, allocations: 173.2 kB / 475.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.1314, allocations: 55.41 kB / 475.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.1316, allocations: 190.1 kB / 475.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1317, allocations: 29.7 kB / 475.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.1317, allocations: 96.14 kB / 475.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.1318, allocations: 27.64 kB / 475.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.1318, allocations: 21.72 kB / 475.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.132, allocations: 330.8 kB / 475.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.545e-05/0.1321, allocations: 23.98 kB / 476 MB, free: 8.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-05/0.1321, allocations: 33.7 kB / 476 MB, free: 8.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.1323, allocations: 57.7 kB / 476.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1323, allocations: 4.312 kB / 476.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001772/0.1324, allocations: 101.5 kB / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.1325, allocations: 12.03 kB / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1325, allocations: 0 / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1325, allocations: 0 / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.559e-05/0.1326, allocations: 23.92 kB / 476.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1326, allocations: 4 kB / 476.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.1327, allocations: 3.938 kB / 476.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.1327, allocations: 4 kB / 476.2 MB, free: 7.871 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 9.558e-05/0.1328, allocations: 125.8 kB / 476.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.1328, allocations: 7.906 kB / 476.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.831e-05/0.1329, allocations: 24.89 kB / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.1329, allocations: 0 / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1329, allocations: 3.938 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1329, allocations: 3.938 kB / 476.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.1333, allocations: 387.3 kB / 476.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1334, allocations: 0 / 476.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.1334, allocations: 8 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1334, allocations: 0 / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1334, allocations: 3.938 kB / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.1334, allocations: 12.02 kB / 476.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1334, allocations: 3.938 kB / 476.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.1337, allocations: 212.3 kB / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.1338, allocations: 81.02 kB / 477.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.1338, allocations: 7.938 kB / 477.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.922e-05/0.1339, allocations: 0 / 477.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.134, allocations: 15.98 kB / 477.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.134, allocations: 4 kB / 477.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1341, allocations: 143.2 kB / 477.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1341, allocations: 4 kB / 477.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1344, allocations: 24 kB / 477.3 MB, free: 6.711 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.001116/0.1355, allocations: 458.6 kB / 477.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.1357, allocations: 55.97 kB / 477.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.1357, allocations: 0 / 477.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.695e-05/0.1358, allocations: 35.86 kB / 477.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1362, allocations: 31.92 kB / 477.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.1367, allocations: 231.2 kB / 478.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.137, allocations: 0.7041 MB / 478.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.768e-05/0.1371, allocations: 13.19 kB / 478.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.1372, allocations: 19.42 kB / 478.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1372, allocations: 4 kB / 478.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of Templates: time 0.004585/0.1418, allocations: 1.701 MB / 480.5 MB, free: 3.613 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches