Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001586/0.001586, allocations: 194 kB / 18.12 MB, free: 5.383 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.374/1.374, allocations: 222.9 MB / 241.8 MB, free: 15.44 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.2183/0.2183, allocations: 44.18 MB / 336.1 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 71.27 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.125, allocations: 60.81 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003065/0.1281, allocations: 1.672 MB / 470.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007832/0.1289, allocations: 451.2 kB / 470.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.129, allocations: 0 / 470.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005141/0.1295, allocations: 455.2 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.1298, allocations: 239.5 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.1302, allocations: 166.2 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.1305, allocations: 167.6 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1306, allocations: 16.19 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.1307, allocations: 99.78 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.131, allocations: 203.6 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.131, allocations: 0 / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.414e-05/0.1311, allocations: 35.97 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.1312, allocations: 83.64 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.796e-05/0.1313, allocations: 103 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.1316, allocations: 247.3 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1316, allocations: 0 / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1316, allocations: 0 / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.1316, allocations: 0 / 472.4 MB, free: 10.95 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007227/0.1323, allocations: 0.6298 MB / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1324, allocations: 8.031 kB / 473 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.374e-05/0.1325, allocations: 44.38 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.1327, allocations: 296.2 kB / 473.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1328, allocations: 8.359 kB / 473.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1328, allocations: 8.312 kB / 473.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.1329, allocations: 57.61 kB / 473.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.133, allocations: 0 / 473.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.133, allocations: 4 kB / 473.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.133, allocations: 0 / 473.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.665e-05/0.1331, allocations: 27.97 kB / 473.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.1336, allocations: 396.7 kB / 473.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.1338, allocations: 46.56 kB / 473.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.009e-05/0.1339, allocations: 16.94 kB / 473.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1339, allocations: 0 / 473.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1339, allocations: 34.56 kB / 474 MB, free: 9.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.1339, allocations: 0 / 474 MB, free: 9.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006101/0.1345, allocations: 235.9 kB / 474.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.1346, allocations: 51.41 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000799/0.1354, allocations: 0.8689 MB / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.1354, allocations: 25.7 kB / 475.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.1356, allocations: 224.1 kB / 475.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.1356, allocations: 15.81 kB / 475.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.1357, allocations: 13.72 kB / 475.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1358, allocations: 366.8 kB / 475.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.176e-05/0.1359, allocations: 19.98 kB / 475.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.947e-05/0.1359, allocations: 24.11 kB / 475.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.1361, allocations: 64.77 kB / 475.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1361, allocations: 0 / 475.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002032/0.1363, allocations: 121.1 kB / 476 MB, free: 7.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1363, allocations: 8 kB / 476 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1363, allocations: 0 / 476 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1364, allocations: 0 / 476 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.968e-05/0.1364, allocations: 11.98 kB / 476 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1364, allocations: 0 / 476 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/0.1365, allocations: 7.938 kB / 476 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.1365, allocations: 8 kB / 476 MB, free: 7.121 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.0001717/0.1367, allocations: 218.2 kB / 476.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.1367, allocations: 35.53 kB / 476.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/0.137, allocations: 141 kB / 476.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1371, allocations: 0 / 476.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1371, allocations: 0 / 476.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1371, allocations: 3.938 kB / 476.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.1376, allocations: 478.3 kB / 476.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1376, allocations: 0 / 476.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/0.1376, allocations: 15.98 kB / 476.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1377, allocations: 0 / 476.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1377, allocations: 4.125 kB / 476.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.1377, allocations: 4 kB / 476.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1377, allocations: 0 / 476.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.1379, allocations: 223 kB / 477.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.138, allocations: 108.5 kB / 477.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.138, allocations: 3.938 kB / 477.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.091e-05/0.1381, allocations: 7.984 kB / 477.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.1381, allocations: 8.219 kB / 477.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1382, allocations: 0 / 477.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000544/0.1387, allocations: 0.655 MB / 477.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1387, allocations: 0 / 477.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.139, allocations: 24 kB / 477.9 MB, free: 5.109 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.0008607/0.1398, allocations: 403.1 kB / 478.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.14, allocations: 47.97 kB / 478.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.14, allocations: 0 / 478.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.859e-05/0.1401, allocations: 39.91 kB / 478.4 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.1405, allocations: 17.97 kB / 478.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.1416, allocations: 0.875 MB / 479.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.142, allocations: 0.8262 MB / 480.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.335e-05/0.1421, allocations: 15.98 kB / 480.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.1421, allocations: 11.44 kB / 480.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1421, allocations: 4 kB / 480.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of Templates: time 0.004638/0.1467, allocations: 1.42 MB / 481.5 MB, free: 1.562 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches