Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 108.7 kB / 16.41 MB, free: 6.488 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.001446/0.001446, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.637/1.637, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.2526/0.2526, allocations: 43.53 MB / 314.1 MB, free: 456 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.001364/0.001364, allocations: 70.25 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1256, allocations: 57.8 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002983/0.1287, allocations: 1.612 MB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006686/0.1294, allocations: 347.5 kB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.72e-05/0.1294, allocations: 3.938 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.1297, allocations: 51.8 kB / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.1299, allocations: 51.77 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.1303, allocations: 155.7 kB / 0.4901 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.1305, allocations: 71.75 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1306, allocations: 27.95 kB / 0.4901 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.216e-05/0.1306, allocations: 31.91 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.912e-05/0.1307, allocations: 35.84 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.1308, allocations: 8 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.673e-05/0.1308, allocations: 31.98 kB / 0.4902 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.1309, allocations: 31.84 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.131, allocations: 23.81 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.1311, allocations: 87.72 kB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.1311, allocations: 0 / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1311, allocations: 0 / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.1312, allocations: 4 kB / 0.4904 GB, free: 9.207 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.0004793/0.1316, allocations: 387.1 kB / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1317, allocations: 19.89 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.1317, allocations: 8.844 kB / 0.4908 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.1319, allocations: 200 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1319, allocations: 8.312 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.132, allocations: 4.375 kB / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.1321, allocations: 61.8 kB / 0.491 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1322, allocations: 0 / 0.491 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1322, allocations: 0 / 0.491 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1322, allocations: 4 kB / 0.4911 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.1323, allocations: 39.97 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.1328, allocations: 304.8 kB / 0.4914 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.1329, allocations: 46.55 kB / 0.4914 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.39e-05/0.133, allocations: 32.94 kB / 0.4915 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.133, allocations: 0 / 0.4915 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1331, allocations: 34.56 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.1331, allocations: 0 / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007464/0.1338, allocations: 233.1 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.1339, allocations: 51.41 kB / 0.4918 GB, free: 7.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.134, allocations: 169.8 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.134, allocations: 25.7 kB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.1341, allocations: 100.1 kB / 0.492 GB, free: 7.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.1341, allocations: 23.66 kB / 0.4921 GB, free: 7.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.1342, allocations: 17.72 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1343, allocations: 322.8 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.1344, allocations: 39.97 kB / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1345, allocations: 43.83 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.1347, allocations: 88.8 kB / 0.4926 GB, free: 6.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1347, allocations: 0 / 0.4926 GB, free: 6.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002701/0.135, allocations: 125.5 kB / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1351, allocations: 11.27 kB / 0.4927 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1351, allocations: 0 / 0.4927 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1351, allocations: 0 / 0.4927 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1352, allocations: 19.98 kB / 0.4927 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1352, allocations: 7.875 kB / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.771e-05/0.1353, allocations: 11.98 kB / 0.4927 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1353, allocations: 8 kB / 0.4927 GB, free: 6.586 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.35e-05/0.1354, allocations: 121.8 kB / 0.4928 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.1354, allocations: 11.81 kB / 0.4929 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.1357, allocations: 134.3 kB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1357, allocations: 3.938 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.1358, allocations: 7.938 kB / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1358, allocations: 4 kB / 0.493 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005061/0.1363, allocations: 406.8 kB / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1363, allocations: 4 kB / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.834e-05/0.1364, allocations: 19.97 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1364, allocations: 7.938 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.1364, allocations: 4 kB / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1364, allocations: 4 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1364, allocations: 80 / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.1367, allocations: 223.3 kB / 0.4936 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.1368, allocations: 89.23 kB / 0.4937 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.1368, allocations: 0 / 0.4937 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.478e-05/0.1369, allocations: 11.98 kB / 0.4937 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.137, allocations: 7.984 kB / 0.4937 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.137, allocations: 4 kB / 0.4937 GB, free: 5.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.699e-05/0.1371, allocations: 132 kB / 0.4939 GB, free: 5.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1371, allocations: 0 / 0.4939 GB, free: 5.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.1373, allocations: 20 kB / 0.4939 GB, free: 5.285 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.0008766/0.1382, allocations: 408 kB / 0.4943 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.1385, allocations: 91.88 kB / 0.4944 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1385, allocations: 0 / 0.4944 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.1386, allocations: 47.95 kB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.139, allocations: 23.8 kB / 0.4944 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.1394, allocations: 229.8 kB / 0.4947 GB, free: 4.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.1397, allocations: 0.7118 MB / 0.4954 GB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.643e-05/0.1398, allocations: 11.98 kB / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.1398, allocations: 19.42 kB / 0.4954 GB, free: 3.742 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1398, allocations: 0 / 0.4954 GB, free: 3.742 MB / 382.1 MB Notification: Performance of Templates: time 0.003704/0.1435, allocations: 1.284 MB / 0.4966 GB, free: 2.457 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches