Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009685/0.0009685, allocations: 92.19 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.001205/0.001206, allocations: 176.9 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.47/1.47, allocations: 223.3 MB / 242.9 MB, free: 180 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1966/0.1966, allocations: 44.24 MB / 338.3 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003051, allocations: 8.75 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1024, allocations: 61.93 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.001961/0.1044, allocations: 1.274 MB / 474.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1059, allocations: 0.9843 MB / 475.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.1059, allocations: 0 / 475.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.1062, allocations: 27.91 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.1063, allocations: 31.91 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.1066, allocations: 75.05 kB / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.1067, allocations: 63.77 kB / 475.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.941e-05/0.1068, allocations: 8 kB / 475.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.711e-05/0.1069, allocations: 19.92 kB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.107, allocations: 31.08 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.107, allocations: 4 kB / 475.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1072, allocations: 39.98 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.1072, allocations: 19.86 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.1073, allocations: 41.58 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.1074, allocations: 63.89 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1074, allocations: 0 / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1074, allocations: 0 / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1074, allocations: 0 / 475.6 MB, free: 10.64 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004342/0.1079, allocations: 379.5 kB / 476 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1079, allocations: 8.031 kB / 476 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.108, allocations: 4.938 kB / 476 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.1081, allocations: 188.2 kB / 476.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1082, allocations: 8.312 kB / 476.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.1082, allocations: 4.375 kB / 476.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.1084, allocations: 67.47 kB / 476.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1084, allocations: 0 / 476.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1084, allocations: 4 kB / 476.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1084, allocations: 4 kB / 476.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.662e-05/0.1085, allocations: 23.97 kB / 476.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.1089, allocations: 272.8 kB / 476.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.1091, allocations: 50.5 kB / 476.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.161e-05/0.1091, allocations: 16.94 kB / 476.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.1092, allocations: 0 / 476.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.1092, allocations: 30.56 kB / 476.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1092, allocations: 4 kB / 476.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005533/0.1098, allocations: 157.4 kB / 476.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.1098, allocations: 81.11 kB / 476.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.11, allocations: 133.8 kB / 477 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.11, allocations: 29.7 kB / 477 MB, free: 9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.11, allocations: 88.12 kB / 477.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.417e-05/0.1101, allocations: 23.66 kB / 477.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.1101, allocations: 9.719 kB / 477.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1102, allocations: 326.8 kB / 477.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.1103, allocations: 23.98 kB / 477.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.612e-05/0.1104, allocations: 33.7 kB / 477.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.1105, allocations: 60.8 kB / 477.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1105, allocations: 0 / 477.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001956/0.1107, allocations: 85.86 kB / 477.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1108, allocations: 11.94 kB / 477.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1108, allocations: 0 / 477.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1108, allocations: 0 / 477.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.1109, allocations: 19.98 kB / 477.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1109, allocations: 0 / 477.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.1109, allocations: 4 kB / 477.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.111, allocations: 4 kB / 477.7 MB, free: 8.289 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 (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.127e-05/0.111, allocations: 126.2 kB / 477.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.1111, allocations: 4.188 kB / 477.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.1113, allocations: 101.6 kB / 477.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1113, allocations: 3.984 kB / 477.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1113, allocations: 0 / 477.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1114, allocations: 0 / 477.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.1118, allocations: 358.4 kB / 478.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1118, allocations: 0 / 478.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.155e-05/0.1119, allocations: 15.98 kB / 478.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1119, allocations: 3.938 kB / 478.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1119, allocations: 0 / 478.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1119, allocations: 3.938 kB / 478.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1119, allocations: 0 / 478.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1122, allocations: 187.5 kB / 478.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.1122, allocations: 88.95 kB / 478.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.1122, allocations: 0 / 478.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.027e-05/0.1123, allocations: 12.17 kB / 478.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.1124, allocations: 8 kB / 478.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1124, allocations: 8 kB / 478.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.932e-05/0.1125, allocations: 107.2 kB / 478.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1125, allocations: 0 / 478.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.1128, allocations: 16 kB / 478.7 MB, free: 7.16 MB / 350.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.001027/0.1138, allocations: 444.2 kB / 479.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.114, allocations: 51.97 kB / 479.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.114, allocations: 4 kB / 479.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.341e-05/0.1141, allocations: 31.92 kB / 479.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.1144, allocations: 15.98 kB / 479.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.1148, allocations: 198.3 kB / 479.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.1151, allocations: 0.6926 MB / 480.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.1152, allocations: 15.44 kB / 480.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1152, allocations: 0 / 480.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of Templates: time 0.003361/0.1186, allocations: 1.535 MB / 481.7 MB, free: 4.297 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches