Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 114 kB / 17.09 MB, free: 5.953 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.001878/0.001878, allocations: 198.9 kB / 18.03 MB, free: 5.035 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.338/1.338, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.1983/0.1983, allocations: 43.52 MB / 314.8 MB, free: 448 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.001524/0.001524, allocations: 82.02 kB / 442.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.09618, allocations: 57.78 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002921/0.09914, allocations: 1.691 MB / 0.4903 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1004, allocations: 0.8053 MB / 0.4911 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.309e-05/0.1005, allocations: 4 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.1008, allocations: 87.7 kB / 0.4911 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.101, allocations: 71.72 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.1013, allocations: 87.77 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.1015, allocations: 107.7 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.553e-05/0.1016, allocations: 12.22 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.794e-05/0.1017, allocations: 59.69 kB / 0.4915 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.467e-05/0.1018, allocations: 55.83 kB / 0.4915 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.1018, allocations: 7.984 kB / 0.4915 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.165e-05/0.1019, allocations: 43.98 kB / 0.4916 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.096e-05/0.1019, allocations: 23.92 kB / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.708e-05/0.102, allocations: 35.75 kB / 0.4916 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.1022, allocations: 115.4 kB / 0.4917 GB, free: 8.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1022, allocations: 4 kB / 0.4917 GB, free: 8.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1022, allocations: 3.938 kB / 0.4917 GB, free: 8.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1022, allocations: 0 / 0.4917 GB, free: 8.48 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004684/0.1027, allocations: 422.7 kB / 0.4922 GB, free: 8.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.1027, allocations: 15.89 kB / 0.4922 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.1028, allocations: 12.84 kB / 0.4922 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.103, allocations: 216.6 kB / 0.4924 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1031, allocations: 384 / 0.4924 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.1031, allocations: 8.125 kB / 0.4924 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.1032, allocations: 53.67 kB / 0.4924 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.1033, allocations: 3.938 kB / 0.4924 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.1033, allocations: 3.938 kB / 0.4925 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1033, allocations: 8 kB / 0.4925 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.025e-05/0.1034, allocations: 15.98 kB / 0.4925 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.1037, allocations: 292.8 kB / 0.4928 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1039, allocations: 58.67 kB / 0.4928 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.1039, allocations: 24.78 kB / 0.4928 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.1039, allocations: 4 kB / 0.4928 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.1041, allocations: 71.39 kB / 0.4929 GB, free: 7.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.1041, allocations: 0 / 0.4929 GB, free: 7.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004954/0.1046, allocations: 177.3 kB / 0.4931 GB, free: 6.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.1046, allocations: 55.41 kB / 0.4931 GB, free: 6.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.1048, allocations: 211.1 kB / 0.4933 GB, free: 6.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.1049, allocations: 33.7 kB / 0.4934 GB, free: 6.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.1049, allocations: 104.1 kB / 0.4935 GB, free: 6.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.105, allocations: 27.78 kB / 0.4935 GB, free: 6.496 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.105, allocations: 21.72 kB / 0.4935 GB, free: 6.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1051, allocations: 330.8 kB / 0.4938 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.1052, allocations: 19.98 kB / 0.4938 GB, free: 6.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.484e-05/0.1052, allocations: 33.7 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.1054, allocations: 61.66 kB / 0.4939 GB, free: 6.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1054, allocations: 3.984 kB / 0.4939 GB, free: 6.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001818/0.1056, allocations: 105.5 kB / 0.494 GB, free: 5.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1056, allocations: 4 kB / 0.494 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1056, allocations: 0 / 0.494 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1056, allocations: 4 kB / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.1057, allocations: 15.98 kB / 0.4941 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1057, allocations: 0 / 0.4941 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.1058, allocations: 12.03 kB / 0.4941 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1058, allocations: 3.938 kB / 0.4941 GB, free: 5.859 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.522e-05/0.1059, allocations: 133.8 kB / 0.4942 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.1059, allocations: 11.95 kB / 0.4942 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.449e-05/0.106, allocations: 13.59 kB / 0.4942 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.106, allocations: 3.984 kB / 0.4942 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.106, allocations: 7.875 kB / 0.4942 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/0.106, allocations: 89.02 kB / 0.4943 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1061, allocations: 7.875 kB / 0.4943 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.099e-05/0.1061, allocations: 8 kB / 0.4943 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.1062, allocations: 11.98 kB / 0.4943 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002057/0.1064, allocations: 165 kB / 0.4945 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002527/0.1066, allocations: 282.6 kB / 0.4948 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.114e-05/0.1067, allocations: 27.98 kB / 0.4948 GB, free: 5.055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1068, allocations: 163.2 kB / 0.495 GB, free: 4.895 MB / 382.1 MB Notification: Performance of Backend: time 4.11e-07/0.1068, allocations: 0 / 0.495 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.1081, allocations: 485.8 kB / 0.4954 GB, free: 4.465 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005742/0.1087, allocations: 0.6904 MB / 0.4961 GB, free: 3.727 MB / 382.1 MB Notification: Performance of Templates: time 0.004183/0.1129, allocations: 1.756 MB / 0.4978 GB, free: 1.977 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches