Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001111, allocations: 108.9 kB / 17.09 MB, free: 6.02 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.001146/0.001146, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.352/1.352, 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.2012/0.2012, allocations: 43.54 MB / 314.8 MB, free: 468 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.001509/0.001509, allocations: 71.91 kB / 442.6 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.115, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003514/0.1186, allocations: 1.691 MB / 0.4903 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1204, allocations: 0.8053 MB / 0.4911 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.1205, allocations: 4 kB / 0.4911 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.1209, allocations: 35.78 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.1212, allocations: 51.75 kB / 0.4911 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.1215, allocations: 91.77 kB / 0.4912 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.1218, allocations: 95.67 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1219, allocations: 20.22 kB / 0.4913 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.122, allocations: 39.8 kB / 0.4914 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.467e-05/0.1221, allocations: 31.83 kB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.1222, allocations: 4 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.1223, allocations: 43.94 kB / 0.4915 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.44e-05/0.1224, allocations: 19.92 kB / 0.4915 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.981e-05/0.1224, allocations: 35.73 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.1227, allocations: 99.77 kB / 0.4916 GB, free: 8.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.1227, allocations: 7.938 kB / 0.4916 GB, free: 8.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.1227, allocations: 3.984 kB / 0.4916 GB, free: 8.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.1227, allocations: 0 / 0.4916 GB, free: 8.648 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.0006161/0.1234, allocations: 403 kB / 0.492 GB, free: 8.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1234, allocations: 15.83 kB / 0.492 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.1235, allocations: 12.75 kB / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.1238, allocations: 211.9 kB / 0.4922 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1238, allocations: 4.375 kB / 0.4922 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.1238, allocations: 12.12 kB / 0.4922 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.124, allocations: 53.67 kB / 0.4923 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.124, allocations: 0 / 0.4923 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.124, allocations: 0 / 0.4923 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.124, allocations: 4 kB / 0.4923 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.617e-05/0.1241, allocations: 15.98 kB / 0.4923 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.1245, allocations: 284.8 kB / 0.4926 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1246, allocations: 58.67 kB / 0.4926 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.034e-05/0.1247, allocations: 24.84 kB / 0.4927 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1247, allocations: 0 / 0.4927 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.1249, allocations: 67.33 kB / 0.4927 GB, free: 7.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1249, allocations: 3.938 kB / 0.4927 GB, free: 7.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005176/0.1254, allocations: 189.1 kB / 0.4929 GB, free: 7.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.1255, allocations: 55.34 kB / 0.493 GB, free: 7.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.1256, allocations: 170.2 kB / 0.4931 GB, free: 6.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.1257, allocations: 25.7 kB / 0.4932 GB, free: 6.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.1257, allocations: 100.1 kB / 0.4932 GB, free: 6.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.1258, allocations: 19.72 kB / 0.4933 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.1258, allocations: 25.7 kB / 0.4933 GB, free: 6.719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.126, allocations: 330.8 kB / 0.4936 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.466e-05/0.1261, allocations: 16 kB / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-05/0.1262, allocations: 37.7 kB / 0.4937 GB, free: 6.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.1263, allocations: 65.7 kB / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1263, allocations: 0 / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001865/0.1265, allocations: 93.59 kB / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1265, allocations: 4 kB / 0.4938 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1265, allocations: 4.031 kB / 0.4938 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1265, allocations: 0 / 0.4938 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.171e-05/0.1266, allocations: 27.92 kB / 0.4938 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1266, allocations: 0 / 0.4938 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.407e-05/0.1267, allocations: 0 / 0.4938 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1267, allocations: 7.938 kB / 0.4939 GB, free: 6.117 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 0.0001049/0.1268, allocations: 133 kB / 0.494 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.1269, allocations: 15.81 kB / 0.494 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/0.1269, allocations: 20.7 kB / 0.494 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1269, allocations: 4 kB / 0.494 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1269, allocations: 0 / 0.494 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.127, allocations: 81.02 kB / 0.4941 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.127, allocations: 7.938 kB / 0.4941 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.95e-05/0.1271, allocations: 0 / 0.4941 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.1271, allocations: 7.984 kB / 0.4941 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002234/0.1273, allocations: 176.9 kB / 0.4943 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002509/0.1276, allocations: 278.6 kB / 0.4945 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.215e-05/0.1277, allocations: 27.98 kB / 0.4946 GB, free: 5.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.1278, allocations: 132.1 kB / 0.4947 GB, free: 5.199 MB / 382.1 MB Notification: Performance of Backend: time 2.41e-07/0.1278, allocations: 0 / 0.4947 GB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.1291, allocations: 494.8 kB / 0.4952 GB, free: 4.758 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006349/0.1298, allocations: 0.6553 MB / 0.4958 GB, free: 4.059 MB / 382.1 MB Notification: Performance of Templates: time 0.004494/0.1343, allocations: 1.77 MB / 0.4975 GB, free: 2.293 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches