Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001054, allocations: 97.28 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.001256/0.001256, allocations: 172.1 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.512/1.512, allocations: 223.2 MB / 242.3 MB, free: 232 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.2275/0.2275, allocations: 44.25 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003133, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1216, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002977/0.1247, allocations: 1.413 MB / 473.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.1267, allocations: 0.846 MB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.367e-05/0.1268, allocations: 0 / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.1271, allocations: 39.83 kB / 474.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.1273, allocations: 39.84 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.1276, allocations: 99.7 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.1278, allocations: 99.67 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.128, allocations: 8.219 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.352e-05/0.1281, allocations: 39.8 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.823e-05/0.1282, allocations: 27.86 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.1282, allocations: 3.984 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1283, allocations: 43.92 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.1284, allocations: 15.92 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.6e-05/0.1285, allocations: 61.44 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.1287, allocations: 107.9 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.1288, allocations: 0 / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1288, allocations: 0 / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1288, allocations: 0 / 475.1 MB, free: 10.48 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.0006025/0.1294, allocations: 399.2 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.1294, allocations: 8.031 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.1295, allocations: 8.844 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1298, allocations: 215.9 kB / 475.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.1298, allocations: 4.375 kB / 475.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.1299, allocations: 8.125 kB / 475.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.1301, allocations: 53.67 kB / 475.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1301, allocations: 0 / 475.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.1301, allocations: 4 kB / 475.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.1301, allocations: 4 kB / 475.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.669e-05/0.1302, allocations: 19.98 kB / 475.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000508/0.1307, allocations: 288.8 kB / 476.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.1309, allocations: 50.69 kB / 476.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.866e-05/0.131, allocations: 28.84 kB / 476.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.131, allocations: 0 / 476.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.1313, allocations: 67.39 kB / 476.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1313, allocations: 7.875 kB / 476.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006052/0.1319, allocations: 169.2 kB / 476.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.132, allocations: 55.41 kB / 476.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1321, allocations: 194.1 kB / 476.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1322, allocations: 25.7 kB / 476.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.1322, allocations: 108.1 kB / 476.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.1323, allocations: 19.66 kB / 476.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.1323, allocations: 13.72 kB / 476.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1324, allocations: 326.8 kB / 477.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.469e-05/0.1325, allocations: 23.98 kB / 477.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.857e-05/0.1326, allocations: 37.64 kB / 477.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.1327, allocations: 65.77 kB / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1327, allocations: 4 kB / 477.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001648/0.1329, allocations: 97.44 kB / 477.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1329, allocations: 4 kB / 477.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1329, allocations: 0 / 477.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1329, allocations: 4 kB / 477.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.955e-05/0.133, allocations: 19.92 kB / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.133, allocations: 4.031 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.1331, allocations: 11.94 kB / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1331, allocations: 4 kB / 477.4 MB, free: 7.941 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.139e-05/0.1332, allocations: 121.8 kB / 477.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.1332, allocations: 7.906 kB / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.1333, allocations: 12.72 kB / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1333, allocations: 4 kB / 477.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.1333, allocations: 3.984 kB / 477.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1333, allocations: 3.938 kB / 477.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.1337, allocations: 391.3 kB / 477.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1337, allocations: 4 kB / 477.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/0.1338, allocations: 8 kB / 477.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1338, allocations: 3.984 kB / 477.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.1338, allocations: 7.938 kB / 478 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1338, allocations: 384 / 478 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1338, allocations: 4 kB / 478 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.134, allocations: 212.1 kB / 478.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.167e-05/0.1341, allocations: 89.02 kB / 478.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.1341, allocations: 11.88 kB / 478.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.1342, allocations: 7.984 kB / 478.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.1343, allocations: 0 / 478.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.1343, allocations: 8 kB / 478.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.1345, allocations: 151.2 kB / 478.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1345, allocations: 0 / 478.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003865/0.1349, allocations: 24 kB / 478.5 MB, free: 6.777 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.001494/0.1364, allocations: 466.5 kB / 478.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.1366, allocations: 55.98 kB / 479 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1366, allocations: 0 / 479 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.626e-05/0.1367, allocations: 28.08 kB / 479 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.1372, allocations: 38.72 kB / 479 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.1378, allocations: 242.5 kB / 479.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.1381, allocations: 0.7043 MB / 480 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.525e-05/0.1382, allocations: 20.88 kB / 480 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.1382, allocations: 23.42 kB / 480 MB, free: 5.336 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1383, allocations: 0 / 480 MB, free: 5.336 MB / 350.1 MB Notification: Performance of Templates: time 0.005719/0.144, allocations: 1.619 MB / 481.6 MB, free: 3.734 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches