Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001265/0.001265, allocations: 191 kB / 19.34 MB, free: 3.766 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.406/1.406, allocations: 222.9 MB / 243 MB, free: 15.14 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.2426/0.2426, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 64.5 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.1002, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002607/0.1028, allocations: 1.603 MB / 472.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006906/0.1035, allocations: 431 kB / 472.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.1036, allocations: 4 kB / 472.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003978/0.104, allocations: 443.2 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.1043, allocations: 259.4 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.1046, allocations: 126.7 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.1048, allocations: 159.7 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.902e-05/0.1048, allocations: 16.17 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.101e-05/0.1049, allocations: 103.8 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.1051, allocations: 211.6 kB / 474 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1051, allocations: 4 kB / 474 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.99e-05/0.1052, allocations: 31.98 kB / 474.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.399e-05/0.1053, allocations: 87.67 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.237e-05/0.1053, allocations: 103 kB / 474.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.1055, allocations: 243 kB / 474.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1056, allocations: 4 kB / 474.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1056, allocations: 0 / 474.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1056, allocations: 0 / 474.5 MB, free: 9.848 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.0005094/0.1061, allocations: 0.6297 MB / 475.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.483e-05/0.1061, allocations: 12.03 kB / 475.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.1062, allocations: 40.38 kB / 475.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.1064, allocations: 292.2 kB / 475.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1064, allocations: 8.359 kB / 475.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.1064, allocations: 4.375 kB / 475.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.1065, allocations: 49.62 kB / 475.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.1065, allocations: 3.938 kB / 475.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.1066, allocations: 4 kB / 475.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1066, allocations: 4 kB / 475.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.107e-05/0.1066, allocations: 23.98 kB / 475.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.107, allocations: 380.6 kB / 475.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.1072, allocations: 50.5 kB / 476 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.98e-05/0.1072, allocations: 12.94 kB / 476 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.1072, allocations: 8 kB / 476 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.1072, allocations: 34.56 kB / 476 MB, free: 8.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1073, allocations: 0 / 476 MB, free: 8.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004458/0.1077, allocations: 223.9 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.1077, allocations: 51.41 kB / 476.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006501/0.1084, allocations: 0.8652 MB / 477.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.1084, allocations: 29.64 kB / 477.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1086, allocations: 216.1 kB / 477.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.1086, allocations: 23.7 kB / 477.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.1086, allocations: 17.72 kB / 477.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1087, allocations: 354.8 kB / 477.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.738e-05/0.1088, allocations: 23.92 kB / 477.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.956e-05/0.1088, allocations: 23.98 kB / 477.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.109, allocations: 44.83 kB / 477.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.109, allocations: 3.938 kB / 477.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001662/0.1091, allocations: 109.2 kB / 478 MB, free: 6.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.1092, allocations: 4 kB / 478 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1092, allocations: 4 kB / 478 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-06/0.1092, allocations: 0 / 478 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/0.1092, allocations: 11.98 kB / 478 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.1092, allocations: 4 kB / 478 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.1093, allocations: 11.92 kB / 478 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.1093, allocations: 0 / 478 MB, free: 6.078 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.0001416/0.1095, allocations: 209.8 kB / 478.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.1095, allocations: 43.44 kB / 478.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.1097, allocations: 133 kB / 478.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1097, allocations: 8 kB / 478.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1097, allocations: 0 / 478.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1098, allocations: 3.938 kB / 478.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.1102, allocations: 450.7 kB / 478.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1102, allocations: 4.062 kB / 478.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.1103, allocations: 12 kB / 478.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1103, allocations: 0 / 478.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1103, allocations: 11.92 kB / 478.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1103, allocations: 4 kB / 478.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1103, allocations: 0 / 478.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.1105, allocations: 207 kB / 479.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.1106, allocations: 104.6 kB / 479.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.1106, allocations: 7.938 kB / 479.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.1107, allocations: 4.266 kB / 479.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.1107, allocations: 8 kB / 479.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.1107, allocations: 3.938 kB / 479.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000488/0.1112, allocations: 0.6511 MB / 479.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1112, allocations: 3.938 kB / 479.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.1114, allocations: 28 kB / 479.9 MB, free: 4.098 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.0007584/0.1122, allocations: 417.4 kB / 480.3 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.1124, allocations: 47.97 kB / 480.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.1124, allocations: 0 / 480.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.169e-05/0.1124, allocations: 27.92 kB / 480.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.1127, allocations: 25.61 kB / 480.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007798/0.1135, allocations: 0.7794 MB / 481.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.1138, allocations: 0.8221 MB / 482 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.447e-05/0.1139, allocations: 11.98 kB / 482 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.1139, allocations: 11.44 kB / 482 MB, free: 2.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1139, allocations: 0 / 482 MB, free: 2.07 MB / 350.1 MB Notification: Performance of Templates: time 0.2355/0.3494, allocations: 1.445 MB / 483.5 MB, free: 0.6289 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches