Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 105.8 kB / 16.41 MB, free: 6.512 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.002215/0.002215, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.63/1.63, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2167/0.2167, allocations: 43.53 MB / 314.1 MB, free: 444 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.001481/0.001481, allocations: 69.45 kB / 441.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1245, allocations: 57.78 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003268/0.1278, allocations: 1.623 MB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1292, allocations: 0.9652 MB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.1293, allocations: 0 / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.1296, allocations: 27.86 kB / 0.4904 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.1298, allocations: 39.78 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.1303, allocations: 155.6 kB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.1304, allocations: 63.83 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1306, allocations: 27.97 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.599e-05/0.1306, allocations: 23.86 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.1308, allocations: 39.83 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.1308, allocations: 4 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.131, allocations: 47.98 kB / 0.4908 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.639e-05/0.1311, allocations: 19.92 kB / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.448e-05/0.1311, allocations: 31.8 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.1313, allocations: 95.58 kB / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1314, allocations: 0 / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1314, allocations: 0 / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.1314, allocations: 0 / 0.491 GB, free: 8.598 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.0007122/0.1321, allocations: 391 kB / 0.4913 GB, free: 8.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1321, allocations: 11.89 kB / 0.4914 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.1322, allocations: 12.89 kB / 0.4914 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1324, allocations: 192.2 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1324, allocations: 4.375 kB / 0.4916 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.1325, allocations: 4.375 kB / 0.4916 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.1327, allocations: 83.44 kB / 0.4916 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1327, allocations: 0 / 0.4916 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1327, allocations: 4 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1328, allocations: 0 / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.1329, allocations: 39.95 kB / 0.4917 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.1334, allocations: 304.8 kB / 0.492 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.1335, allocations: 50.48 kB / 0.492 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.904e-05/0.1336, allocations: 28.92 kB / 0.492 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.1337, allocations: 4 kB / 0.492 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1337, allocations: 34.56 kB / 0.4921 GB, free: 7.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.1337, allocations: 0 / 0.4921 GB, free: 7.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008005/0.1345, allocations: 221.4 kB / 0.4923 GB, free: 7.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.1346, allocations: 85.05 kB / 0.4924 GB, free: 6.965 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.1347, allocations: 137.8 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1348, allocations: 25.7 kB / 0.4925 GB, free: 6.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.1348, allocations: 96.09 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.1349, allocations: 23.84 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.971e-05/0.135, allocations: 17.72 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1352, allocations: 326.8 kB / 0.493 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1353, allocations: 35.97 kB / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.1354, allocations: 61.67 kB / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.1357, allocations: 88.73 kB / 0.4932 GB, free: 6.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1357, allocations: 0 / 0.4932 GB, free: 6.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002959/0.136, allocations: 121.6 kB / 0.4933 GB, free: 6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.136, allocations: 4 kB / 0.4933 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.136, allocations: 4 kB / 0.4933 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.136, allocations: 0 / 0.4933 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1362, allocations: 23.97 kB / 0.4933 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.1362, allocations: 4 kB / 0.4933 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.403e-05/0.1362, allocations: 11.88 kB / 0.4933 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1363, allocations: 11.98 kB / 0.4933 GB, free: 5.941 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 8.932e-05/0.1364, allocations: 121.7 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.1364, allocations: 7.953 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.1367, allocations: 137.9 kB / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1368, allocations: 0 / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1368, allocations: 0 / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1368, allocations: 7.938 kB / 0.4936 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000599/0.1374, allocations: 406.4 kB / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1374, allocations: 0 / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.052e-05/0.1375, allocations: 15.98 kB / 0.494 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1375, allocations: 0 / 0.494 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1375, allocations: 7.938 kB / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1375, allocations: 3.984 kB / 0.494 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1375, allocations: 4 kB / 0.494 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.1378, allocations: 219.8 kB / 0.4942 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.1379, allocations: 85.05 kB / 0.4943 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.1379, allocations: 11.94 kB / 0.4943 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.359e-05/0.138, allocations: 11.98 kB / 0.4943 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.1381, allocations: 4 kB / 0.4943 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.1381, allocations: 0 / 0.4943 GB, free: 4.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.1382, allocations: 107.2 kB / 0.4944 GB, free: 4.703 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1382, allocations: 0 / 0.4944 GB, free: 4.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.1385, allocations: 27.94 kB / 0.4945 GB, free: 4.676 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.00119/0.1397, allocations: 449.3 kB / 0.4949 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003556/0.1401, allocations: 91.86 kB / 0.495 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.1401, allocations: 0 / 0.495 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.1402, allocations: 43.97 kB / 0.495 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1406, allocations: 23.84 kB / 0.495 GB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/0.1412, allocations: 214 kB / 0.4952 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.1416, allocations: 0.6924 MB / 0.4959 GB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.1417, allocations: 27.97 kB / 0.4959 GB, free: 3.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.1418, allocations: 15.44 kB / 0.496 GB, free: 3.121 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1418, allocations: 3.938 kB / 0.496 GB, free: 3.117 MB / 382.1 MB Notification: Performance of Templates: time 0.005235/0.147, allocations: 1.545 MB / 0.4975 GB, free: 1.574 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches