Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.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.CombiTable1D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15") translateModel(ModelicaTest.Tables.CombiTable1D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001319, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001406/0.001406, allocations: 189.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.442/1.442, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2333/0.2333, allocations: 43.52 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.001639/0.001639, allocations: 69.47 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1204, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test15): time 0.002772/0.1232, allocations: 1.55 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00067/0.1239, allocations: 331.4 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.749e-05/0.124, allocations: 0 / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.1243, allocations: 83.77 kB / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.1246, allocations: 63.73 kB / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.1248, allocations: 95.8 kB / 0.49 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.125, allocations: 63.83 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.1251, allocations: 15.97 kB / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.956e-05/0.1252, allocations: 39.84 kB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1253, allocations: 47.89 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.1253, allocations: 0 / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-05/0.1254, allocations: 31.98 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.1254, allocations: 19.92 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.1255, allocations: 27.73 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.1257, allocations: 91.66 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.1257, allocations: 4 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1257, allocations: 0 / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1257, allocations: 0 / 0.4903 GB, free: 9.332 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005028/0.1262, allocations: 395 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1262, allocations: 15.89 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.1263, allocations: 8.844 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.1265, allocations: 204.1 kB / 0.4909 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.1265, allocations: 384 / 0.4909 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.1266, allocations: 384 / 0.4909 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1267, allocations: 53.81 kB / 0.4909 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1267, allocations: 3.938 kB / 0.4909 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1267, allocations: 4 kB / 0.4909 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1267, allocations: 0 / 0.4909 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.51e-05/0.1268, allocations: 27.97 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.1272, allocations: 280.8 kB / 0.4912 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.1274, allocations: 54.48 kB / 0.4913 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.025e-05/0.1275, allocations: 20.8 kB / 0.4913 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1275, allocations: 0 / 0.4913 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1276, allocations: 34.66 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1276, allocations: 0 / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005063/0.1281, allocations: 149.2 kB / 0.4915 GB, free: 7.938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.1281, allocations: 55.41 kB / 0.4915 GB, free: 7.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.1283, allocations: 206.2 kB / 0.4917 GB, free: 7.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.1283, allocations: 25.7 kB / 0.4918 GB, free: 7.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.1284, allocations: 100.1 kB / 0.4918 GB, free: 7.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.1284, allocations: 19.66 kB / 0.4919 GB, free: 7.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.1285, allocations: 29.64 kB / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1286, allocations: 322.8 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/0.1287, allocations: 19.98 kB / 0.4922 GB, free: 7.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.397e-05/0.1287, allocations: 23.98 kB / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.1289, allocations: 57.02 kB / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1289, allocations: 0 / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001784/0.1291, allocations: 93.5 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1291, allocations: 4 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.1291, allocations: 0 / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1291, allocations: 0 / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.548e-05/0.1292, allocations: 16 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.1292, allocations: 3.984 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.407e-05/0.1292, allocations: 4 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1292, allocations: 0 / 0.4924 GB, free: 6.922 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 (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 8.219e-05/0.1293, allocations: 129.7 kB / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.1294, allocations: 11.91 kB / 0.4925 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.1296, allocations: 97.91 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1296, allocations: 4 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1296, allocations: 3.984 kB / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1296, allocations: 0 / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.13, allocations: 362.5 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.13, allocations: 0 / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.06e-05/0.1301, allocations: 15.94 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1301, allocations: 0 / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1301, allocations: 3.984 kB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1301, allocations: 11.88 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1301, allocations: 192 / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.1303, allocations: 187.3 kB / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.1304, allocations: 89.28 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.1304, allocations: 0 / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/0.1304, allocations: 7.938 kB / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.1305, allocations: 11.97 kB / 0.4933 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1305, allocations: 4 kB / 0.4933 GB, free: 5.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1306, allocations: 164 kB / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1306, allocations: 0 / 0.4935 GB, free: 5.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.1309, allocations: 16 kB / 0.4935 GB, free: 5.715 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 (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.0008887/0.1318, allocations: 402.5 kB / 0.4939 GB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.132, allocations: 55.97 kB / 0.4939 GB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.132, allocations: 0 / 0.4939 GB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.392e-05/0.1321, allocations: 27.98 kB / 0.4939 GB, free: 5.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1324, allocations: 19.84 kB / 0.494 GB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.1329, allocations: 225.9 kB / 0.4942 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.1331, allocations: 0.7041 MB / 0.4949 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.927e-05/0.1332, allocations: 19.92 kB / 0.4949 GB, free: 4.258 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.1332, allocations: 11.44 kB / 0.4949 GB, free: 4.246 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1332, allocations: 0 / 0.4949 GB, free: 4.246 MB / 382.1 MB Notification: Performance of Templates: time 0.003368/0.1366, allocations: 1.124 MB / 0.496 GB, free: 3.121 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches