Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.001607/0.001607, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.416/1.416, allocations: 222.9 MB / 242.5 MB, free: 13.71 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.2042/0.2042, allocations: 44.17 MB / 336.8 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 61.06 kB / 408.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.09896, allocations: 60.83 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002821/0.1018, allocations: 1.613 MB / 470.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1032, allocations: 1.004 MB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.1033, allocations: 0 / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.1035, allocations: 19.91 kB / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.1037, allocations: 39.84 kB / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.1039, allocations: 103.6 kB / 472 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.1041, allocations: 47.91 kB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.619e-05/0.1041, allocations: 12 kB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.1042, allocations: 23.8 kB / 472 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.1043, allocations: 23.91 kB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1044, allocations: 4 kB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-05/0.1045, allocations: 43.98 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.1045, allocations: 23.91 kB / 472.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.1045, allocations: 15.88 kB / 472.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.1047, allocations: 67.91 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1047, allocations: 0 / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1047, allocations: 0 / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.327e-06/0.1047, allocations: 3.938 kB / 472.2 MB, free: 11.75 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.0004285/0.1051, allocations: 371.6 kB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1052, allocations: 8.031 kB / 472.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.1052, allocations: 12.83 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.1054, allocations: 192.2 kB / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.1054, allocations: 384 / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.1054, allocations: 4.375 kB / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.1056, allocations: 71.5 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1056, allocations: 3.938 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.1056, allocations: 0 / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1056, allocations: 3.938 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.1058, allocations: 27.98 kB / 472.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.1061, allocations: 280.9 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1063, allocations: 42.56 kB / 473.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.1064, allocations: 24.88 kB / 473.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1064, allocations: 0 / 473.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.1065, allocations: 34.56 kB / 473.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1065, allocations: 0 / 473.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005252/0.107, allocations: 145.3 kB / 473.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.1071, allocations: 81.09 kB / 473.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.1072, allocations: 133.8 kB / 473.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1072, allocations: 25.7 kB / 473.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.1073, allocations: 100.1 kB / 473.7 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.1073, allocations: 15.75 kB / 473.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.1073, allocations: 17.72 kB / 473.8 MB, free: 9.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1074, allocations: 326.8 kB / 474.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-05/0.1075, allocations: 19.98 kB / 474.1 MB, free: 9.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.395e-05/0.1076, allocations: 33.69 kB / 474.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.1077, allocations: 56.86 kB / 474.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1078, allocations: 0 / 474.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001875/0.1079, allocations: 85.52 kB / 474.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.108, allocations: 4 kB / 474.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.108, allocations: 4 kB / 474.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.108, allocations: 3.984 kB / 474.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.158e-05/0.1081, allocations: 8 kB / 474.3 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.1081, allocations: 4 kB / 474.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.195e-05/0.1081, allocations: 7.984 kB / 474.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1081, allocations: 0 / 474.3 MB, free: 9.398 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.308e-05/0.1082, allocations: 118.3 kB / 474.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.1083, allocations: 7.906 kB / 474.4 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.1085, allocations: 105.8 kB / 474.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1085, allocations: 0 / 474.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1085, allocations: 4 kB / 474.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1085, allocations: 4 kB / 474.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.1089, allocations: 350.5 kB / 474.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.109, allocations: 0 / 474.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.598e-05/0.109, allocations: 15.92 kB / 474.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.109, allocations: 4 kB / 474.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.109, allocations: 0 / 474.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.109, allocations: 7.938 kB / 474.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1091, allocations: 3.938 kB / 474.9 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.1093, allocations: 183.4 kB / 475.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.1093, allocations: 77.11 kB / 475.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1093, allocations: 0 / 475.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.1094, allocations: 7.938 kB / 475.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.1095, allocations: 11.98 kB / 475.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1095, allocations: 0 / 475.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.062e-05/0.1096, allocations: 110.3 kB / 475.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1096, allocations: 0 / 475.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.1098, allocations: 27.89 kB / 475.3 MB, free: 8.277 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.0009616/0.1108, allocations: 454.8 kB / 475.8 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.111, allocations: 47.97 kB / 475.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.111, allocations: 0 / 475.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.454e-05/0.1111, allocations: 23.98 kB / 475.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.1115, allocations: 19.64 kB / 475.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.1119, allocations: 216.8 kB / 476.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.1121, allocations: 0.6887 MB / 476.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.1122, allocations: 11.44 kB / 476.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1122, allocations: 0 / 476.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of Templates: time 0.003194/0.1154, allocations: 1.58 MB / 478.4 MB, free: 5.363 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches