Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 120.4 kB / 17.09 MB, free: 5.992 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.001066/0.001066, allocations: 193.2 kB / 18.01 MB, free: 5.07 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.457/1.457, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2078/0.2078, allocations: 43.51 MB / 314.8 MB, free: 456 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: 69.45 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.1002, allocations: 57.79 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002969/0.1032, allocations: 1.547 MB / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1046, allocations: 0.9378 MB / 0.491 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/0.1047, allocations: 4 kB / 0.491 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.1049, allocations: 23.88 kB / 0.491 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1051, allocations: 43.77 kB / 0.491 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.1054, allocations: 75.77 kB / 0.4911 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.1055, allocations: 59.78 kB / 0.4912 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1056, allocations: 15.98 kB / 0.4912 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.761e-05/0.1057, allocations: 23.92 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.1058, allocations: 27.84 kB / 0.4912 GB, free: 9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.1059, allocations: 4 kB / 0.4912 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.106, allocations: 51.97 kB / 0.4913 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.047e-05/0.106, allocations: 7.984 kB / 0.4913 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.1061, allocations: 19.86 kB / 0.4913 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.1062, allocations: 87.73 kB / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1063, allocations: 0 / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1063, allocations: 3.984 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.1063, allocations: 0 / 0.4914 GB, free: 8.828 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.0004501/0.1067, allocations: 387.1 kB / 0.4918 GB, free: 8.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1068, allocations: 15.89 kB / 0.4918 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.1068, allocations: 0.9375 kB / 0.4918 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.107, allocations: 188.2 kB / 0.492 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.107, allocations: 4.375 kB / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.107, allocations: 4.375 kB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1072, allocations: 67.45 kB / 0.492 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1072, allocations: 0 / 0.492 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1072, allocations: 7.984 kB / 0.492 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1073, allocations: 4 kB / 0.4921 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.505e-05/0.1073, allocations: 19.98 kB / 0.4921 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.1077, allocations: 268.9 kB / 0.4923 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1079, allocations: 42.5 kB / 0.4924 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.1079, allocations: 20.86 kB / 0.4924 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.108, allocations: 0 / 0.4924 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.108, allocations: 38.64 kB / 0.4924 GB, free: 7.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.108, allocations: 0 / 0.4924 GB, free: 7.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005258/0.1085, allocations: 141.3 kB / 0.4926 GB, free: 7.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.1086, allocations: 77.11 kB / 0.4926 GB, free: 7.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.1087, allocations: 137.8 kB / 0.4928 GB, free: 7.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1087, allocations: 25.7 kB / 0.4928 GB, free: 7.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.1088, allocations: 88.05 kB / 0.4929 GB, free: 7.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.1088, allocations: 15.81 kB / 0.4929 GB, free: 7.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.1089, allocations: 21.7 kB / 0.4929 GB, free: 7.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.109, allocations: 322.7 kB / 0.4932 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.54e-05/0.1091, allocations: 15.98 kB / 0.4932 GB, free: 6.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.056e-05/0.1091, allocations: 33.7 kB / 0.4933 GB, free: 6.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1093, allocations: 53.02 kB / 0.4933 GB, free: 6.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1093, allocations: 3.938 kB / 0.4933 GB, free: 6.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001739/0.1095, allocations: 81.52 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1095, allocations: 4 kB / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1095, allocations: 3.984 kB / 0.4934 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1095, allocations: 4.031 kB / 0.4934 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.1096, allocations: 12 kB / 0.4934 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1096, allocations: 0 / 0.4934 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.1097, allocations: 7.984 kB / 0.4934 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1097, allocations: 0 / 0.4934 GB, free: 6.512 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.585e-05/0.1098, allocations: 125.7 kB / 0.4935 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.1098, allocations: 4 kB / 0.4936 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.11, allocations: 97.47 kB / 0.4936 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.11, allocations: 4 kB / 0.4936 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.11, allocations: 0 / 0.4936 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.11, allocations: 0 / 0.4936 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.1104, allocations: 346.4 kB / 0.494 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1105, allocations: 0 / 0.494 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.1105, allocations: 15.98 kB / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1105, allocations: 0 / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.1105, allocations: 4.188 kB / 0.494 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.1105, allocations: 7.938 kB / 0.494 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1106, allocations: 0 / 0.494 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.1108, allocations: 167.5 kB / 0.4942 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.1108, allocations: 85.02 kB / 0.4942 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.1108, allocations: 7.984 kB / 0.4943 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/0.1109, allocations: 11.94 kB / 0.4943 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.111, allocations: 0 / 0.4943 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.111, allocations: 4 kB / 0.4943 GB, free: 5.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.192e-05/0.1111, allocations: 103.2 kB / 0.4944 GB, free: 5.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1111, allocations: 3.938 kB / 0.4944 GB, free: 5.434 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1113, allocations: 24 kB / 0.4944 GB, free: 5.41 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.0009561/0.1123, allocations: 440.5 kB / 0.4948 GB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1125, allocations: 43.97 kB / 0.4949 GB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1125, allocations: 0 / 0.4949 GB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.218e-05/0.1126, allocations: 27.92 kB / 0.4949 GB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1129, allocations: 27.78 kB / 0.4949 GB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.1133, allocations: 187 kB / 0.4951 GB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.1135, allocations: 0.6924 MB / 0.4958 GB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.1136, allocations: 15.44 kB / 0.4958 GB, free: 3.977 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1136, allocations: 0 / 0.4958 GB, free: 3.977 MB / 382.1 MB Notification: Performance of Templates: time 0.00327/0.1169, allocations: 1.551 MB / 0.4973 GB, free: 2.43 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches