Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 110.6 kB / 16.41 MB, free: 6.5 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.001619/0.001619, allocations: 188.2 kB / 17.34 MB, free: 5.742 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.497/1.497, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2086/0.2086, allocations: 43.51 MB / 314.1 MB, free: 452 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.001346/0.001346, allocations: 69.45 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1196, allocations: 57.79 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003808/0.1234, allocations: 1.6 MB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007996/0.1242, allocations: 351.5 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.813e-05/0.1243, allocations: 0 / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006621/0.125, allocations: 463.1 kB / 0.4902 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.1254, allocations: 255.5 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.1258, allocations: 147.6 kB / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.1261, allocations: 163.7 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1262, allocations: 28.16 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1263, allocations: 107.7 kB / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.1265, allocations: 207.6 kB / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.1266, allocations: 8 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.317e-05/0.1267, allocations: 35.97 kB / 0.4911 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.972e-05/0.1268, allocations: 79.69 kB / 0.4912 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.957e-05/0.1269, allocations: 99 kB / 0.4913 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.1272, allocations: 262.9 kB / 0.4916 GB, free: 7.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1272, allocations: 0 / 0.4916 GB, free: 7.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1272, allocations: 0 / 0.4916 GB, free: 7.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1272, allocations: 0 / 0.4916 GB, free: 7.98 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.0007245/0.1279, allocations: 0.6297 MB / 0.4922 GB, free: 7.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.128, allocations: 11.89 kB / 0.4922 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.128, allocations: 52.36 kB / 0.4922 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.1283, allocations: 296.2 kB / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1284, allocations: 384 / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.1284, allocations: 8.375 kB / 0.4925 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1286, allocations: 61.55 kB / 0.4926 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1286, allocations: 0 / 0.4926 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.1286, allocations: 4 kB / 0.4926 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1286, allocations: 0 / 0.4926 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.1287, allocations: 27.97 kB / 0.4926 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.1293, allocations: 396.6 kB / 0.493 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.1295, allocations: 46.59 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.151e-05/0.1296, allocations: 16.84 kB / 0.4931 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.1296, allocations: 0 / 0.4931 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.1297, allocations: 38.56 kB / 0.4931 GB, free: 6.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1297, allocations: 0 / 0.4931 GB, free: 6.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006664/0.1303, allocations: 228 kB / 0.4933 GB, free: 6.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.1304, allocations: 55.41 kB / 0.4934 GB, free: 5.945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008246/0.1312, allocations: 0.8652 MB / 0.4942 GB, free: 5.066 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1313, allocations: 25.7 kB / 0.4942 GB, free: 5.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.1314, allocations: 220.1 kB / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.1315, allocations: 23.66 kB / 0.4945 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.1315, allocations: 17.7 kB / 0.4945 GB, free: 4.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1317, allocations: 358.8 kB / 0.4948 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.866e-05/0.1317, allocations: 19.98 kB / 0.4948 GB, free: 4.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.97e-05/0.1318, allocations: 23.97 kB / 0.4949 GB, free: 4.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.132, allocations: 64.7 kB / 0.4949 GB, free: 4.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.132, allocations: 192 / 0.4949 GB, free: 4.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001961/0.1322, allocations: 117.2 kB / 0.495 GB, free: 4.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1322, allocations: 4 kB / 0.495 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1322, allocations: 4 kB / 0.495 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1322, allocations: 0 / 0.495 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.906e-05/0.1323, allocations: 11.98 kB / 0.4951 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1323, allocations: 0 / 0.4951 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.1324, allocations: 15.92 kB / 0.4951 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1324, allocations: 0 / 0.4951 GB, free: 4.145 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.0001977/0.1326, allocations: 225.6 kB / 0.4953 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.1326, allocations: 39.44 kB / 0.4953 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.1329, allocations: 137 kB / 0.4955 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.133, allocations: 4 kB / 0.4955 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.133, allocations: 0 / 0.4955 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.133, allocations: 7.938 kB / 0.4955 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005322/0.1335, allocations: 470.5 kB / 0.4959 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1335, allocations: 0 / 0.4959 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.74e-05/0.1336, allocations: 11.98 kB / 0.4959 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1336, allocations: 4 kB / 0.4959 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1336, allocations: 3.938 kB / 0.4959 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1336, allocations: 0 / 0.4959 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1336, allocations: 0 / 0.4959 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1339, allocations: 227.1 kB / 0.4962 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.228e-05/0.134, allocations: 104.9 kB / 0.4963 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.134, allocations: 3.938 kB / 0.4963 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.1341, allocations: 7.938 kB / 0.4963 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.1341, allocations: 7.969 kB / 0.4963 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.1341, allocations: 4 kB / 0.4963 GB, free: 2.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005895/0.1347, allocations: 0.6511 MB / 0.4969 GB, free: 2.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1347, allocations: 0 / 0.4969 GB, free: 2.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.135, allocations: 24 kB / 0.4969 GB, free: 2.133 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.0008994/0.1359, allocations: 399.1 kB / 0.4973 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.1361, allocations: 59.95 kB / 0.4974 GB, free: 1.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1361, allocations: 0 / 0.4974 GB, free: 1.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.935e-05/0.1362, allocations: 31.92 kB / 0.4974 GB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.1366, allocations: 29.81 kB / 0.4974 GB, free: 1.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.1377, allocations: 0.7833 MB / 0.4982 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.1381, allocations: 0.8221 MB / 0.499 GB, free: 0 / 382.1 MB Notification: Performance of simCode: alias equations: time 5.587e-05/0.1381, allocations: 19.97 kB / 0.499 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.1382, allocations: 11.44 kB / 0.499 GB, free: 15.97 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1382, allocations: 4 kB / 0.499 GB, free: 15.96 MB / 398.1 MB Notification: Performance of Templates: time 0.004717/0.1429, allocations: 1.467 MB / 0.5005 GB, free: 14.5 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches