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.001468/0.001468, allocations: 110.5 kB / 17.08 MB, free: 5.773 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.001659/0.001659, allocations: 198.5 kB / 18.02 MB, free: 4.902 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.41/1.41, 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.2204/0.2204, allocations: 43.52 MB / 314.8 MB, free: 456 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.0014/0.0014, allocations: 73.45 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1063, allocations: 57.79 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.003079/0.1095, allocations: 1.547 MB / 0.4901 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006244/0.1101, allocations: 327.5 kB / 0.4904 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.197e-05/0.1102, allocations: 4 kB / 0.4904 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.1105, allocations: 79.77 kB / 0.4904 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.1107, allocations: 67.73 kB / 0.4905 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.111, allocations: 91.81 kB / 0.4906 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.1112, allocations: 63.83 kB / 0.4907 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1113, allocations: 27.95 kB / 0.4907 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.327e-05/0.1114, allocations: 35.84 kB / 0.4907 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.653e-05/0.1115, allocations: 43.89 kB / 0.4908 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1115, allocations: 7.938 kB / 0.4908 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.839e-05/0.1116, allocations: 27.98 kB / 0.4908 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.1117, allocations: 19.92 kB / 0.4908 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.1117, allocations: 23.75 kB / 0.4908 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.1119, allocations: 95.66 kB / 0.4909 GB, free: 9.316 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1119, allocations: 3.984 kB / 0.4909 GB, free: 9.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1119, allocations: 0 / 0.4909 GB, free: 9.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1119, allocations: 4 kB / 0.4909 GB, free: 9.309 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004536/0.1124, allocations: 391 kB / 0.4913 GB, free: 8.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.1124, allocations: 15.89 kB / 0.4913 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.1125, allocations: 8.844 kB / 0.4913 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.1127, allocations: 192.1 kB / 0.4915 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1127, allocations: 4.375 kB / 0.4915 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1127, allocations: 4.359 kB / 0.4915 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.1129, allocations: 57.75 kB / 0.4916 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1129, allocations: 4 kB / 0.4916 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.1129, allocations: 0 / 0.4916 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1129, allocations: 0 / 0.4916 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.277e-05/0.113, allocations: 27.97 kB / 0.4916 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.1134, allocations: 288.8 kB / 0.4919 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.1136, allocations: 50.44 kB / 0.4919 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.1137, allocations: 20.94 kB / 0.492 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.1137, allocations: 4 kB / 0.492 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.1138, allocations: 30.56 kB / 0.492 GB, free: 8.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1138, allocations: 0 / 0.492 GB, free: 8.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005568/0.1143, allocations: 153.2 kB / 0.4921 GB, free: 7.914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.1144, allocations: 55.41 kB / 0.4922 GB, free: 7.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.1146, allocations: 198.2 kB / 0.4924 GB, free: 7.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1146, allocations: 25.7 kB / 0.4924 GB, free: 7.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.1147, allocations: 108.1 kB / 0.4925 GB, free: 7.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.1147, allocations: 15.66 kB / 0.4925 GB, free: 7.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.1147, allocations: 17.72 kB / 0.4925 GB, free: 7.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1149, allocations: 326.8 kB / 0.4928 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.1149, allocations: 23.98 kB / 0.4929 GB, free: 7.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.246e-05/0.115, allocations: 24.16 kB / 0.4929 GB, free: 7.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.1152, allocations: 56.83 kB / 0.4929 GB, free: 7.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1152, allocations: 0 / 0.4929 GB, free: 7.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001924/0.1154, allocations: 85.52 kB / 0.493 GB, free: 6.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1154, allocations: 8 kB / 0.493 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1154, allocations: 0 / 0.493 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1154, allocations: 7.984 kB / 0.493 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.939e-05/0.1155, allocations: 8 kB / 0.4931 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1155, allocations: 7.938 kB / 0.4931 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.98e-05/0.1156, allocations: 3.984 kB / 0.4931 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1156, allocations: 4 kB / 0.4931 GB, free: 6.902 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 9.082e-05/0.1157, allocations: 125.7 kB / 0.4932 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.1157, allocations: 11.89 kB / 0.4932 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.1159, allocations: 109.9 kB / 0.4933 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.116, allocations: 4 kB / 0.4933 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.116, allocations: 0 / 0.4933 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.116, allocations: 0 / 0.4933 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.1164, allocations: 354.5 kB / 0.4936 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1164, allocations: 0 / 0.4936 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.322e-05/0.1165, allocations: 16.11 kB / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.1165, allocations: 4 kB / 0.4937 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1165, allocations: 11.94 kB / 0.4937 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1165, allocations: 3.938 kB / 0.4937 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1165, allocations: 0 / 0.4937 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.1167, allocations: 187.3 kB / 0.4939 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.1168, allocations: 85.02 kB / 0.4939 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.1168, allocations: 0 / 0.4939 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.1169, allocations: 15.92 kB / 0.494 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.1169, allocations: 0 / 0.494 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.117, allocations: 4 kB / 0.494 GB, free: 5.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.1171, allocations: 164 kB / 0.4941 GB, free: 5.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1171, allocations: 0 / 0.4941 GB, free: 5.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.1173, allocations: 19.98 kB / 0.4941 GB, free: 5.699 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.0008814/0.1182, allocations: 404.6 kB / 0.4945 GB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.1184, allocations: 59.95 kB / 0.4946 GB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1185, allocations: 0 / 0.4946 GB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.844e-05/0.1185, allocations: 23.98 kB / 0.4946 GB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.1189, allocations: 27.72 kB / 0.4946 GB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.1194, allocations: 251.7 kB / 0.4949 GB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1196, allocations: 0.7079 MB / 0.4956 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.1197, allocations: 11.44 kB / 0.4956 GB, free: 4.207 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1197, allocations: 0 / 0.4956 GB, free: 4.207 MB / 382.1 MB Notification: Performance of Templates: time 0.003239/0.1229, allocations: 1.508 MB / 0.497 GB, free: 2.703 MB / 382.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