Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 112.6 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.001336/0.001336, 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.346/1.346, 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.196/0.196, 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.001409/0.001409, allocations: 73.45 kB / 442.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1102, allocations: 57.78 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002827/0.1131, allocations: 1.698 MB / 0.4903 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1143, allocations: 0.8092 MB / 0.4911 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.1143, allocations: 0 / 0.4911 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.1146, allocations: 39.77 kB / 0.4911 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.1148, allocations: 55.75 kB / 0.4912 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.115, allocations: 87.77 kB / 0.4912 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.1152, allocations: 95.69 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.387e-05/0.1153, allocations: 16.22 kB / 0.4913 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.683e-05/0.1154, allocations: 43.78 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.1155, allocations: 31.78 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.1155, allocations: 4 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.749e-05/0.1156, allocations: 47.97 kB / 0.4915 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.1156, allocations: 19.94 kB / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.617e-05/0.1157, allocations: 35.73 kB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.1159, allocations: 99.75 kB / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1159, allocations: 4 kB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1159, allocations: 7.938 kB / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1159, allocations: 0 / 0.4916 GB, free: 8.609 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.0004878/0.1164, allocations: 403 kB / 0.492 GB, free: 8.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1164, allocations: 15.89 kB / 0.492 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.1165, allocations: 12.75 kB / 0.492 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1167, allocations: 207.9 kB / 0.4922 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1168, allocations: 8.375 kB / 0.4922 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.1168, allocations: 8.125 kB / 0.4922 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.1169, allocations: 53.67 kB / 0.4923 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1169, allocations: 4 kB / 0.4923 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.117, allocations: 3.984 kB / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.117, allocations: 0 / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.41e-05/0.117, allocations: 19.94 kB / 0.4923 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.1174, allocations: 284.9 kB / 0.4926 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.1175, allocations: 58.67 kB / 0.4927 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.1176, allocations: 24.84 kB / 0.4927 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.1176, allocations: 3.938 kB / 0.4927 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.1178, allocations: 67.39 kB / 0.4927 GB, free: 7.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1178, allocations: 0 / 0.4927 GB, free: 7.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00049/0.1183, allocations: 177.1 kB / 0.4929 GB, free: 7.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.1183, allocations: 55.41 kB / 0.493 GB, free: 7.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.1185, allocations: 170.2 kB / 0.4931 GB, free: 6.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1185, allocations: 25.7 kB / 0.4932 GB, free: 6.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.1186, allocations: 104.1 kB / 0.4933 GB, free: 6.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.1186, allocations: 19.7 kB / 0.4933 GB, free: 6.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.1187, allocations: 33.64 kB / 0.4933 GB, free: 6.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1188, allocations: 326.8 kB / 0.4936 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.535e-05/0.1189, allocations: 20 kB / 0.4936 GB, free: 6.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.337e-05/0.1189, allocations: 33.7 kB / 0.4937 GB, free: 6.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.119, allocations: 61.64 kB / 0.4937 GB, free: 6.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.1191, allocations: 4 kB / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001792/0.1192, allocations: 93.53 kB / 0.4938 GB, free: 6.121 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1193, allocations: 4 kB / 0.4938 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1193, allocations: 8.016 kB / 0.4938 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1193, allocations: 4 kB / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.819e-05/0.1194, allocations: 16 kB / 0.4938 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1194, allocations: 0 / 0.4938 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.53e-05/0.1194, allocations: 4 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1195, allocations: 7.922 kB / 0.4939 GB, free: 6.078 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 8.39e-05/0.1196, allocations: 125.8 kB / 0.494 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.1196, allocations: 15.81 kB / 0.494 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.1196, allocations: 20.7 kB / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1196, allocations: 0 / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1196, allocations: 0 / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.1197, allocations: 85.02 kB / 0.4941 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.1197, allocations: 7.875 kB / 0.4941 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.938e-05/0.1198, allocations: 0 / 0.4941 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.1198, allocations: 11.98 kB / 0.4941 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002082/0.12, allocations: 168.9 kB / 0.4943 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002364/0.1203, allocations: 282.9 kB / 0.4945 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.181e-05/0.1204, allocations: 27.92 kB / 0.4946 GB, free: 5.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.148e-05/0.1205, allocations: 132.1 kB / 0.4947 GB, free: 5.164 MB / 382.1 MB Notification: Performance of Backend: time 4.11e-07/0.1205, allocations: 0 / 0.4947 GB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.1218, allocations: 495.2 kB / 0.4952 GB, free: 4.723 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006051/0.1224, allocations: 0.6552 MB / 0.4958 GB, free: 4.023 MB / 382.1 MB Notification: Performance of Templates: time 0.004302/0.1267, allocations: 1.77 MB / 0.4975 GB, free: 2.258 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches