Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.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.CombiTable1D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16") translateModel(ModelicaTest.Tables.CombiTable1D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 100.6 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.001615/0.001616, 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.441/1.441, 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.2043/0.2043, allocations: 43.52 MB / 314.6 MB, free: 0.5312 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.002783/0.002783, allocations: 66.91 kB / 383.4 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09871/0.1015, allocations: 57.8 MB / 441.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.002419/0.104, allocations: 1.548 MB / 442.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005095/0.1045, allocations: 323.5 kB / 443.1 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.1046, allocations: 0 / 443.1 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.1048, allocations: 79.77 kB / 443.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.105, allocations: 63.73 kB / 443.2 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.1053, allocations: 95.75 kB / 443.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.1054, allocations: 63.89 kB / 443.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.692e-05/0.1055, allocations: 15.92 kB / 443.4 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.1055, allocations: 31.91 kB / 443.4 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.1056, allocations: 55.81 kB / 443.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1057, allocations: 0 / 443.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.317e-05/0.1057, allocations: 28 kB / 443.5 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.1058, allocations: 27.86 kB / 443.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.1058, allocations: 31.73 kB / 443.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.1059, allocations: 83.78 kB / 443.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.106, allocations: 0 / 443.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.106, allocations: 0 / 443.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.106, allocations: 0 / 443.6 MB, free: 4.469 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000354/0.1063, allocations: 395 kB / 444 MB, free: 4.035 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.1064, allocations: 15.89 kB / 444 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.1064, allocations: 8.844 kB / 444 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.1065, allocations: 205.2 kB / 444.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.1066, allocations: 384 / 444.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.1066, allocations: 4.375 kB / 444.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.1067, allocations: 53.75 kB / 444.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1067, allocations: 0 / 444.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.1067, allocations: 0 / 444.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1068, allocations: 0 / 444.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.329e-05/0.1068, allocations: 27.97 kB / 444.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.1071, allocations: 288.9 kB / 444.6 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1073, allocations: 46.5 kB / 444.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.608e-05/0.1074, allocations: 16.95 kB / 444.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.1074, allocations: 3.984 kB / 444.7 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.1074, allocations: 34.55 kB / 444.7 MB, free: 3.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1074, allocations: 7.938 kB / 444.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004951/0.1079, allocations: 153.1 kB / 444.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.108, allocations: 55.41 kB / 444.9 MB, free: 3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.1081, allocations: 202.2 kB / 445.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.1081, allocations: 29.69 kB / 445.1 MB, free: 2.758 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.34e-05/0.1082, allocations: 100.1 kB / 445.2 MB, free: 2.656 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.1082, allocations: 23.64 kB / 445.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.1082, allocations: 21.72 kB / 445.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.1083, allocations: 322.8 kB / 445.6 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-05/0.1084, allocations: 24.05 kB / 445.6 MB, free: 2.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.815e-05/0.1084, allocations: 19.98 kB / 445.6 MB, free: 2.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1086, allocations: 56.77 kB / 445.7 MB, free: 2.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1086, allocations: 7.938 kB / 445.7 MB, free: 2.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001595/0.1087, allocations: 89.56 kB / 445.8 MB, free: 2.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1088, allocations: 4 kB / 445.8 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1088, allocations: 3.984 kB / 445.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1088, allocations: 0 / 445.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.744e-05/0.1088, allocations: 15.98 kB / 445.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1089, allocations: 0 / 445.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.1089, allocations: 4 kB / 445.8 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.1089, allocations: 4 kB / 445.8 MB, free: 2.047 MB / 318.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 6.132e-05/0.109, allocations: 133.7 kB / 445.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.109, allocations: 11.91 kB / 446 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.1092, allocations: 101.9 kB / 446.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1092, allocations: 0 / 446.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1092, allocations: 0 / 446.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1093, allocations: 0 / 446.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.1096, allocations: 362.8 kB / 446.4 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1096, allocations: 4 kB / 446.4 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.941e-05/0.1096, allocations: 15.98 kB / 446.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1096, allocations: 0 / 446.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1097, allocations: 0 / 446.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1097, allocations: 3.938 kB / 446.4 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1097, allocations: 0 / 446.4 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.1099, allocations: 191.3 kB / 446.6 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.1099, allocations: 85.02 kB / 446.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.1099, allocations: 0 / 446.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.11, allocations: 7.938 kB / 446.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.11, allocations: 7.984 kB / 446.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.11, allocations: 7.938 kB / 446.7 MB, free: 1.031 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.04e-05/0.1101, allocations: 151.2 kB / 446.9 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1101, allocations: 4 kB / 446.9 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.1104, allocations: 15.94 kB / 446.9 MB, free: 0.8633 MB / 318.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.0008192/0.1112, allocations: 406.4 kB / 447.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.1114, allocations: 51.97 kB / 447.3 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1114, allocations: 0 / 447.3 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.305e-05/0.1115, allocations: 35.91 kB / 447.4 MB, free: 468 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.1118, allocations: 12 kB / 447.4 MB, free: 456 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.1122, allocations: 247.8 kB / 447.6 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.1125, allocations: 0.7041 MB / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.1125, allocations: 15.44 kB / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1125, allocations: 0 / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of Templates: time 0.002926/0.1155, allocations: 1.508 MB / 449.9 MB, free: 13.92 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches