Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 117.3 kB / 17.09 MB, free: 5.953 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.001019/0.001019, allocations: 198.9 kB / 18.01 MB, free: 5.039 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.397/1.397, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2069/0.2069, allocations: 43.53 MB / 314.8 MB, free: 444 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.001424/0.001424, allocations: 69.95 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1141, allocations: 57.81 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002983/0.1172, allocations: 1.589 MB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005805/0.1178, allocations: 327.6 kB / 0.4904 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.1178, allocations: 3.938 kB / 0.4904 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.1184, allocations: 455.1 kB / 0.4909 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.1187, allocations: 251.5 kB / 0.4911 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.119, allocations: 111.7 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.1193, allocations: 155.7 kB / 0.4914 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1194, allocations: 24.16 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1195, allocations: 103.8 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.1197, allocations: 211.6 kB / 0.4917 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.1197, allocations: 3.984 kB / 0.4917 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.473e-05/0.1198, allocations: 31.98 kB / 0.4917 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.12, allocations: 83.69 kB / 0.4918 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.358e-05/0.12, allocations: 99 kB / 0.4919 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.1203, allocations: 259 kB / 0.4921 GB, free: 8.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1203, allocations: 0 / 0.4921 GB, free: 8.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1203, allocations: 0 / 0.4921 GB, free: 8.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1203, allocations: 0 / 0.4921 GB, free: 8.074 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006785/0.121, allocations: 0.6297 MB / 0.4928 GB, free: 7.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1211, allocations: 11.89 kB / 0.4928 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.1211, allocations: 36.47 kB / 0.4928 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.1214, allocations: 300.1 kB / 0.4931 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1214, allocations: 384 / 0.4931 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1214, allocations: 384 / 0.4931 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1216, allocations: 65.56 kB / 0.4932 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1216, allocations: 0 / 0.4932 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1216, allocations: 0 / 0.4932 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.1216, allocations: 0 / 0.4932 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.068e-05/0.1217, allocations: 23.98 kB / 0.4932 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.1222, allocations: 380.7 kB / 0.4935 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.1224, allocations: 46.5 kB / 0.4936 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.1225, allocations: 20.94 kB / 0.4936 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.1225, allocations: 0 / 0.4936 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.1225, allocations: 30.56 kB / 0.4936 GB, free: 6.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.1225, allocations: 0 / 0.4936 GB, free: 6.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005769/0.1231, allocations: 227.9 kB / 0.4938 GB, free: 6.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1231, allocations: 55.41 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000744/0.1239, allocations: 0.8573 MB / 0.4947 GB, free: 5.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.1239, allocations: 25.7 kB / 0.4948 GB, free: 5.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.1241, allocations: 220.1 kB / 0.495 GB, free: 4.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.1241, allocations: 23.8 kB / 0.495 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.1242, allocations: 17.66 kB / 0.495 GB, free: 4.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1243, allocations: 366.8 kB / 0.4954 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.755e-05/0.1244, allocations: 15.98 kB / 0.4954 GB, free: 4.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.878e-05/0.1244, allocations: 23.92 kB / 0.4954 GB, free: 4.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1246, allocations: 52.95 kB / 0.4955 GB, free: 4.453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1246, allocations: 0 / 0.4955 GB, free: 4.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001912/0.1248, allocations: 113.1 kB / 0.4956 GB, free: 4.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1248, allocations: 12 kB / 0.4956 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.1248, allocations: 0 / 0.4956 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1248, allocations: 0 / 0.4956 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.954e-05/0.1249, allocations: 11.98 kB / 0.4956 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1249, allocations: 0 / 0.4956 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.125, allocations: 7.938 kB / 0.4956 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.125, allocations: 11.97 kB / 0.4956 GB, free: 4.293 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 (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.0001661/0.1252, allocations: 217.7 kB / 0.4958 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.1252, allocations: 35.53 kB / 0.4958 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.1255, allocations: 144.9 kB / 0.496 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1255, allocations: 0 / 0.496 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1255, allocations: 0 / 0.496 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1255, allocations: 3.938 kB / 0.496 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004795/0.126, allocations: 454.7 kB / 0.4964 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.126, allocations: 0 / 0.4964 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/0.1261, allocations: 12 kB / 0.4964 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.1261, allocations: 0 / 0.4964 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.1261, allocations: 4.125 kB / 0.4964 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.1261, allocations: 11.98 kB / 0.4964 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1261, allocations: 3.984 kB / 0.4964 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.1263, allocations: 199.1 kB / 0.4966 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.1264, allocations: 112.5 kB / 0.4967 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.1264, allocations: 11.94 kB / 0.4968 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/0.1265, allocations: 7.984 kB / 0.4968 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.1266, allocations: 0 / 0.4968 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.1266, allocations: 4 kB / 0.4968 GB, free: 2.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005319/0.1271, allocations: 0.651 MB / 0.4974 GB, free: 2.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1271, allocations: 0 / 0.4974 GB, free: 2.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.1274, allocations: 24 kB / 0.4974 GB, free: 2.316 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 (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.0009118/0.1283, allocations: 414.6 kB / 0.4978 GB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.1285, allocations: 43.97 kB / 0.4979 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1285, allocations: 0 / 0.4979 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.28e-05/0.1286, allocations: 27.92 kB / 0.4979 GB, free: 1.875 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.129, allocations: 29.81 kB / 0.4979 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.1301, allocations: 0.8046 MB / 0.4987 GB, free: 1.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.1305, allocations: 0.8221 MB / 0.4995 GB, free: 160 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.1306, allocations: 15.42 kB / 0.4995 GB, free: 144 kB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1306, allocations: 0 / 0.4995 GB, free: 144 kB / 382.1 MB Notification: Performance of Templates: time 0.006433/0.137, allocations: 3.638 MB / 0.5031 GB, free: 12.5 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches