Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 111.6 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.001914/0.001914, 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.461/1.461, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2189/0.2189, allocations: 43.52 MB / 314.1 MB, free: 472 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.001366/0.001366, allocations: 67.91 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1224, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003416/0.1258, allocations: 1.546 MB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006671/0.1265, allocations: 331.4 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.1266, allocations: 0 / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.1269, allocations: 107.7 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.1272, allocations: 79.78 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.1274, allocations: 67.77 kB / 0.49 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.1276, allocations: 71.88 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1277, allocations: 19.97 kB / 0.49 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.212e-05/0.1278, allocations: 39.84 kB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.1279, allocations: 59.88 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.1279, allocations: 0 / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.465e-05/0.128, allocations: 31.98 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.067e-05/0.128, allocations: 31.78 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.1281, allocations: 31.75 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.1282, allocations: 87.72 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1283, allocations: 4 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1283, allocations: 0 / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1283, allocations: 0 / 0.4903 GB, free: 9.293 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.0004552/0.1287, allocations: 414.3 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1288, allocations: 19.81 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.1288, allocations: 8.844 kB / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.129, allocations: 204 kB / 0.4909 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.129, allocations: 4.375 kB / 0.4909 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1291, allocations: 384 / 0.4909 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.1292, allocations: 61.8 kB / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1292, allocations: 3.984 kB / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1293, allocations: 0 / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1293, allocations: 0 / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.514e-05/0.1294, allocations: 19.98 kB / 0.491 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.1297, allocations: 280.9 kB / 0.4913 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.1299, allocations: 50.48 kB / 0.4913 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.96e-05/0.13, allocations: 12.86 kB / 0.4914 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.13, allocations: 0 / 0.4914 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.13, allocations: 38.56 kB / 0.4914 GB, free: 8.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.13, allocations: 0 / 0.4914 GB, free: 8.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005521/0.1306, allocations: 153.2 kB / 0.4915 GB, free: 7.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.1307, allocations: 59.33 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.1309, allocations: 246.6 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.1309, allocations: 25.7 kB / 0.4919 GB, free: 7.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.131, allocations: 108.1 kB / 0.492 GB, free: 7.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.131, allocations: 11.81 kB / 0.492 GB, free: 7.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.1311, allocations: 17.72 kB / 0.492 GB, free: 7.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1312, allocations: 326.8 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.576e-05/0.1313, allocations: 23.98 kB / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.306e-05/0.1313, allocations: 19.92 kB / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.1315, allocations: 44.83 kB / 0.4924 GB, free: 6.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1315, allocations: 0 / 0.4924 GB, free: 6.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000173/0.1316, allocations: 81.58 kB / 0.4925 GB, free: 6.879 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1317, allocations: 4 kB / 0.4925 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1317, allocations: 8 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1317, allocations: 0 / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.879e-05/0.1318, allocations: 11.98 kB / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1318, allocations: 0 / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.1318, allocations: 15.83 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.1318, allocations: 0 / 0.4925 GB, free: 6.84 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 0.0001143/0.132, allocations: 141.7 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.132, allocations: 11.89 kB / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.1322, allocations: 98.59 kB / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1322, allocations: 0 / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1322, allocations: 320 / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.1322, allocations: 0 / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.1327, allocations: 366.4 kB / 0.4931 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1327, allocations: 0 / 0.4931 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/0.1327, allocations: 11.98 kB / 0.4931 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1327, allocations: 4 kB / 0.4931 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1327, allocations: 0 / 0.4931 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1328, allocations: 7.938 kB / 0.4931 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1328, allocations: 0 / 0.4931 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.133, allocations: 179.3 kB / 0.4933 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.133, allocations: 85.02 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.133, allocations: 3.984 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.51e-05/0.1331, allocations: 11.94 kB / 0.4934 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.1331, allocations: 0 / 0.4934 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.1332, allocations: 8 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.1333, allocations: 179.2 kB / 0.4936 GB, free: 5.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1333, allocations: 0 / 0.4936 GB, free: 5.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.1335, allocations: 20 kB / 0.4936 GB, free: 5.625 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.0009014/0.1345, allocations: 408.4 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.1347, allocations: 47.97 kB / 0.494 GB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1347, allocations: 0 / 0.494 GB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.434e-05/0.1347, allocations: 31.91 kB / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.1351, allocations: 15.86 kB / 0.4941 GB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.1355, allocations: 254.2 kB / 0.4943 GB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.1359, allocations: 0.7115 MB / 0.495 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.083e-05/0.1359, allocations: 7.984 kB / 0.495 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.1359, allocations: 11.44 kB / 0.495 GB, free: 4.137 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.136, allocations: 0 / 0.495 GB, free: 4.137 MB / 382.1 MB Notification: Performance of Templates: time 0.003604/0.1396, allocations: 1.132 MB / 0.4961 GB, free: 3.004 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches