Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 106.2 kB / 17.63 MB, free: 5.344 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.00115/0.00115, allocations: 192 kB / 18.56 MB, free: 4.434 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.307/1.307, allocations: 222.9 MB / 242.2 MB, free: 15.17 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.1975/0.1975, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001122, allocations: 63.98 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1224, allocations: 60.82 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003019/0.1255, allocations: 1.553 MB / 470.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007143/0.1263, allocations: 411.2 kB / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.814e-05/0.1264, allocations: 0 / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.1265, allocations: 23.84 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.1267, allocations: 31.86 kB / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.127, allocations: 114.4 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.1272, allocations: 59.83 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.107e-05/0.1273, allocations: 7.984 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.1273, allocations: 15.94 kB / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.526e-05/0.1274, allocations: 23.86 kB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1274, allocations: 0 / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-05/0.1275, allocations: 43.91 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.1275, allocations: 11.94 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.1276, allocations: 23.86 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.1277, allocations: 71.8 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1277, allocations: 4 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.1277, allocations: 0 / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1278, allocations: 0 / 471.6 MB, free: 11.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003955/0.1282, allocations: 367.6 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1282, allocations: 8.031 kB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.1282, allocations: 12.84 kB / 472 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.1284, allocations: 192.2 kB / 472.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-06/0.1285, allocations: 4.312 kB / 472.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.1285, allocations: 384 / 472.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1286, allocations: 53.75 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.1287, allocations: 3.906 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1287, allocations: 3.938 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1287, allocations: 0 / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1288, allocations: 27.97 kB / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.1292, allocations: 276.9 kB / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.1294, allocations: 54.48 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.342e-05/0.1294, allocations: 16.94 kB / 472.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.1295, allocations: 0 / 472.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.1295, allocations: 38.56 kB / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1295, allocations: 0 / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005537/0.1301, allocations: 145.3 kB / 472.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.1301, allocations: 51.41 kB / 472.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1303, allocations: 143.1 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.1303, allocations: 33.7 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.1304, allocations: 92.12 kB / 473.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.1304, allocations: 15.81 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.1304, allocations: 17.72 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1305, allocations: 318.8 kB / 473.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.802e-05/0.1306, allocations: 19.98 kB / 473.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.1307, allocations: 23.98 kB / 473.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.1308, allocations: 56.77 kB / 473.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1308, allocations: 0 / 473.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001829/0.131, allocations: 85.56 kB / 473.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.131, allocations: 8 kB / 473.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1311, allocations: 256 / 473.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1311, allocations: 0 / 473.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.1311, allocations: 15.98 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1312, allocations: 0 / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.451e-05/0.1312, allocations: 8 kB / 473.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.1312, allocations: 8 kB / 473.7 MB, free: 9.691 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 (5): * Single equations (assignments): 5 * 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.875e-05/0.1313, allocations: 125.7 kB / 473.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.1314, allocations: 11.84 kB / 473.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.1316, allocations: 93.95 kB / 473.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1316, allocations: 0 / 473.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1316, allocations: 4 kB / 473.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.1316, allocations: 7.984 kB / 473.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.132, allocations: 354.4 kB / 474.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1321, allocations: 0 / 474.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.1321, allocations: 11.98 kB / 474.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1321, allocations: 3.938 kB / 474.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1321, allocations: 4 kB / 474.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1321, allocations: 3.938 kB / 474.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1322, allocations: 4 kB / 474.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.1324, allocations: 179.4 kB / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.1325, allocations: 85.02 kB / 474.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.1325, allocations: 0 / 474.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.1326, allocations: 11.92 kB / 474.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.1326, allocations: 7.938 kB / 474.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1326, allocations: 4.188 kB / 474.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.137e-05/0.1327, allocations: 116.7 kB / 474.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1327, allocations: 0 / 474.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000239/0.133, allocations: 12 kB / 474.7 MB, free: 8.566 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 (5): * Single equations (assignments): 5 * 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.0009326/0.1339, allocations: 401.8 kB / 475.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.1341, allocations: 47.97 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1341, allocations: 3.938 kB / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.311e-05/0.1342, allocations: 39.91 kB / 475.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.1346, allocations: 15.62 kB / 475.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.135, allocations: 173.4 kB / 475.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.1353, allocations: 0.6963 MB / 476.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.612e-05/0.1354, allocations: 11.98 kB / 476.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.1355, allocations: 11.44 kB / 476.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1355, allocations: 0 / 476.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of Templates: time 0.004063/0.1395, allocations: 1.098 MB / 477.2 MB, free: 6.188 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches