Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 104.1 kB / 17.32 MB, free: 5.984 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.001716/0.001716, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.399/1.399, allocations: 222.9 MB / 241.9 MB, free: 13.7 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.2154/0.2154, allocations: 44.18 MB / 336.2 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.92 kB / 407.9 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1208, allocations: 60.84 MB / 468.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003271/0.1242, allocations: 1.629 MB / 470.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1256, allocations: 0.9998 MB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.1257, allocations: 0 / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.1259, allocations: 27.91 kB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.1261, allocations: 27.92 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.1263, allocations: 79.78 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.1265, allocations: 71.81 kB / 471.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.564e-05/0.1266, allocations: 16.19 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.053e-05/0.1266, allocations: 27.86 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.1268, allocations: 31.84 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.1268, allocations: 4 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.152e-05/0.1269, allocations: 51.97 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.1269, allocations: 8 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.127, allocations: 35.72 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1271, allocations: 92.06 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1272, allocations: 7.984 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1272, allocations: 0 / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1272, allocations: 0 / 471.8 MB, free: 11.56 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.0004035/0.1276, allocations: 391.2 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.1276, allocations: 8.031 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.1277, allocations: 8.844 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.1278, allocations: 184.2 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.1278, allocations: 4.359 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1279, allocations: 4.375 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.128, allocations: 87.25 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.128, allocations: 3.906 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1281, allocations: 4 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1281, allocations: 0 / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.847e-05/0.1282, allocations: 27.97 kB / 472.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.1285, allocations: 300.8 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.1286, allocations: 50.5 kB / 472.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.051e-05/0.1287, allocations: 20.97 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1287, allocations: 0 / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.1287, allocations: 30.56 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.1288, allocations: 4 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005586/0.1293, allocations: 173.2 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.1294, allocations: 77.11 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.1295, allocations: 149.7 kB / 473.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.1295, allocations: 29.7 kB / 473.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.1296, allocations: 88.14 kB / 473.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.1296, allocations: 27.55 kB / 473.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.1297, allocations: 25.72 kB / 473.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1298, allocations: 322.8 kB / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/0.1299, allocations: 23.98 kB / 473.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.89e-05/0.1299, allocations: 38.02 kB / 473.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1301, allocations: 64.89 kB / 473.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1301, allocations: 4.031 kB / 473.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001973/0.1303, allocations: 105.5 kB / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1303, allocations: 8 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1303, allocations: 0 / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.1304, allocations: 3.938 kB / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.241e-05/0.1305, allocations: 19.92 kB / 474.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.1305, allocations: 0 / 474.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.975e-05/0.1305, allocations: 7.938 kB / 474.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1305, allocations: 4 kB / 474.1 MB, free: 9.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.006e-05/0.1306, allocations: 122.4 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.1307, allocations: 7.906 kB / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.1309, allocations: 114.3 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.1309, allocations: 7.969 kB / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1309, allocations: 0 / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1309, allocations: 3.938 kB / 474.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.1314, allocations: 382.5 kB / 474.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.1314, allocations: 0 / 474.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.548e-05/0.1315, allocations: 19.98 kB / 474.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1315, allocations: 3.938 kB / 474.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1315, allocations: 0 / 474.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.1315, allocations: 0 / 474.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1315, allocations: 3.938 kB / 474.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.1317, allocations: 203.4 kB / 474.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.1318, allocations: 85.02 kB / 475 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1318, allocations: 3.938 kB / 475 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.1319, allocations: 7.984 kB / 475 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.1319, allocations: 4 kB / 475 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1319, allocations: 4 kB / 475 MB, free: 8.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.368e-05/0.132, allocations: 117.7 kB / 475.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.132, allocations: 4 kB / 475.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1323, allocations: 24 kB / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0008991/0.1332, allocations: 434.3 kB / 475.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.1334, allocations: 79.88 kB / 475.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1334, allocations: 3.938 kB / 475.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.017e-05/0.1335, allocations: 31.92 kB / 475.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1338, allocations: 15.98 kB / 475.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.1342, allocations: 209.8 kB / 475.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.1344, allocations: 0.6924 MB / 476.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.729e-05/0.1345, allocations: 16.95 kB / 476.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.1346, allocations: 23.42 kB / 476.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1346, allocations: 4 kB / 476.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of Templates: time 0.003548/0.1381, allocations: 1.42 MB / 478.1 MB, free: 5.074 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches