Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 110.9 kB / 17.09 MB, free: 5.988 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.001765/0.001765, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.313/1.313, 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.2122/0.2122, allocations: 43.52 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.001359/0.001359, allocations: 74.02 kB / 442.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1101, allocations: 57.79 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003031/0.1132, allocations: 1.694 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1146, allocations: 0.8015 MB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.1147, allocations: 7.938 kB / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.115, allocations: 27.84 kB / 0.4911 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.1153, allocations: 63.69 kB / 0.4912 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.1157, allocations: 87.77 kB / 0.4912 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.1159, allocations: 95.67 kB / 0.4913 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.116, allocations: 20.22 kB / 0.4913 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.1161, allocations: 35.8 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.178e-05/0.1162, allocations: 35.83 kB / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.1162, allocations: 4 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1164, allocations: 40 kB / 0.4915 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.284e-05/0.1164, allocations: 27.86 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.1165, allocations: 35.73 kB / 0.4915 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.1167, allocations: 107.7 kB / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1168, allocations: 4 kB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1168, allocations: 0 / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1168, allocations: 0 / 0.4916 GB, free: 8.617 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.0005495/0.1173, allocations: 407 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1174, allocations: 19.81 kB / 0.492 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.1174, allocations: 12.84 kB / 0.492 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.1177, allocations: 211.9 kB / 0.4922 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1177, allocations: 8.375 kB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.1178, allocations: 8.109 kB / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.1179, allocations: 57.67 kB / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1179, allocations: 4 kB / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.118, allocations: 0 / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.118, allocations: 0 / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.491e-05/0.118, allocations: 19.98 kB / 0.4923 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.1184, allocations: 280.9 kB / 0.4926 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.1186, allocations: 66.61 kB / 0.4927 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.1187, allocations: 20.84 kB / 0.4927 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1187, allocations: 0 / 0.4927 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.1188, allocations: 71.3 kB / 0.4928 GB, free: 7.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1189, allocations: 0 / 0.4928 GB, free: 7.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005362/0.1194, allocations: 177.5 kB / 0.4929 GB, free: 7.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.1194, allocations: 51.41 kB / 0.493 GB, free: 7.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.1196, allocations: 186.1 kB / 0.4932 GB, free: 6.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1196, allocations: 29.7 kB / 0.4932 GB, free: 6.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.1197, allocations: 100.1 kB / 0.4933 GB, free: 6.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.1197, allocations: 23.64 kB / 0.4933 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.1198, allocations: 21.72 kB / 0.4933 GB, free: 6.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1199, allocations: 330.7 kB / 0.4936 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.12, allocations: 27.98 kB / 0.4937 GB, free: 6.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.011e-05/0.1201, allocations: 37.7 kB / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.1202, allocations: 57.77 kB / 0.4938 GB, free: 6.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1202, allocations: 0 / 0.4938 GB, free: 6.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001857/0.1204, allocations: 101.6 kB / 0.4938 GB, free: 6.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1204, allocations: 8 kB / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1204, allocations: 4.031 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1204, allocations: 0 / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.441e-05/0.1205, allocations: 15.98 kB / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.1206, allocations: 4 kB / 0.4939 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.1206, allocations: 3.938 kB / 0.4939 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.1206, allocations: 7.938 kB / 0.4939 GB, free: 6.055 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.985e-05/0.1207, allocations: 130 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.1208, allocations: 11.81 kB / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.1208, allocations: 24.59 kB / 0.4941 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1208, allocations: 7.984 kB / 0.4941 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1208, allocations: 0 / 0.4941 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.1209, allocations: 85.02 kB / 0.4941 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.1209, allocations: 3.938 kB / 0.4941 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.274e-05/0.121, allocations: 4 kB / 0.4941 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.121, allocations: 7.984 kB / 0.4942 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002076/0.1212, allocations: 176.9 kB / 0.4943 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002345/0.1215, allocations: 278.6 kB / 0.4946 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.353e-05/0.1215, allocations: 27.98 kB / 0.4946 GB, free: 5.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.1217, allocations: 144.1 kB / 0.4948 GB, free: 5.117 MB / 382.1 MB Notification: Performance of Backend: time 4.2e-07/0.1217, allocations: 0 / 0.4948 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.1231, allocations: 486.9 kB / 0.4952 GB, free: 4.684 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006466/0.1237, allocations: 0.6621 MB / 0.4959 GB, free: 3.977 MB / 382.1 MB Notification: Performance of Templates: time 0.004563/0.1283, allocations: 1.778 MB / 0.4976 GB, free: 2.203 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches