Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.001092/0.001092, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001204/0.001204, allocations: 193.3 kB / 18.9 MB, free: 4.48 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.332/1.332, allocations: 222.9 MB / 242.6 MB, free: 15.43 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.2043/0.2043, allocations: 44.18 MB / 336.9 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 68.73 kB / 408.5 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09566, allocations: 60.82 MB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002752/0.09844, allocations: 1.679 MB / 471 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007124/0.09918, allocations: 443.2 kB / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.843e-05/0.09924, allocations: 0 / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005127/0.09976, allocations: 455.2 kB / 471.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.1001, allocations: 247.5 kB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.1005, allocations: 155.5 kB / 472.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.1007, allocations: 167.6 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.1008, allocations: 20.17 kB / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.101, allocations: 111.8 kB / 472.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.1012, allocations: 219.5 kB / 472.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1012, allocations: 8 kB / 472.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-05/0.1013, allocations: 27.98 kB / 472.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.191e-05/0.1014, allocations: 83.69 kB / 472.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.186e-05/0.1015, allocations: 103 kB / 473 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.1017, allocations: 188 kB / 473.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1017, allocations: 0 / 473.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1017, allocations: 0 / 473.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1017, allocations: 0 / 473.2 MB, free: 10.87 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.0005975/0.1023, allocations: 0.6336 MB / 473.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1024, allocations: 16.02 kB / 473.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.865e-05/0.1024, allocations: 44.38 kB / 473.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.1027, allocations: 292.1 kB / 474.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1027, allocations: 8.375 kB / 474.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.1027, allocations: 384 / 474.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.1029, allocations: 57.62 kB / 474.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1029, allocations: 0 / 474.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1029, allocations: 0 / 474.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1029, allocations: 3.938 kB / 474.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.676e-05/0.103, allocations: 35.91 kB / 474.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.1035, allocations: 392.7 kB / 474.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.1037, allocations: 46.5 kB / 474.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.1037, allocations: 20.94 kB / 474.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.1037, allocations: 0 / 474.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.1038, allocations: 34.56 kB / 474.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1038, allocations: 0 / 474.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.00056/0.1043, allocations: 231.9 kB / 475 MB, free: 8.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.1044, allocations: 51.41 kB / 475.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007242/0.1051, allocations: 0.8651 MB / 475.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.1051, allocations: 29.7 kB / 476 MB, free: 7.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.1053, allocations: 216.1 kB / 476.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.1053, allocations: 19.8 kB / 476.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.1053, allocations: 17.72 kB / 476.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1055, allocations: 358.8 kB / 476.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.1056, allocations: 20.05 kB / 476.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.004e-05/0.1056, allocations: 23.98 kB / 476.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1058, allocations: 56.83 kB / 476.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1058, allocations: 0 / 476.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002157/0.106, allocations: 125 kB / 476.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.106, allocations: 8 kB / 476.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.106, allocations: 0 / 476.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.106, allocations: 0 / 476.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.173e-05/0.1061, allocations: 15.92 kB / 476.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.1061, allocations: 0 / 476.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.301e-05/0.1062, allocations: 15.94 kB / 476.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1062, allocations: 4 kB / 476.8 MB, free: 7.039 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 (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.0001636/0.1064, allocations: 210.3 kB / 477 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.1064, allocations: 39.81 kB / 477.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.1067, allocations: 145.1 kB / 477.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1067, allocations: 3.984 kB / 477.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1067, allocations: 4 kB / 477.2 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1067, allocations: 3.938 kB / 477.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.1072, allocations: 466.3 kB / 477.7 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1072, allocations: 4.25 kB / 477.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.1073, allocations: 19.92 kB / 477.7 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1073, allocations: 4 kB / 477.7 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.1073, allocations: 3.938 kB / 477.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1073, allocations: 4 kB / 477.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1073, allocations: 0 / 477.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.1076, allocations: 219 kB / 477.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.1076, allocations: 108.5 kB / 478 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.1077, allocations: 3.938 kB / 478 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/0.1078, allocations: 7.984 kB / 478 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.1078, allocations: 8 kB / 478.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1078, allocations: 4 kB / 478.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005635/0.1084, allocations: 0.6511 MB / 478.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1084, allocations: 0 / 478.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.1087, allocations: 20 kB / 478.7 MB, free: 5.027 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 (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.0008486/0.1095, allocations: 406 kB / 479.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.1097, allocations: 47.97 kB / 479.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1097, allocations: 4 kB / 479.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.774e-05/0.1098, allocations: 31.91 kB / 479.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.1102, allocations: 29.84 kB / 479.2 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.1112, allocations: 0.91 MB / 480.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1116, allocations: 0.8182 MB / 481 MB, free: 2.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.1116, allocations: 15.44 kB / 481 MB, free: 2.867 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1116, allocations: 0 / 481 MB, free: 2.867 MB / 350.1 MB Notification: Performance of Templates: time 0.006072/0.1177, allocations: 3.728 MB / 484.7 MB, free: 15.14 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches