Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 116.6 kB / 17.08 MB, free: 5.969 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.001227/0.001227, allocations: 198.5 kB / 18.02 MB, free: 5.047 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.262/1.262, allocations: 205.1 MB / 223.9 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.1867/0.1867, allocations: 43.52 MB / 314.8 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.001481/0.001482, allocations: 78.02 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08906/0.09056, allocations: 57.8 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002958/0.09356, allocations: 1.566 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006212/0.09421, allocations: 339.6 kB / 0.4904 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.0943, allocations: 0 / 0.4904 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005207/0.09483, allocations: 451.1 kB / 0.4908 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.09517, allocations: 259.4 kB / 0.4911 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.0956, allocations: 147.7 kB / 0.4912 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.09585, allocations: 167.6 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.09596, allocations: 24.09 kB / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.0961, allocations: 107.8 kB / 0.4915 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.09633, allocations: 207.6 kB / 0.4917 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.09636, allocations: 4 kB / 0.4917 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.669e-05/0.09646, allocations: 23.98 kB / 0.4917 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.09657, allocations: 83.62 kB / 0.4918 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.846e-05/0.09668, allocations: 111 kB / 0.4919 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.09702, allocations: 239 kB / 0.4921 GB, free: 8.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.09704, allocations: 0 / 0.4921 GB, free: 8.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.09704, allocations: 0 / 0.4921 GB, free: 8.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.09706, allocations: 0 / 0.4921 GB, free: 8.07 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.000706/0.09777, allocations: 0.6297 MB / 0.4928 GB, free: 7.391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.09782, allocations: 11.89 kB / 0.4928 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.05e-05/0.09789, allocations: 44.38 kB / 0.4928 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.09816, allocations: 296.2 kB / 0.4931 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.09818, allocations: 4.312 kB / 0.4931 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.0982, allocations: 4.375 kB / 0.4931 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.0984, allocations: 57.61 kB / 0.4932 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.09842, allocations: 4 kB / 0.4932 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.09844, allocations: 0 / 0.4932 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.09845, allocations: 4 kB / 0.4932 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.09859, allocations: 31.97 kB / 0.4932 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.09909, allocations: 392.7 kB / 0.4936 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.09922, allocations: 46.5 kB / 0.4936 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.373e-05/0.0993, allocations: 28.94 kB / 0.4936 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.09934, allocations: 3.984 kB / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.09936, allocations: 38.56 kB / 0.4937 GB, free: 6.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.09937, allocations: 0 / 0.4937 GB, free: 6.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003547/0.09973, allocations: 121.2 kB / 0.4938 GB, free: 6.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.09977, allocations: 55.34 kB / 0.4939 GB, free: 6.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007404/0.1005, allocations: 0.8535 MB / 0.4947 GB, free: 5.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.1005, allocations: 29.64 kB / 0.4947 GB, free: 5.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.1007, allocations: 220 kB / 0.4949 GB, free: 5.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.1007, allocations: 11.84 kB / 0.4949 GB, free: 5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.1007, allocations: 13.72 kB / 0.4949 GB, free: 4.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1009, allocations: 366.7 kB / 0.4953 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.101, allocations: 19.92 kB / 0.4953 GB, free: 4.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.769e-05/0.101, allocations: 19.98 kB / 0.4953 GB, free: 4.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.1012, allocations: 40.83 kB / 0.4954 GB, free: 4.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1012, allocations: 0 / 0.4954 GB, free: 4.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002021/0.1014, allocations: 113.1 kB / 0.4955 GB, free: 4.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1014, allocations: 4 kB / 0.4955 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1014, allocations: 0 / 0.4955 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1015, allocations: 0 / 0.4955 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.033e-05/0.1015, allocations: 8 kB / 0.4955 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1016, allocations: 3.984 kB / 0.4955 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.719e-05/0.1016, allocations: 7.906 kB / 0.4955 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1016, allocations: 4 kB / 0.4955 GB, free: 4.387 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 (3): * Single equations (assignments): 3 * 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.000178/0.1018, allocations: 221.6 kB / 0.4957 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.1019, allocations: 39.53 kB / 0.4958 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.1021, allocations: 125 kB / 0.4959 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1021, allocations: 0 / 0.4959 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1022, allocations: 0 / 0.4959 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1022, allocations: 11.92 kB / 0.4959 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.1024, allocations: 285.5 kB / 0.4962 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1024, allocations: 0 / 0.4962 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.161e-05/0.1025, allocations: 8 kB / 0.4962 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1025, allocations: 0 / 0.4962 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.1025, allocations: 0 / 0.4962 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1025, allocations: 4 kB / 0.4962 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1025, allocations: 0 / 0.4962 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1027, allocations: 210.9 kB / 0.4964 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.1028, allocations: 108.6 kB / 0.4965 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.1028, allocations: 3.984 kB / 0.4965 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.1029, allocations: 8.422 kB / 0.4965 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.103, allocations: 0 / 0.4965 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.103, allocations: 0 / 0.4965 GB, free: 3.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005251/0.1035, allocations: 0.655 MB / 0.4971 GB, free: 2.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.004e-06/0.1035, allocations: 0 / 0.4971 GB, free: 2.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.1038, allocations: 19.94 kB / 0.4971 GB, free: 2.605 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 (3): * Single equations (assignments): 3 * 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.0007705/0.1046, allocations: 353.5 kB / 0.4975 GB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.1047, allocations: 35.97 kB / 0.4975 GB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1048, allocations: 4 kB / 0.4975 GB, free: 2.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.464e-05/0.1048, allocations: 23.98 kB / 0.4975 GB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.1052, allocations: 33.75 kB / 0.4976 GB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.1062, allocations: 0.8083 MB / 0.4984 GB, free: 1.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.1066, allocations: 0.8182 MB / 0.4992 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.1066, allocations: 11.44 kB / 0.4992 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1066, allocations: 0 / 0.4992 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of Templates: time 0.006895/0.1135, allocations: 3.543 MB / 0.5026 GB, free: 12.95 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches