Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.CombiTable1Ds.Test27,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.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009772/0.0009772, allocations: 94.75 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.0009857/0.0009858, allocations: 181.2 kB / 18.91 MB, free: 4.734 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.365/1.365, allocations: 223.3 MB / 243 MB, free: 14.3 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.2008/0.2008, allocations: 44.25 MB / 338.3 MB, free: 2.406 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003298, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1113, allocations: 61.93 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.001903/0.1133, allocations: 1.29 MB / 474.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007384/0.114, allocations: 391.4 kB / 474.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.1141, allocations: 0 / 474.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.1144, allocations: 119.8 kB / 474.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.1146, allocations: 83.77 kB / 474.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.1149, allocations: 83.36 kB / 474.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.1151, allocations: 79.8 kB / 475 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.903e-05/0.1152, allocations: 16.17 kB / 475 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.752e-05/0.1153, allocations: 43.83 kB / 475 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.1154, allocations: 79.78 kB / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.1154, allocations: 4 kB / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1155, allocations: 35.98 kB / 475.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.1156, allocations: 31.84 kB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.1157, allocations: 61.39 kB / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.1158, allocations: 76.16 kB / 475.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1158, allocations: 4 kB / 475.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1159, allocations: 0 / 475.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1159, allocations: 3.938 kB / 475.3 MB, free: 10.91 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.0004661/0.1163, allocations: 411 kB / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1164, allocations: 12.03 kB / 475.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.1164, allocations: 20.75 kB / 475.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.1166, allocations: 207.8 kB / 475.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.1166, allocations: 384 / 475.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.1167, allocations: 8.375 kB / 475.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1168, allocations: 57.59 kB / 476 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1168, allocations: 4 kB / 476 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1169, allocations: 0 / 476 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.1169, allocations: 0 / 476 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.117, allocations: 43.91 kB / 476 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.1174, allocations: 304.6 kB / 476.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.1175, allocations: 46.56 kB / 476.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.924e-05/0.1176, allocations: 20.86 kB / 476.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.1176, allocations: 0 / 476.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1176, allocations: 34.64 kB / 476.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1176, allocations: 0 / 476.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000891/0.1185, allocations: 253 kB / 476.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.1186, allocations: 55.41 kB / 476.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.1188, allocations: 270.2 kB / 477 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1189, allocations: 25.7 kB / 477 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.1189, allocations: 112.1 kB / 477.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.119, allocations: 35.61 kB / 477.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.119, allocations: 13.72 kB / 477.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1191, allocations: 330.8 kB / 477.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-05/0.1192, allocations: 27.97 kB / 477.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.148e-05/0.1193, allocations: 31.98 kB / 477.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.1194, allocations: 68.83 kB / 477.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1195, allocations: 0 / 477.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002197/0.1197, allocations: 113.6 kB / 477.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1197, allocations: 4 kB / 477.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1197, allocations: 0 / 477.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1197, allocations: 0 / 477.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.771e-05/0.1198, allocations: 27.98 kB / 477.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1199, allocations: 7.938 kB / 477.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.1199, allocations: 7.984 kB / 477.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1199, allocations: 0 / 477.8 MB, free: 8.18 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.839e-05/0.12, allocations: 134.4 kB / 477.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.1201, allocations: 11.91 kB / 477.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.1203, allocations: 134.9 kB / 478.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1204, allocations: 4 kB / 478.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1204, allocations: 11.81 kB / 478.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1204, allocations: 0 / 478.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005127/0.1209, allocations: 419.3 kB / 478.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1209, allocations: 0 / 478.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.408e-05/0.121, allocations: 23.92 kB / 478.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.121, allocations: 0 / 478.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.121, allocations: 4 kB / 478.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.121, allocations: 4 kB / 478.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.121, allocations: 8.031 kB / 478.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.1213, allocations: 212.1 kB / 478.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.1213, allocations: 92.86 kB / 478.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.1214, allocations: 8 kB / 478.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.715e-05/0.1215, allocations: 7.984 kB / 478.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.1215, allocations: 4.422 kB / 478.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.1215, allocations: 7.984 kB / 478.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.1217, allocations: 199.2 kB / 479.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1217, allocations: 0 / 479.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.1219, allocations: 20 kB / 479.1 MB, free: 6.793 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.0009856/0.1229, allocations: 452.4 kB / 479.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.1232, allocations: 75.89 kB / 479.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1232, allocations: 0 / 479.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.709e-05/0.1233, allocations: 48.06 kB / 479.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.1236, allocations: 19.92 kB / 479.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005068/0.1241, allocations: 360.4 kB / 480 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.1244, allocations: 0.7199 MB / 480.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.1244, allocations: 15.44 kB / 480.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1245, allocations: 3.938 kB / 480.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of Templates: time 0.003465/0.1279, allocations: 1.801 MB / 482.6 MB, free: 3.43 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches