Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, 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.001092/0.001092, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.299/1.299, allocations: 222.9 MB / 242.6 MB, free: 15.45 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.215/0.215, allocations: 44.18 MB / 336.9 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 68.58 kB / 408.5 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1014, allocations: 60.83 MB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003056/0.1045, allocations: 1.625 MB / 471 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007264/0.1053, allocations: 427.3 kB / 471.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.1053, allocations: 4 kB / 471.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005376/0.1059, allocations: 451.2 kB / 471.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.1062, allocations: 247.5 kB / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.1067, allocations: 151.5 kB / 472.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.1069, allocations: 155.8 kB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.985e-05/0.107, allocations: 15.98 kB / 472.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.1071, allocations: 111.7 kB / 472.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.1074, allocations: 215.6 kB / 472.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1074, allocations: 8 kB / 472.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.746e-05/0.1075, allocations: 19.98 kB / 472.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.1076, allocations: 91.61 kB / 472.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.218e-05/0.1077, allocations: 99 kB / 473 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.1079, allocations: 175.8 kB / 473.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1079, allocations: 0 / 473.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1079, allocations: 0 / 473.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.1079, allocations: 0 / 473.1 MB, free: 10.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006668/0.1086, allocations: 0.6222 MB / 473.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1086, allocations: 12.03 kB / 473.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.1087, allocations: 44.38 kB / 473.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.109, allocations: 300.2 kB / 474.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.109, allocations: 384 / 474.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.109, allocations: 4.312 kB / 474.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1091, allocations: 49.81 kB / 474.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1092, allocations: 0 / 474.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1092, allocations: 4 kB / 474.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1092, allocations: 8 kB / 474.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.526e-05/0.1093, allocations: 19.98 kB / 474.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.1098, allocations: 384.7 kB / 474.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.391e-05/0.1098, allocations: 34.5 kB / 474.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.1099, allocations: 20.91 kB / 474.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1099, allocations: 0 / 474.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.11, allocations: 34.56 kB / 474.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.11, allocations: 0 / 474.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002555/0.1102, allocations: 101.1 kB / 474.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.1103, allocations: 59.34 kB / 474.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007927/0.1111, allocations: 0.8574 MB / 475.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.1111, allocations: 25.7 kB / 475.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1112, allocations: 220.1 kB / 475.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.1113, allocations: 8.031 kB / 475.9 MB, free: 8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.1113, allocations: 17.72 kB / 475.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1115, allocations: 362.7 kB / 476.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.339e-05/0.1115, allocations: 8 kB / 476.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.1115, allocations: 11.98 kB / 476.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.746e-05/0.1116, allocations: 24.84 kB / 476.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1116, allocations: 4.062 kB / 476.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001371/0.1118, allocations: 93.16 kB / 476.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1118, allocations: 4 kB / 476.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1118, allocations: 3.984 kB / 476.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.467e-06/0.1118, allocations: 0 / 476.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.831e-05/0.1119, allocations: 7.938 kB / 476.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1119, allocations: 0 / 476.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.191e-05/0.1119, allocations: 4 kB / 476.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.112, allocations: 0 / 476.4 MB, free: 7.445 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 (2): * Single equations (assignments): 2 * 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.0001724/0.1121, allocations: 221.7 kB / 476.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.1122, allocations: 39.44 kB / 476.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.1124, allocations: 112.5 kB / 476.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.1124, allocations: 4 kB / 476.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1124, allocations: 3.984 kB / 476.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1124, allocations: 0 / 476.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.1127, allocations: 281.5 kB / 477.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1127, allocations: 3.938 kB / 477.1 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.371e-05/0.1127, allocations: 12.02 kB / 477.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1127, allocations: 0 / 477.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.1127, allocations: 4 kB / 477.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1127, allocations: 0 / 477.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1127, allocations: 0 / 477.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.1129, allocations: 186.9 kB / 477.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.092e-05/0.113, allocations: 116.6 kB / 477.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.113, allocations: 4.031 kB / 477.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.1131, allocations: 4 kB / 477.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.1131, allocations: 4 kB / 477.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.1132, allocations: 0 / 477.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000548/0.1137, allocations: 0.6511 MB / 478.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1137, allocations: 0 / 478.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.114, allocations: 20 kB / 478.1 MB, free: 5.695 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 (2): * Single equations (assignments): 2 * 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.0007759/0.1147, allocations: 347.7 kB / 478.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.1149, allocations: 31.92 kB / 478.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1149, allocations: 0 / 478.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.1149, allocations: 12.06 kB / 478.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.1153, allocations: 25.61 kB / 478.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009817/0.1163, allocations: 0.8782 MB / 479.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.1167, allocations: 0.822 MB / 480.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.1167, allocations: 7.438 kB / 480.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of SimCode: time 1.512e-06/0.1167, allocations: 0 / 480.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of Templates: time 0.00569/0.1224, allocations: 3.484 MB / 483.7 MB, free: 168 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches