Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.001151/0.001152, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.472/1.472, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2133/0.2133, allocations: 43.53 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.001664/0.001664, allocations: 64.42 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1106, allocations: 57.8 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.004101/0.1147, allocations: 1.596 MB / 0.4895 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008486/0.1156, allocations: 347.5 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.07e-05/0.1157, allocations: 4 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006782/0.1164, allocations: 455.1 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.1169, allocations: 251.4 kB / 0.4905 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.1174, allocations: 151.7 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004117/0.1179, allocations: 163.6 kB / 0.4908 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.118, allocations: 28.16 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.1183, allocations: 107.8 kB / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/0.1185, allocations: 207.6 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.1186, allocations: 4 kB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.1188, allocations: 35.92 kB / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.1189, allocations: 83.69 kB / 0.4912 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.119, allocations: 103 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.1195, allocations: 247 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1195, allocations: 4 kB / 0.4915 GB, free: 8.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1195, allocations: 0 / 0.4915 GB, free: 8.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1195, allocations: 0 / 0.4915 GB, free: 8.039 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.0008745/0.1204, allocations: 0.6336 MB / 0.4922 GB, free: 7.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.1204, allocations: 15.89 kB / 0.4922 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.373e-05/0.1205, allocations: 44.38 kB / 0.4922 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.1209, allocations: 304.2 kB / 0.4925 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.1209, allocations: 384 / 0.4925 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.1209, allocations: 4.375 kB / 0.4925 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.1211, allocations: 57.61 kB / 0.4926 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1211, allocations: 0 / 0.4926 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1211, allocations: 4 kB / 0.4926 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1211, allocations: 0 / 0.4926 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1212, allocations: 31.92 kB / 0.4926 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.1217, allocations: 404.6 kB / 0.493 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.1219, allocations: 38.56 kB / 0.493 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.694e-05/0.122, allocations: 20.94 kB / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.122, allocations: 0 / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.1221, allocations: 42.5 kB / 0.4931 GB, free: 6.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1221, allocations: 0 / 0.4931 GB, free: 6.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000615/0.1227, allocations: 228 kB / 0.4933 GB, free: 6.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.1227, allocations: 51.41 kB / 0.4934 GB, free: 5.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008601/0.1236, allocations: 0.8652 MB / 0.4942 GB, free: 5.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1236, allocations: 33.64 kB / 0.4942 GB, free: 5.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.1238, allocations: 220.1 kB / 0.4944 GB, free: 4.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.1238, allocations: 19.66 kB / 0.4945 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.1239, allocations: 17.72 kB / 0.4945 GB, free: 4.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.124, allocations: 362.8 kB / 0.4948 GB, free: 4.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.164e-05/0.1241, allocations: 19.98 kB / 0.4948 GB, free: 4.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-05/0.1242, allocations: 19.98 kB / 0.4949 GB, free: 4.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.1243, allocations: 56.83 kB / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1243, allocations: 192 / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002266/0.1246, allocations: 125.1 kB / 0.495 GB, free: 4.227 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1246, allocations: 4 kB / 0.495 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.1246, allocations: 3.984 kB / 0.495 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.1246, allocations: 0 / 0.495 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.1247, allocations: 15.98 kB / 0.4951 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1247, allocations: 0 / 0.4951 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.088e-05/0.1248, allocations: 11.94 kB / 0.4951 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1248, allocations: 0 / 0.4951 GB, free: 4.191 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.0002066/0.125, allocations: 221.6 kB / 0.4953 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.1251, allocations: 43.44 kB / 0.4953 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.1254, allocations: 141 kB / 0.4955 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1254, allocations: 0 / 0.4955 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1254, allocations: 4 kB / 0.4955 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1255, allocations: 7.938 kB / 0.4955 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.126, allocations: 462.5 kB / 0.4959 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.126, allocations: 0 / 0.4959 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.1261, allocations: 8 kB / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1261, allocations: 0 / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1261, allocations: 7.938 kB / 0.4959 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1261, allocations: 3.984 kB / 0.4959 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1261, allocations: 3.938 kB / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.1264, allocations: 215.2 kB / 0.4961 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.983e-05/0.1265, allocations: 112.9 kB / 0.4962 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.1265, allocations: 7.938 kB / 0.4963 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.1266, allocations: 4 kB / 0.4963 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.1267, allocations: 3.984 kB / 0.4963 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1267, allocations: 7.984 kB / 0.4963 GB, free: 2.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006079/0.1273, allocations: 0.6511 MB / 0.4969 GB, free: 2.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1273, allocations: 0 / 0.4969 GB, free: 2.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.1276, allocations: 24 kB / 0.4969 GB, free: 2.184 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.0009463/0.1286, allocations: 408.6 kB / 0.4973 GB, free: 1.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002352/0.1288, allocations: 63.89 kB / 0.4974 GB, free: 1.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1288, allocations: 0 / 0.4974 GB, free: 1.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.393e-05/0.1289, allocations: 27.98 kB / 0.4974 GB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.1293, allocations: 29.81 kB / 0.4974 GB, free: 1.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.1304, allocations: 0.7794 MB / 0.4982 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.1307, allocations: 0.8221 MB / 0.499 GB, free: 44 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.509e-05/0.1308, allocations: 15.92 kB / 0.499 GB, free: 28 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.1308, allocations: 15.42 kB / 0.499 GB, free: 12 kB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1309, allocations: 8 kB / 0.499 GB, free: 4 kB / 382.1 MB Notification: Performance of Templates: time 0.004793/0.1357, allocations: 1.471 MB / 0.5005 GB, free: 14.54 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches