Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 101.2 kB / 16.94 MB, free: 6.184 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.001091/0.001091, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.564/1.564, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2241/0.2241, allocations: 43.52 MB / 314.6 MB, free: 0.5234 MB / 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.001498/0.001498, allocations: 69.11 kB / 383.4 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1035, allocations: 57.79 MB / 441.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.00263/0.1062, allocations: 1.597 MB / 442.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004875/0.1067, allocations: 331.5 kB / 443.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.1067, allocations: 0 / 443.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004333/0.1072, allocations: 447.2 kB / 443.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.1075, allocations: 259.4 kB / 443.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.1077, allocations: 111.3 kB / 443.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1079, allocations: 159.6 kB / 444.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.108, allocations: 20.39 kB / 444.1 MB, free: 4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.655e-05/0.1081, allocations: 107.8 kB / 444.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.1083, allocations: 207.6 kB / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.1083, allocations: 4 kB / 444.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.287e-05/0.1084, allocations: 35.92 kB / 444.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.431e-05/0.1084, allocations: 83.67 kB / 444.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.1085, allocations: 95.06 kB / 444.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1087, allocations: 247 kB / 444.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1087, allocations: 0 / 444.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1087, allocations: 0 / 444.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1087, allocations: 0 / 444.8 MB, free: 3.234 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.0005204/0.1093, allocations: 0.6336 MB / 445.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1093, allocations: 15.89 kB / 445.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.1094, allocations: 40.47 kB / 445.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.1096, allocations: 296.1 kB / 445.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1096, allocations: 4.312 kB / 445.8 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.1096, allocations: 4.375 kB / 445.8 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.1097, allocations: 57.61 kB / 445.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1098, allocations: 0 / 445.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.1098, allocations: 4 kB / 445.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1098, allocations: 0 / 445.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.424e-05/0.1099, allocations: 31.97 kB / 445.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.1102, allocations: 384.6 kB / 446.3 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.1104, allocations: 42.56 kB / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.449e-05/0.1105, allocations: 12.86 kB / 446.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1105, allocations: 7.984 kB / 446.4 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.1105, allocations: 34.56 kB / 446.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1105, allocations: 3.938 kB / 446.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005409/0.1111, allocations: 224 kB / 446.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.1111, allocations: 55.39 kB / 446.7 MB, free: 1.223 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005428/0.1116, allocations: 0.8574 MB / 447.5 MB, free: 364 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/0.1117, allocations: 29.7 kB / 447.6 MB, free: 328 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1118, allocations: 216.1 kB / 447.8 MB, free: 108 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.1118, allocations: 19.73 kB / 447.8 MB, free: 88 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.1118, allocations: 21.72 kB / 447.8 MB, free: 60 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.112, allocations: 354.8 kB / 448.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.091e-05/0.1121, allocations: 15.98 kB / 448.2 MB, free: 15.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.07e-05/0.1121, allocations: 23.92 kB / 448.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.1123, allocations: 48.83 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1123, allocations: 0 / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002038/0.1125, allocations: 117.1 kB / 448.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1125, allocations: 4 kB / 448.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1125, allocations: 3.984 kB / 448.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1125, allocations: 0 / 448.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.201e-05/0.1126, allocations: 12 kB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1126, allocations: 4 kB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.1127, allocations: 11.86 kB / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1127, allocations: 4 kB / 448.4 MB, free: 15.45 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.0001918/0.1129, allocations: 213.7 kB / 448.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.113, allocations: 43.38 kB / 448.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.1132, allocations: 137.3 kB / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1133, allocations: 4 kB / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1133, allocations: 0 / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1133, allocations: 3.938 kB / 448.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005351/0.1138, allocations: 458.5 kB / 449.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1138, allocations: 0 / 449.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.302e-05/0.1139, allocations: 11.98 kB / 449.2 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1139, allocations: 0 / 449.2 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1139, allocations: 11.94 kB / 449.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1139, allocations: 4 kB / 449.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1139, allocations: 0 / 449.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.1142, allocations: 207 kB / 449.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.1142, allocations: 108.5 kB / 449.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.1143, allocations: 7.922 kB / 449.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.06e-05/0.1144, allocations: 4 kB / 449.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.1144, allocations: 8 kB / 449.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.1144, allocations: 3.984 kB / 449.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005964/0.115, allocations: 0.6472 MB / 450.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.115, allocations: 0 / 450.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1153, allocations: 23.94 kB / 450.3 MB, free: 13.48 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.0009689/0.1163, allocations: 392.7 kB / 450.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.1165, allocations: 51.91 kB / 450.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1165, allocations: 0 / 450.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.307e-05/0.1166, allocations: 23.98 kB / 450.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.1171, allocations: 29.23 kB / 450.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.1183, allocations: 0.8086 MB / 451.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.1188, allocations: 0.8182 MB / 452.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.1188, allocations: 19.44 kB / 452.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1188, allocations: 0 / 452.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of Templates: time 0.006724/0.1256, allocations: 3.672 MB / 456.1 MB, free: 7.688 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches