Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.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.CombiTable1Ds.Test26,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.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,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.CombiTable1Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001296, allocations: 108 kB / 16.41 MB, free: 6.508 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.001385/0.001385, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.585/1.585, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2152/0.2152, allocations: 43.52 MB / 314.1 MB, free: 452 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.001482/0.001482, allocations: 65.47 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1075, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.00323/0.1108, allocations: 1.554 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007916/0.1116, allocations: 319.5 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.594e-05/0.1117, allocations: 4 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.1121, allocations: 75.78 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.1124, allocations: 63.8 kB / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.1127, allocations: 71.78 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.113, allocations: 67.88 kB / 0.49 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1131, allocations: 19.91 kB / 0.49 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.562e-05/0.1132, allocations: 35.84 kB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.1134, allocations: 51.89 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1134, allocations: 0 / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1135, allocations: 35.97 kB / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.1136, allocations: 19.88 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.1137, allocations: 31.73 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.1139, allocations: 83.72 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1139, allocations: 0 / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1139, allocations: 0 / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1139, allocations: 0 / 0.4902 GB, free: 9.359 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.0005311/0.1145, allocations: 395 kB / 0.4906 GB, free: 8.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1145, allocations: 15.89 kB / 0.4906 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.1146, allocations: 8.844 kB / 0.4906 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1148, allocations: 192.1 kB / 0.4908 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1148, allocations: 8.312 kB / 0.4908 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1149, allocations: 4.375 kB / 0.4908 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.115, allocations: 45.81 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.115, allocations: 11.97 kB / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.115, allocations: 0 / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1151, allocations: 4 kB / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.59e-05/0.1151, allocations: 19.98 kB / 0.4909 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.1155, allocations: 280.8 kB / 0.4912 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.1157, allocations: 46.5 kB / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.1158, allocations: 12.94 kB / 0.4912 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.1158, allocations: 11.94 kB / 0.4913 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.1158, allocations: 34.56 kB / 0.4913 GB, free: 8.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1158, allocations: 0 / 0.4913 GB, free: 8.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005221/0.1164, allocations: 145.2 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.1164, allocations: 51.41 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.1166, allocations: 206.2 kB / 0.4917 GB, free: 7.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1166, allocations: 25.7 kB / 0.4917 GB, free: 7.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.1167, allocations: 100.1 kB / 0.4918 GB, free: 7.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.1167, allocations: 23.66 kB / 0.4918 GB, free: 7.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.1168, allocations: 17.7 kB / 0.4918 GB, free: 7.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1169, allocations: 322.8 kB / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.469e-05/0.1169, allocations: 15.98 kB / 0.4922 GB, free: 7.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.958e-05/0.117, allocations: 24.17 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.1171, allocations: 52.77 kB / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1171, allocations: 0 / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001791/0.1173, allocations: 81.58 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1174, allocations: 4 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1174, allocations: 3.938 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1174, allocations: 3.984 kB / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.058e-05/0.1174, allocations: 16 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1175, allocations: 3.984 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.959e-05/0.1175, allocations: 7.984 kB / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1175, allocations: 0 / 0.4923 GB, free: 6.984 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 8.417e-05/0.1176, allocations: 129.7 kB / 0.4925 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.1177, allocations: 11.91 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.1179, allocations: 93.95 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1179, allocations: 4 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1179, allocations: 0 / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1179, allocations: 0 / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.1183, allocations: 350.5 kB / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1183, allocations: 0 / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-05/0.1184, allocations: 12.17 kB / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1184, allocations: 8 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1184, allocations: 0 / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.1184, allocations: 3.938 kB / 0.4929 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1184, allocations: 7.938 kB / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.1186, allocations: 179.3 kB / 0.4931 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.1187, allocations: 88.95 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.1187, allocations: 0 / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.1188, allocations: 15.92 kB / 0.4932 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.1188, allocations: 0 / 0.4932 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.1188, allocations: 8 kB / 0.4932 GB, free: 5.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.119, allocations: 164 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.119, allocations: 0 / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.1192, allocations: 12 kB / 0.4934 GB, free: 5.809 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.0008852/0.1201, allocations: 408.7 kB / 0.4938 GB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.1203, allocations: 43.97 kB / 0.4938 GB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1203, allocations: 4 kB / 0.4938 GB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/0.1204, allocations: 27.92 kB / 0.4938 GB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.1207, allocations: 19.84 kB / 0.4939 GB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.1211, allocations: 206 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.1214, allocations: 0.7002 MB / 0.4947 GB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.527e-05/0.1215, allocations: 15.98 kB / 0.4948 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.1215, allocations: 15.38 kB / 0.4948 GB, free: 4.363 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1215, allocations: 0 / 0.4948 GB, free: 4.363 MB / 382.1 MB Notification: Performance of Templates: time 0.003353/0.1249, allocations: 1.116 MB / 0.4959 GB, free: 3.25 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches