Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009831/0.0009831, allocations: 94.55 kB / 18 MB, free: 5.602 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.001259/0.001259, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.384/1.384, allocations: 223.3 MB / 243 MB, free: 14.28 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.1853/0.1853, allocations: 44.25 MB / 338.3 MB, free: 2.387 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 15.92 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1066, allocations: 61.93 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.001991/0.1086, allocations: 1.294 MB / 474.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008578/0.1095, allocations: 407.4 kB / 474.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.1096, allocations: 0 / 474.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.1099, allocations: 67.83 kB / 474.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.1101, allocations: 59.81 kB / 474.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.1104, allocations: 95.81 kB / 474.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.1106, allocations: 67.83 kB / 474.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.1107, allocations: 20.17 kB / 474.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.238e-05/0.1107, allocations: 35.78 kB / 474.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.718e-05/0.1108, allocations: 43.89 kB / 475 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.1109, allocations: 0 / 475 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.111, allocations: 43.98 kB / 475 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.909e-05/0.111, allocations: 19.92 kB / 475.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.1111, allocations: 53.44 kB / 475.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.1113, allocations: 72.17 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1113, allocations: 4 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1113, allocations: 0 / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.1113, allocations: 3.938 kB / 475.2 MB, free: 11 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004624/0.1118, allocations: 399 kB / 475.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1118, allocations: 8.031 kB / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.1119, allocations: 8.844 kB / 475.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.112, allocations: 200.1 kB / 475.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.1121, allocations: 384 / 475.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.1121, allocations: 4.375 kB / 475.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1123, allocations: 65.61 kB / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1123, allocations: 3.906 kB / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1123, allocations: 0 / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1123, allocations: 0 / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1124, allocations: 35.92 kB / 475.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.1128, allocations: 300.8 kB / 476.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.113, allocations: 42.56 kB / 476.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.113, allocations: 20.94 kB / 476.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1131, allocations: 4 kB / 476.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1131, allocations: 38.5 kB / 476.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1131, allocations: 0 / 476.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000941/0.114, allocations: 265.1 kB / 476.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.1141, allocations: 55.41 kB / 476.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.1143, allocations: 218.1 kB / 476.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1143, allocations: 25.7 kB / 476.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.1144, allocations: 104 kB / 476.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.1144, allocations: 23.66 kB / 477 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.1145, allocations: 17.7 kB / 477 MB, free: 8.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1146, allocations: 322.8 kB / 477.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.125e-05/0.1147, allocations: 35.97 kB / 477.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.074e-05/0.1148, allocations: 35.98 kB / 477.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.1149, allocations: 81.05 kB / 477.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.115, allocations: 0 / 477.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002389/0.1152, allocations: 133.4 kB / 477.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1152, allocations: 4 kB / 477.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.1152, allocations: 4 kB / 477.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.1152, allocations: 0 / 477.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1154, allocations: 19.98 kB / 477.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1154, allocations: 3.938 kB / 477.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.1154, allocations: 11.98 kB / 477.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.1154, allocations: 4 kB / 477.6 MB, free: 8.328 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 (8): * Single equations (assignments): 8 * 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.568e-05/0.1155, allocations: 122.4 kB / 477.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.1156, allocations: 16.31 kB / 477.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.1159, allocations: 138.3 kB / 477.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1159, allocations: 0 / 477.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.1159, allocations: 15.86 kB / 477.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1159, allocations: 4 kB / 477.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005243/0.1164, allocations: 427.2 kB / 478.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1165, allocations: 0 / 478.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.482e-05/0.1165, allocations: 23.92 kB / 478.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.1166, allocations: 4 kB / 478.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1166, allocations: 0 / 478.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1166, allocations: 0 / 478.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.1166, allocations: 3.938 kB / 478.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.1169, allocations: 216.3 kB / 478.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.1169, allocations: 92.94 kB / 478.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.117, allocations: 4 kB / 478.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.663e-05/0.117, allocations: 8 kB / 478.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.1171, allocations: 11.98 kB / 478.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.1171, allocations: 0 / 478.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.1172, allocations: 155.2 kB / 478.8 MB, free: 7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1172, allocations: 0 / 478.8 MB, free: 7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1175, allocations: 20 kB / 478.9 MB, free: 6.98 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001052/0.1186, allocations: 459.4 kB / 479.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.1188, allocations: 83.94 kB / 479.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1188, allocations: 0 / 479.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.1189, allocations: 51.91 kB / 479.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.1193, allocations: 23.92 kB / 479.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.1198, allocations: 316 kB / 479.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.12, allocations: 0.7121 MB / 480.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.1201, allocations: 15.44 kB / 480.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1201, allocations: 3.938 kB / 480.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of Templates: time 0.003496/0.1236, allocations: 1.741 MB / 482.2 MB, free: 3.711 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches