Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 111.8 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.001328/0.001328, allocations: 198.8 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.422/1.422, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.199/0.199, allocations: 43.52 MB / 314.8 MB, free: 452 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.001677/0.001677, allocations: 69.47 kB / 442.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1041, allocations: 57.79 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003374/0.1075, allocations: 1.838 MB / 0.4904 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1089, allocations: 0.9027 MB / 0.4913 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.505e-05/0.109, allocations: 4 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.1094, allocations: 159.5 kB / 0.4915 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.1098, allocations: 135.5 kB / 0.4916 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.1102, allocations: 147.6 kB / 0.4917 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.1104, allocations: 211.4 kB / 0.4919 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1106, allocations: 25.53 kB / 0.492 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.1108, allocations: 107.6 kB / 0.4921 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.111, allocations: 119.6 kB / 0.4922 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.111, allocations: 12 kB / 0.4922 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1111, allocations: 51.91 kB / 0.4922 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.1113, allocations: 47.84 kB / 0.4923 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.655e-05/0.1113, allocations: 71.42 kB / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.1116, allocations: 199.1 kB / 0.4925 GB, free: 7.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1116, allocations: 3.938 kB / 0.4925 GB, free: 7.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1116, allocations: 0 / 0.4925 GB, free: 7.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1116, allocations: 0 / 0.4925 GB, free: 7.676 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000631/0.1123, allocations: 0.5175 MB / 0.493 GB, free: 7.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1123, allocations: 11.89 kB / 0.4931 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.1124, allocations: 28.75 kB / 0.4931 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.1127, allocations: 267.8 kB / 0.4933 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1128, allocations: 8.312 kB / 0.4933 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.1128, allocations: 8.125 kB / 0.4934 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.113, allocations: 99.23 kB / 0.4935 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.113, allocations: 0 / 0.4935 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1131, allocations: 12 kB / 0.4935 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1131, allocations: 0 / 0.4935 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.1132, allocations: 35.97 kB / 0.4935 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.1137, allocations: 444.9 kB / 0.4939 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.114, allocations: 121.3 kB / 0.494 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.763e-05/0.114, allocations: 37.7 kB / 0.4941 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.1141, allocations: 0 / 0.4941 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.1143, allocations: 125 kB / 0.4942 GB, free: 5.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.1143, allocations: 3.938 kB / 0.4942 GB, free: 5.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008924/0.1152, allocations: 356.7 kB / 0.4945 GB, free: 5.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.1153, allocations: 77.11 kB / 0.4946 GB, free: 5.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004235/0.1157, allocations: 358.9 kB / 0.495 GB, free: 4.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.1157, allocations: 33.64 kB / 0.495 GB, free: 4.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/0.1158, allocations: 140.4 kB / 0.4951 GB, free: 4.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.1159, allocations: 59.52 kB / 0.4952 GB, free: 4.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-05/0.116, allocations: 37.7 kB / 0.4952 GB, free: 4.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1161, allocations: 338.8 kB / 0.4955 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1162, allocations: 39.97 kB / 0.4956 GB, free: 4.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.1164, allocations: 67.42 kB / 0.4956 GB, free: 4.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.1166, allocations: 123.3 kB / 0.4958 GB, free: 4.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1166, allocations: 0 / 0.4958 GB, free: 4.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003442/0.1169, allocations: 185.6 kB / 0.4959 GB, free: 3.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.117, allocations: 4 kB / 0.4959 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.117, allocations: 0 / 0.4959 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.117, allocations: 12.05 kB / 0.4959 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.1171, allocations: 35.86 kB / 0.496 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1172, allocations: 7.938 kB / 0.496 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.018e-05/0.1172, allocations: 8 kB / 0.496 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.1173, allocations: 4 kB / 0.496 GB, free: 3.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001501/0.1174, allocations: 157.7 kB / 0.4962 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.1175, allocations: 27.86 kB / 0.4962 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.1175, allocations: 29.73 kB / 0.4962 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.1175, allocations: 4 kB / 0.4962 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1176, allocations: 0 / 0.4962 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.1176, allocations: 104.9 kB / 0.4963 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.1177, allocations: 4 kB / 0.4963 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.826e-05/0.1177, allocations: 4 kB / 0.4963 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.1178, allocations: 16.73 kB / 0.4963 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005131/0.1183, allocations: 320.1 kB / 0.4966 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004662/0.1188, allocations: 433.8 kB / 0.4971 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001192/0.1189, allocations: 55.97 kB / 0.4971 GB, free: 2.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002441/0.1192, allocations: 257.9 kB / 0.4974 GB, free: 2.406 MB / 382.1 MB Notification: Performance of Backend: time 4.11e-07/0.1192, allocations: 0 / 0.4974 GB, free: 2.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001609/0.1208, allocations: 0.5478 MB / 0.4979 GB, free: 1.898 MB / 382.1 MB Notification: Performance of SimCode: time 0.0009694/0.1218, allocations: 0.8531 MB / 0.4987 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of Templates: time 0.006333/0.1281, allocations: 2.777 MB / 0.5014 GB, free: 14.22 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches