Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001343, allocations: 108.3 kB / 17.99 MB, free: 5.336 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.0012/0.0012, allocations: 193.3 kB / 18.9 MB, free: 4.422 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.384/1.384, allocations: 222.9 MB / 242.6 MB, free: 15.37 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.1992/0.1992, allocations: 44.18 MB / 336.9 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 60.03 kB / 408.5 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1037, allocations: 60.83 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002825/0.1066, allocations: 1.672 MB / 471.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.1079, allocations: 1.039 MB / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.585e-05/0.108, allocations: 0 / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.1082, allocations: 23.91 kB / 472.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.1084, allocations: 39.84 kB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.1088, allocations: 161.9 kB / 472.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.1089, allocations: 67.78 kB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.145e-05/0.109, allocations: 23.97 kB / 472.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.099e-05/0.1091, allocations: 23.92 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.1092, allocations: 27.86 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1092, allocations: 4 kB / 472.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.258e-05/0.1093, allocations: 51.97 kB / 472.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.857e-05/0.1093, allocations: 23.92 kB / 472.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.1094, allocations: 27.8 kB / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.1095, allocations: 76.11 kB / 472.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1095, allocations: 4 kB / 472.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1095, allocations: 0 / 472.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1096, allocations: 4 kB / 472.6 MB, free: 11.45 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.0004202/0.11, allocations: 383.2 kB / 473 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.11, allocations: 12.03 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.1101, allocations: 12.83 kB / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.1102, allocations: 184.3 kB / 473.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.1103, allocations: 384 / 473.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.1103, allocations: 4.375 kB / 473.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.1105, allocations: 91.42 kB / 473.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.1105, allocations: 0 / 473.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1105, allocations: 4 kB / 473.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1105, allocations: 0 / 473.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.1106, allocations: 39.97 kB / 473.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.111, allocations: 300.7 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.1112, allocations: 46.5 kB / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.726e-05/0.1112, allocations: 28.92 kB / 473.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1113, allocations: 4 kB / 473.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1113, allocations: 34.5 kB / 473.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.1113, allocations: 8 kB / 473.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007042/0.112, allocations: 221.1 kB / 474 MB, free: 9.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.1121, allocations: 81.05 kB / 474.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1122, allocations: 137.8 kB / 474.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1122, allocations: 29.7 kB / 474.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.1123, allocations: 88.14 kB / 474.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.1123, allocations: 27.7 kB / 474.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.1124, allocations: 21.72 kB / 474.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.1125, allocations: 322.8 kB / 474.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1126, allocations: 39.97 kB / 474.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.1127, allocations: 53.69 kB / 474.8 MB, free: 9.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.1129, allocations: 92.72 kB / 474.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1129, allocations: 4 kB / 474.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00027/0.1132, allocations: 121.8 kB / 475 MB, free: 8.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1132, allocations: 8.031 kB / 475 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1132, allocations: 0 / 475 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1133, allocations: 0 / 475 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1134, allocations: 19.98 kB / 475 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1134, allocations: 3.984 kB / 475 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.661e-05/0.1135, allocations: 11.94 kB / 475 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1135, allocations: 0 / 475 MB, free: 8.82 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 (7): * Single equations (assignments): 7 * 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 9.695e-05/0.1136, allocations: 130.3 kB / 475.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.1136, allocations: 7.906 kB / 475.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003272/0.114, allocations: 138 kB / 475.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.114, allocations: 0 / 475.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.114, allocations: 4 kB / 475.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.114, allocations: 3.938 kB / 475.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.1145, allocations: 398.5 kB / 475.7 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1145, allocations: 0 / 475.7 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.207e-05/0.1146, allocations: 23.98 kB / 475.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1146, allocations: 0 / 475.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.1146, allocations: 3.938 kB / 475.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1146, allocations: 0 / 475.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1147, allocations: 0 / 475.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.115, allocations: 231.2 kB / 475.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.115, allocations: 85.3 kB / 476 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.1151, allocations: 7.922 kB / 476 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.009e-05/0.1152, allocations: 8 kB / 476 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.1152, allocations: 7.984 kB / 476 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.1152, allocations: 11.98 kB / 476.1 MB, free: 7.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.918e-05/0.1153, allocations: 106.1 kB / 476.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1153, allocations: 0 / 476.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1156, allocations: 23.98 kB / 476.2 MB, free: 7.551 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 (7): * Single equations (assignments): 7 * 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.0009362/0.1165, allocations: 450.7 kB / 476.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.1168, allocations: 91.86 kB / 476.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1168, allocations: 0 / 476.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.1169, allocations: 43.97 kB / 476.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.1173, allocations: 31.03 kB / 476.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.1177, allocations: 239.7 kB / 477 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.118, allocations: 0.704 MB / 477.7 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.118, allocations: 11.44 kB / 477.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.118, allocations: 4 kB / 477.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of Templates: time 0.003361/0.1214, allocations: 1.803 MB / 479.5 MB, free: 4.301 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches