Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 111.2 kB / 16.41 MB, free: 6.027 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.001498/0.001499, allocations: 185.8 kB / 17.34 MB, free: 5.633 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.519/1.519, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.2403/0.2403, allocations: 43.52 MB / 314.1 MB, free: 464 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.001557/0.001557, allocations: 71.89 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1227, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003689/0.1265, allocations: 1.608 MB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007558/0.1273, allocations: 339.5 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.735e-05/0.1274, allocations: 4 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.1277, allocations: 55.8 kB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.128, allocations: 47.77 kB / 0.4899 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.1284, allocations: 155.6 kB / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.1286, allocations: 75.81 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1287, allocations: 19.97 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.78e-05/0.1288, allocations: 27.92 kB / 0.4902 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1289, allocations: 39.83 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.1289, allocations: 4 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1291, allocations: 39.92 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.912e-05/0.1292, allocations: 23.91 kB / 0.4903 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/0.1292, allocations: 27.81 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.1294, allocations: 87.72 kB / 0.4904 GB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1294, allocations: 0 / 0.4904 GB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1294, allocations: 0 / 0.4904 GB, free: 9.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1294, allocations: 4 kB / 0.4904 GB, free: 9.246 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.000538/0.13, allocations: 391 kB / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.13, allocations: 15.89 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.1301, allocations: 16.78 kB / 0.4908 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.1304, allocations: 195.5 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1304, allocations: 384 / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.1304, allocations: 8.375 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1306, allocations: 61.78 kB / 0.491 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1306, allocations: 0 / 0.491 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1306, allocations: 4 kB / 0.491 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1307, allocations: 4 kB / 0.491 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.1308, allocations: 43.89 kB / 0.4911 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.1313, allocations: 308.8 kB / 0.4914 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.1315, allocations: 38.56 kB / 0.4914 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.378e-05/0.1315, allocations: 28.92 kB / 0.4914 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.1316, allocations: 4 kB / 0.4914 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.1316, allocations: 42.56 kB / 0.4915 GB, free: 7.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 3.056e-06/0.1316, allocations: 0 / 0.4915 GB, free: 7.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000803/0.1324, allocations: 229.1 kB / 0.4917 GB, free: 7.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.1325, allocations: 59.34 kB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.1327, allocations: 169.8 kB / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1327, allocations: 29.64 kB / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.14e-05/0.1328, allocations: 96.14 kB / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.1329, allocations: 23.64 kB / 0.4921 GB, free: 7.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.1329, allocations: 17.72 kB / 0.4921 GB, free: 7.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1331, allocations: 322.8 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.1332, allocations: 39.97 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.1333, allocations: 40.03 kB / 0.4925 GB, free: 6.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.1335, allocations: 92.78 kB / 0.4926 GB, free: 6.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1335, allocations: 0 / 0.4926 GB, free: 6.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002753/0.1338, allocations: 125.5 kB / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1338, allocations: 7.938 kB / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1339, allocations: 0 / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1339, allocations: 0 / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.134, allocations: 19.98 kB / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.134, allocations: 7.922 kB / 0.4927 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.1341, allocations: 4 kB / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1341, allocations: 8 kB / 0.4927 GB, free: 6.621 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 0.0001155/0.1342, allocations: 133.7 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.1343, allocations: 11.81 kB / 0.4929 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.1346, allocations: 138.3 kB / 0.493 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1346, allocations: 0 / 0.493 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1347, allocations: 7.938 kB / 0.493 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1347, allocations: 0 / 0.493 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005668/0.1352, allocations: 406.5 kB / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1352, allocations: 0 / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.78e-05/0.1353, allocations: 15.98 kB / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.1353, allocations: 11.88 kB / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.1354, allocations: 0 / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1354, allocations: 0 / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1354, allocations: 4 kB / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.1357, allocations: 215.4 kB / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.1358, allocations: 92.94 kB / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.1358, allocations: 0 / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.1359, allocations: 12 kB / 0.4937 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.1359, allocations: 11.98 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1359, allocations: 4 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.1361, allocations: 124 kB / 0.4939 GB, free: 5.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1361, allocations: 0 / 0.4939 GB, free: 5.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.1363, allocations: 27.98 kB / 0.4939 GB, free: 5.32 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.0009481/0.1373, allocations: 400.2 kB / 0.4943 GB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003112/0.1376, allocations: 99.89 kB / 0.4944 GB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1376, allocations: 0 / 0.4944 GB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.1377, allocations: 47.91 kB / 0.4944 GB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.1381, allocations: 31.62 kB / 0.4944 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.1386, allocations: 225.8 kB / 0.4946 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.1389, allocations: 0.708 MB / 0.4953 GB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.86e-05/0.1389, allocations: 11.98 kB / 0.4954 GB, free: 3.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.139, allocations: 19.44 kB / 0.4954 GB, free: 3.781 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.139, allocations: 0 / 0.4954 GB, free: 3.781 MB / 382.1 MB Notification: Performance of Templates: time 0.004413/0.1434, allocations: 1.292 MB / 0.4966 GB, free: 2.488 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches