Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 110.7 kB / 17.04 MB, free: 5.812 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.001277/0.001277, allocations: 196 kB / 17.97 MB, free: 5.027 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.39/1.39, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.1992/0.1992, allocations: 43.52 MB / 314.7 MB, free: 484 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.001519/0.001519, allocations: 68.72 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1019, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002608/0.1046, allocations: 1.607 MB / 443.6 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005186/0.1051, allocations: 347.5 kB / 443.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.1052, allocations: 0 / 443.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004141/0.1056, allocations: 455.1 kB / 444.4 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.1058, allocations: 251.4 kB / 444.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.1061, allocations: 151.3 kB / 444.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.1063, allocations: 167.6 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.798e-05/0.1064, allocations: 28.11 kB / 444.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.395e-05/0.1065, allocations: 103.8 kB / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.1066, allocations: 207.6 kB / 445.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1067, allocations: 4 kB / 445.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.1067, allocations: 31.98 kB / 445.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.035e-05/0.1068, allocations: 87.67 kB / 445.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.778e-05/0.1069, allocations: 106.9 kB / 445.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.1071, allocations: 251 kB / 445.7 MB, free: 2.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1071, allocations: 0 / 445.7 MB, free: 2.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1071, allocations: 0 / 445.7 MB, free: 2.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.1071, allocations: 0 / 445.7 MB, free: 2.383 MB / 318.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.0004921/0.1076, allocations: 0.6297 MB / 446.3 MB, free: 1.703 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.1076, allocations: 11.89 kB / 446.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.1077, allocations: 48.31 kB / 446.4 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1079, allocations: 292.2 kB / 446.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.1079, allocations: 8.375 kB / 446.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.1079, allocations: 4.375 kB / 446.7 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.1081, allocations: 61.61 kB / 446.8 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1081, allocations: 0 / 446.8 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.1081, allocations: 3.984 kB / 446.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1081, allocations: 0 / 446.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.006e-05/0.1082, allocations: 23.98 kB / 446.8 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.1086, allocations: 400.6 kB / 447.2 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.1088, allocations: 50.56 kB / 447.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.1088, allocations: 12.94 kB / 447.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1088, allocations: 4 kB / 447.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.177e-05/0.1089, allocations: 34.56 kB / 447.3 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1089, allocations: 0 / 447.3 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004815/0.1093, allocations: 235.9 kB / 447.5 MB, free: 424 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.1094, allocations: 55.41 kB / 447.6 MB, free: 356 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007035/0.1101, allocations: 0.8613 MB / 448.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.1101, allocations: 25.7 kB / 448.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.1103, allocations: 216.1 kB / 448.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.1103, allocations: 23.66 kB / 448.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.1103, allocations: 25.7 kB / 448.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1105, allocations: 354.8 kB / 449.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.055e-05/0.1106, allocations: 31.86 kB / 449.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.655e-05/0.1106, allocations: 19.98 kB / 449.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.1108, allocations: 61 kB / 449.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1108, allocations: 0 / 449.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002037/0.111, allocations: 117.2 kB / 449.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.111, allocations: 4 kB / 449.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.111, allocations: 4 kB / 449.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.111, allocations: 0 / 449.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.986e-05/0.1111, allocations: 11.98 kB / 449.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.1111, allocations: 3.938 kB / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.378e-05/0.1112, allocations: 7.938 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1112, allocations: 7.938 kB / 449.3 MB, free: 14.55 MB / 334.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.1114, allocations: 221.7 kB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.1114, allocations: 39.44 kB / 449.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.1117, allocations: 141 kB / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1117, allocations: 0 / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1117, allocations: 0 / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1117, allocations: 3.938 kB / 449.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.1122, allocations: 470.4 kB / 450.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1122, allocations: 0 / 450.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.1123, allocations: 8 kB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/0.1123, allocations: 4 kB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1123, allocations: 7.922 kB / 450.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1123, allocations: 192 / 450.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1123, allocations: 4 kB / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.1126, allocations: 223 kB / 450.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.684e-05/0.1127, allocations: 108.6 kB / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.1127, allocations: 3.938 kB / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.1128, allocations: 4 kB / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.1129, allocations: 3.984 kB / 450.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.1129, allocations: 4 kB / 450.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005828/0.1135, allocations: 0.6472 MB / 451.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1135, allocations: 0 / 451.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1137, allocations: 24 kB / 451.2 MB, free: 12.55 MB / 334.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.0009017/0.1146, allocations: 413.6 kB / 451.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.1148, allocations: 55.95 kB / 451.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1149, allocations: 0 / 451.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.1149, allocations: 27.92 kB / 451.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.1153, allocations: 33.88 kB / 451.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1164, allocations: 0.7874 MB / 452.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.1168, allocations: 0.8241 MB / 453.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.242e-05/0.1169, allocations: 12 kB / 453.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.1169, allocations: 15.42 kB / 453.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1169, allocations: 0 / 453.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of Templates: time 0.004582/0.1215, allocations: 1.478 MB / 454.8 MB, free: 8.949 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches