Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001046/0.001046, allocations: 187 kB / 19.34 MB, free: 3.641 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.609/1.609, allocations: 222.9 MB / 243 MB, free: 15.16 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.2333/0.2333, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 70.64 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1016, allocations: 60.84 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002836/0.1045, allocations: 1.956 MB / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1059, allocations: 0.9703 MB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.106, allocations: 4 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.1064, allocations: 259.2 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.1067, allocations: 195.3 kB / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.1078, allocations: 0.6518 MB / 474.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.1081, allocations: 299.3 kB / 475 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.1083, allocations: 84.53 kB / 475.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1084, allocations: 135.5 kB / 475.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.1086, allocations: 203.2 kB / 475.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.1086, allocations: 15.98 kB / 475.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1088, allocations: 95.97 kB / 475.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1089, allocations: 87.73 kB / 475.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.085e-05/0.109, allocations: 119 kB / 475.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.1093, allocations: 322.8 kB / 476.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1093, allocations: 0 / 476.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1093, allocations: 0 / 476.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1093, allocations: 0 / 476.1 MB, free: 8.262 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005806/0.1099, allocations: 0.6301 MB / 476.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.1099, allocations: 16.03 kB / 476.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.11, allocations: 36.47 kB / 476.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.1103, allocations: 310.2 kB / 477.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1103, allocations: 8.375 kB / 477.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.1103, allocations: 12.38 kB / 477.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.1105, allocations: 125.8 kB / 477.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1105, allocations: 0 / 477.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1106, allocations: 4 kB / 477.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1106, allocations: 4 kB / 477.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.1107, allocations: 95.86 kB / 477.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.1113, allocations: 0.4924 MB / 477.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1115, allocations: 110.5 kB / 477.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.935e-05/0.1116, allocations: 40.84 kB / 477.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1116, allocations: 4.219 kB / 478 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.1116, allocations: 38.5 kB / 478 MB, free: 6.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1116, allocations: 0 / 478 MB, free: 6.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008137/0.1124, allocations: 428.2 kB / 478.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.1125, allocations: 59.34 kB / 478.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004418/0.1129, allocations: 0.5288 MB / 479 MB, free: 5.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.113, allocations: 33.7 kB / 479 MB, free: 5.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.1131, allocations: 200.3 kB / 479.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.1131, allocations: 59.09 kB / 479.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.1132, allocations: 29.72 kB / 479.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1133, allocations: 350.8 kB / 479.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.1134, allocations: 67.95 kB / 479.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.1135, allocations: 71.89 kB / 479.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.1138, allocations: 155.1 kB / 479.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1138, allocations: 3.938 kB / 479.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003191/0.1141, allocations: 229 kB / 480.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.1141, allocations: 4 kB / 480.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1141, allocations: 0 / 480.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1141, allocations: 7.938 kB / 480.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.1143, allocations: 31.97 kB / 480.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1143, allocations: 4 kB / 480.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.997e-05/0.1143, allocations: 12 kB / 480.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1144, allocations: 4 kB / 480.2 MB, free: 3.883 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 (17): * Single equations (assignments): 17 * 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.0001331/0.1145, allocations: 181.7 kB / 480.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.1146, allocations: 39.53 kB / 480.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000425/0.115, allocations: 268 kB / 480.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.115, allocations: 3.984 kB / 480.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.115, allocations: 4 kB / 480.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.115, allocations: 3.984 kB / 480.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007201/0.1157, allocations: 0.666 MB / 481.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1158, allocations: 0 / 481.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-05/0.1159, allocations: 35.92 kB / 481.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1159, allocations: 0 / 481.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1159, allocations: 8 kB / 481.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1159, allocations: 0 / 481.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1159, allocations: 7.938 kB / 481.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.1163, allocations: 319 kB / 481.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.1163, allocations: 108.6 kB / 481.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.1164, allocations: 4 kB / 481.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.1164, allocations: 4 kB / 481.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.1165, allocations: 15.92 kB / 481.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1165, allocations: 11.98 kB / 481.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003223/0.1168, allocations: 395.1 kB / 482.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1168, allocations: 3.938 kB / 482.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1171, allocations: 47.98 kB / 482.3 MB, free: 1.676 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 (17): * Single equations (assignments): 17 * 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.001395/0.1185, allocations: 0.6984 MB / 483 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002939/0.1188, allocations: 170.4 kB / 483.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1188, allocations: 0 / 483.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.119, allocations: 91.89 kB / 483.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.1194, allocations: 81.3 kB / 483.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008341/0.1203, allocations: 0.6824 MB / 484 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.1206, allocations: 0.8143 MB / 484.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.1207, allocations: 53.91 kB / 484.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/0.1208, allocations: 31.42 kB / 484.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1208, allocations: 0 / 484.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Templates: time 0.1225/0.2433, allocations: 3.262 MB / 488.2 MB, free: 12.09 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches