Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 113.8 kB / 17.09 MB, free: 5.957 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.001279/0.001279, allocations: 198.9 kB / 18.02 MB, free: 5.043 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.327/1.327, 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.2038/0.2038, allocations: 43.53 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.001514/0.001514, allocations: 73.47 kB / 442.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1066, allocations: 57.79 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003038/0.1096, allocations: 1.694 MB / 0.4903 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1109, allocations: 0.8053 MB / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.076e-05/0.111, allocations: 0 / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.1113, allocations: 43.77 kB / 0.4911 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.1115, allocations: 55.77 kB / 0.4912 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.1118, allocations: 91.7 kB / 0.4912 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.112, allocations: 103.7 kB / 0.4913 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.072e-05/0.112, allocations: 8.219 kB / 0.4914 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.42e-05/0.1121, allocations: 39.8 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.709e-05/0.1122, allocations: 35.83 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.1122, allocations: 0 / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.169e-05/0.1123, allocations: 40 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.1124, allocations: 23.92 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.1124, allocations: 51.66 kB / 0.4915 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.1126, allocations: 111.7 kB / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1127, allocations: 0 / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1127, allocations: 0 / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1127, allocations: 0 / 0.4916 GB, free: 8.598 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.0004738/0.1131, allocations: 414.9 kB / 0.492 GB, free: 8.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1132, allocations: 11.89 kB / 0.492 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.1132, allocations: 12.84 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.1135, allocations: 212.7 kB / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1135, allocations: 4.375 kB / 0.4923 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.1135, allocations: 12.12 kB / 0.4923 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.1137, allocations: 53.61 kB / 0.4923 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1137, allocations: 0 / 0.4923 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1137, allocations: 4 kB / 0.4923 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1137, allocations: 0 / 0.4923 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.836e-05/0.1138, allocations: 19.98 kB / 0.4924 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.1141, allocations: 280.9 kB / 0.4926 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1143, allocations: 66.61 kB / 0.4927 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.1144, allocations: 16.86 kB / 0.4927 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1144, allocations: 0 / 0.4927 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.1146, allocations: 75.36 kB / 0.4928 GB, free: 7.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1146, allocations: 4 kB / 0.4928 GB, free: 7.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005805/0.1152, allocations: 173.2 kB / 0.4929 GB, free: 7.094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.1152, allocations: 51.41 kB / 0.493 GB, free: 7.031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.1154, allocations: 199.3 kB / 0.4932 GB, free: 6.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1155, allocations: 25.7 kB / 0.4932 GB, free: 6.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.167e-05/0.1155, allocations: 108 kB / 0.4933 GB, free: 6.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.1156, allocations: 19.73 kB / 0.4933 GB, free: 6.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.1156, allocations: 29.66 kB / 0.4934 GB, free: 6.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1157, allocations: 330.8 kB / 0.4937 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-05/0.1158, allocations: 27.92 kB / 0.4937 GB, free: 6.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.185e-05/0.1159, allocations: 37.64 kB / 0.4937 GB, free: 6.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.116, allocations: 53.7 kB / 0.4938 GB, free: 6.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.116, allocations: 4 kB / 0.4938 GB, free: 6.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001835/0.1162, allocations: 109.4 kB / 0.4939 GB, free: 6.055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1162, allocations: 4 kB / 0.4939 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1162, allocations: 4 kB / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1163, allocations: 0 / 0.4939 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1164, allocations: 15.98 kB / 0.4939 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1164, allocations: 0 / 0.4939 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.44e-05/0.1164, allocations: 4 kB / 0.4939 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.1164, allocations: 15.92 kB / 0.4939 GB, free: 6.012 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.39e-05/0.1165, allocations: 129.7 kB / 0.4941 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.1166, allocations: 11.94 kB / 0.4941 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.1166, allocations: 17.41 kB / 0.4941 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1166, allocations: 3.984 kB / 0.4941 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1166, allocations: 0 / 0.4941 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.1167, allocations: 88.92 kB / 0.4942 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.1167, allocations: 7.938 kB / 0.4942 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.048e-05/0.1168, allocations: 0 / 0.4942 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.1168, allocations: 7.984 kB / 0.4942 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002116/0.1171, allocations: 169 kB / 0.4944 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002448/0.1173, allocations: 290.8 kB / 0.4946 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.055e-05/0.1174, allocations: 23.98 kB / 0.4947 GB, free: 5.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1175, allocations: 152.9 kB / 0.4948 GB, free: 5.07 MB / 382.1 MB Notification: Performance of Backend: time 3.11e-07/0.1175, allocations: 0 / 0.4948 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.1189, allocations: 498.7 kB / 0.4953 GB, free: 4.629 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006382/0.1195, allocations: 0.6711 MB / 0.4959 GB, free: 3.91 MB / 382.1 MB Notification: Performance of Templates: time 0.004286/0.1238, allocations: 1.786 MB / 0.4977 GB, free: 2.129 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches