Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 115.9 kB / 17.08 MB, free: 6.012 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.001239/0.00124, allocations: 195 kB / 18.01 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2205/0.2205, allocations: 43.52 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.91 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1307, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003374/0.1342, allocations: 1.624 MB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006913/0.1349, allocations: 339.5 kB / 0.4905 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.729e-05/0.135, allocations: 0 / 0.4905 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.1354, allocations: 67.78 kB / 0.4905 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.1357, allocations: 67.73 kB / 0.4906 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.1362, allocations: 155.7 kB / 0.4907 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.1364, allocations: 75.77 kB / 0.4908 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1365, allocations: 27.95 kB / 0.4908 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.567e-05/0.1366, allocations: 31.91 kB / 0.4909 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.1368, allocations: 55.81 kB / 0.4909 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1368, allocations: 0 / 0.4909 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1369, allocations: 39.92 kB / 0.491 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.1371, allocations: 23.92 kB / 0.491 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.1371, allocations: 31.73 kB / 0.491 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.1374, allocations: 95.72 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.1374, allocations: 7.984 kB / 0.4911 GB, free: 9.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1374, allocations: 0 / 0.4911 GB, free: 9.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1374, allocations: 0 / 0.4911 GB, free: 9.176 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005397/0.1379, allocations: 406.9 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.138, allocations: 11.89 kB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.138, allocations: 8.844 kB / 0.4915 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.1383, allocations: 204 kB / 0.4917 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.1383, allocations: 4.375 kB / 0.4917 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.1384, allocations: 8.359 kB / 0.4917 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.1386, allocations: 69.78 kB / 0.4918 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1386, allocations: 0 / 0.4918 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1386, allocations: 0 / 0.4918 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1387, allocations: 4 kB / 0.4918 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.1388, allocations: 39.95 kB / 0.4918 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.1393, allocations: 312.7 kB / 0.4921 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.1394, allocations: 50.66 kB / 0.4922 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.062e-05/0.1395, allocations: 28.83 kB / 0.4922 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.1395, allocations: 0 / 0.4922 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1396, allocations: 30.56 kB / 0.4922 GB, free: 7.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1396, allocations: 0 / 0.4922 GB, free: 7.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009026/0.1405, allocations: 237.1 kB / 0.4925 GB, free: 7.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.1405, allocations: 51.41 kB / 0.4925 GB, free: 7.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.1407, allocations: 207.3 kB / 0.4927 GB, free: 7.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.1407, allocations: 25.7 kB / 0.4927 GB, free: 7.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.1408, allocations: 116 kB / 0.4928 GB, free: 7.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.1409, allocations: 19.66 kB / 0.4929 GB, free: 7.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.1409, allocations: 21.7 kB / 0.4929 GB, free: 7.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.141, allocations: 330.7 kB / 0.4932 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1412, allocations: 39.91 kB / 0.4932 GB, free: 6.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1413, allocations: 39.97 kB / 0.4933 GB, free: 6.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.1416, allocations: 92.73 kB / 0.4934 GB, free: 6.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1416, allocations: 0 / 0.4934 GB, free: 6.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002766/0.1419, allocations: 125.5 kB / 0.4935 GB, free: 6.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1419, allocations: 4 kB / 0.4935 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1419, allocations: 0 / 0.4935 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.142, allocations: 4 kB / 0.4935 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1421, allocations: 23.92 kB / 0.4935 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1421, allocations: 0 / 0.4935 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.1422, allocations: 15.92 kB / 0.4935 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1422, allocations: 0 / 0.4935 GB, free: 6.469 MB / 382.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 (7): * Single equations (assignments): 7 * 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.381e-05/0.1423, allocations: 133.8 kB / 0.4936 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.1423, allocations: 11.81 kB / 0.4937 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/0.1427, allocations: 147 kB / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.1427, allocations: 0 / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1427, allocations: 0 / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1427, allocations: 3.938 kB / 0.4938 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.1433, allocations: 410.4 kB / 0.4942 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1433, allocations: 4 kB / 0.4942 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.249e-05/0.1434, allocations: 23.98 kB / 0.4942 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1434, allocations: 0 / 0.4942 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1434, allocations: 3.938 kB / 0.4942 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1434, allocations: 4.453 kB / 0.4942 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1434, allocations: 0 / 0.4942 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.1438, allocations: 227.3 kB / 0.4944 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.1438, allocations: 85 kB / 0.4945 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.1438, allocations: 3.938 kB / 0.4945 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.422e-05/0.1439, allocations: 11.98 kB / 0.4945 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.144, allocations: 8 kB / 0.4946 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.144, allocations: 288 / 0.4946 GB, free: 5.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1441, allocations: 155.9 kB / 0.4947 GB, free: 5.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1441, allocations: 0 / 0.4947 GB, free: 5.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.1444, allocations: 24 kB / 0.4947 GB, free: 5.125 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0009463/0.1453, allocations: 418.9 kB / 0.4951 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.1456, allocations: 95.84 kB / 0.4952 GB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1456, allocations: 0 / 0.4952 GB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.1458, allocations: 47.97 kB / 0.4953 GB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.1462, allocations: 23.12 kB / 0.4953 GB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.1467, allocations: 276.4 kB / 0.4955 GB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.147, allocations: 0.7119 MB / 0.4962 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.147, allocations: 11.44 kB / 0.4963 GB, free: 3.535 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.147, allocations: 0 / 0.4963 GB, free: 3.535 MB / 382.1 MB Notification: Performance of Templates: time 0.003994/0.151, allocations: 1.732 MB / 0.4979 GB, free: 1.809 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches