Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.00139/0.001391, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.417/1.417, allocations: 222.9 MB / 242.9 MB, free: 15.22 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.2336/0.2336, allocations: 44.17 MB / 337.3 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 65 kB / 409.1 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1245, allocations: 60.82 MB / 469.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003536/0.1281, allocations: 1.56 MB / 471.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008404/0.129, allocations: 395.2 kB / 471.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/0.1291, allocations: 4 kB / 471.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.1293, allocations: 23.86 kB / 471.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.1296, allocations: 35.78 kB / 471.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.1299, allocations: 91.75 kB / 472 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.1301, allocations: 59.78 kB / 472.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1302, allocations: 8 kB / 472.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.406e-05/0.1303, allocations: 19.92 kB / 472.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.104e-05/0.1304, allocations: 19.86 kB / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1304, allocations: 4 kB / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.685e-05/0.1305, allocations: 31.98 kB / 472.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.1306, allocations: 15.92 kB / 472.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.1306, allocations: 19.88 kB / 472.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.1308, allocations: 67.8 kB / 472.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1308, allocations: 0 / 472.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1308, allocations: 0 / 472.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1308, allocations: 0 / 472.3 MB, free: 12.05 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.0004896/0.1313, allocations: 379.5 kB / 472.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1314, allocations: 8.031 kB / 472.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.1314, allocations: 8.844 kB / 472.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.1316, allocations: 184.2 kB / 472.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.1316, allocations: 4.375 kB / 472.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.1317, allocations: 4.375 kB / 472.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1318, allocations: 57.73 kB / 472.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1318, allocations: 3.906 kB / 472.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1318, allocations: 0 / 472.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1319, allocations: 4 kB / 472.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.493e-05/0.132, allocations: 23.92 kB / 472.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.1324, allocations: 272.9 kB / 473.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.1326, allocations: 42.56 kB / 473.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.1327, allocations: 12.86 kB / 473.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.1327, allocations: 4 kB / 473.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.1327, allocations: 38.58 kB / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.1327, allocations: 4 kB / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006178/0.1334, allocations: 137.3 kB / 473.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.1334, allocations: 51.41 kB / 473.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.1336, allocations: 142 kB / 473.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1336, allocations: 25.7 kB / 473.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.1337, allocations: 92.14 kB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.1337, allocations: 19.8 kB / 473.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.1338, allocations: 21.66 kB / 473.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1339, allocations: 322.8 kB / 474.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-05/0.134, allocations: 19.98 kB / 474.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.653e-05/0.1341, allocations: 24.05 kB / 474.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.1342, allocations: 36.84 kB / 474.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1343, allocations: 4 kB / 474.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002043/0.1345, allocations: 89.5 kB / 474.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.1345, allocations: 4 kB / 474.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1345, allocations: 0 / 474.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.1345, allocations: 4 kB / 474.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.1346, allocations: 8 kB / 474.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.1346, allocations: 3.984 kB / 474.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/0.1347, allocations: 4 kB / 474.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1347, allocations: 0 / 474.3 MB, free: 9.801 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 0.0001346/0.1348, allocations: 125.7 kB / 474.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.1349, allocations: 7.906 kB / 474.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.1351, allocations: 89.91 kB / 474.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.1352, allocations: 4.266 kB / 474.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1352, allocations: 3.938 kB / 474.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1352, allocations: 0 / 474.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005052/0.1357, allocations: 354.5 kB / 474.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1357, allocations: 320 / 474.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.1358, allocations: 8 kB / 474.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.1358, allocations: 4 kB / 474.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.1358, allocations: 7.984 kB / 474.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.1358, allocations: 3.938 kB / 474.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1358, allocations: 3.938 kB / 474.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.1361, allocations: 175.4 kB / 475 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.1362, allocations: 81.02 kB / 475.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.1362, allocations: 4 kB / 475.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.1363, allocations: 7.922 kB / 475.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.1364, allocations: 8 kB / 475.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.1364, allocations: 0 / 475.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1365, allocations: 113.6 kB / 475.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1365, allocations: 4 kB / 475.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.1368, allocations: 16 kB / 475.3 MB, free: 8.695 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.001089/0.1379, allocations: 408.6 kB / 475.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.1381, allocations: 47.91 kB / 475.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1381, allocations: 0 / 475.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.644e-05/0.1382, allocations: 19.98 kB / 475.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1386, allocations: 23.92 kB / 475.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.1391, allocations: 195.1 kB / 476 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.1394, allocations: 0.6885 MB / 476.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.1395, allocations: 19.44 kB / 476.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1395, allocations: 0 / 476.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of Templates: time 0.003696/0.1432, allocations: 1.358 MB / 478 MB, free: 6.047 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches