Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 107.9 kB / 17.09 MB, free: 5.777 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.001005/0.001005, allocations: 190.9 kB / 18.02 MB, free: 4.918 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.309/1.309, 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.1982/0.1982, 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.001678/0.001678, allocations: 73.45 kB / 442.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1143, allocations: 57.79 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003259/0.1176, allocations: 1.694 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.119, allocations: 0.8053 MB / 0.4911 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.827e-05/0.1191, allocations: 0 / 0.4911 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.1195, allocations: 43.77 kB / 0.4911 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.1198, allocations: 51.77 kB / 0.4912 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.1201, allocations: 91.69 kB / 0.4912 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.1203, allocations: 91.7 kB / 0.4913 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1204, allocations: 24.19 kB / 0.4914 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1206, allocations: 35.8 kB / 0.4914 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.615e-05/0.1207, allocations: 31.84 kB / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.1207, allocations: 4 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1208, allocations: 43.98 kB / 0.4915 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.78e-05/0.1209, allocations: 23.92 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.379e-05/0.121, allocations: 35.73 kB / 0.4915 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.1212, allocations: 115.6 kB / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1212, allocations: 0 / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1212, allocations: 0 / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.1212, allocations: 0 / 0.4916 GB, free: 8.613 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.0005773/0.1218, allocations: 410.4 kB / 0.492 GB, free: 8.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1219, allocations: 11.89 kB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.1219, allocations: 16.83 kB / 0.492 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.1222, allocations: 208 kB / 0.4922 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.1222, allocations: 12.38 kB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.1223, allocations: 8.109 kB / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.1224, allocations: 57.61 kB / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1225, allocations: 0 / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1225, allocations: 4 kB / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1225, allocations: 0 / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.997e-05/0.1226, allocations: 15.98 kB / 0.4923 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.123, allocations: 284.9 kB / 0.4926 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.1232, allocations: 66.61 kB / 0.4927 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.1233, allocations: 20.84 kB / 0.4927 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1233, allocations: 0 / 0.4927 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.1234, allocations: 67.3 kB / 0.4928 GB, free: 7.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.1235, allocations: 0 / 0.4928 GB, free: 7.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005459/0.124, allocations: 181.2 kB / 0.4929 GB, free: 7.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.1241, allocations: 51.41 kB / 0.493 GB, free: 7.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.1242, allocations: 190.1 kB / 0.4932 GB, free: 6.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1243, allocations: 29.7 kB / 0.4932 GB, free: 6.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.1243, allocations: 104.1 kB / 0.4933 GB, free: 6.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.1244, allocations: 23.64 kB / 0.4933 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.1244, allocations: 21.72 kB / 0.4933 GB, free: 6.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1246, allocations: 330.8 kB / 0.4936 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/0.1246, allocations: 23.98 kB / 0.4937 GB, free: 6.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.908e-05/0.1247, allocations: 37.64 kB / 0.4937 GB, free: 6.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1248, allocations: 57.7 kB / 0.4938 GB, free: 6.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1249, allocations: 0 / 0.4938 GB, free: 6.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001883/0.125, allocations: 101.6 kB / 0.4939 GB, free: 6.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1251, allocations: 12.03 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1251, allocations: 0 / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1251, allocations: 0 / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.704e-05/0.1252, allocations: 15.98 kB / 0.4939 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1252, allocations: 4 kB / 0.4939 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.1253, allocations: 0 / 0.4939 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1253, 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 0.0001116/0.1254, allocations: 137.5 kB / 0.494 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.1254, allocations: 11.81 kB / 0.494 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.1255, allocations: 24.66 kB / 0.4941 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1255, allocations: 3.984 kB / 0.4941 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1255, allocations: 0 / 0.4941 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.1255, allocations: 81.02 kB / 0.4941 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.1256, allocations: 11.94 kB / 0.4942 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.869e-05/0.1256, allocations: 0 / 0.4942 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.1257, allocations: 7.984 kB / 0.4942 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002011/0.1259, allocations: 172.9 kB / 0.4943 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002593/0.1261, allocations: 278.6 kB / 0.4946 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.253e-05/0.1262, allocations: 31.97 kB / 0.4946 GB, free: 5.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.1263, allocations: 144.1 kB / 0.4948 GB, free: 5.117 MB / 382.1 MB Notification: Performance of Backend: time 5.71e-07/0.1263, allocations: 0 / 0.4948 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.1277, allocations: 478.5 kB / 0.4952 GB, free: 4.695 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006175/0.1283, allocations: 0.6704 MB / 0.4959 GB, free: 3.977 MB / 382.1 MB Notification: Performance of Templates: time 0.004499/0.1328, allocations: 1.778 MB / 0.4976 GB, free: 2.203 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches