Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 109.9 kB / 17.09 MB, free: 5.984 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.001395/0.001395, allocations: 199.3 kB / 18.02 MB, free: 5.07 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.405/1.405, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2016/0.2016, allocations: 43.52 MB / 314.8 MB, free: 476 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.001497/0.001497, allocations: 75.89 kB / 442.6 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1208, allocations: 57.78 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003365/0.1242, allocations: 1.694 MB / 0.4903 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.1264, allocations: 1.412 MB / 0.4917 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.1265, allocations: 0 / 0.4917 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.1269, allocations: 39.77 kB / 0.4917 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.1272, allocations: 67.69 kB / 0.4918 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.1275, allocations: 91.7 kB / 0.4918 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.1277, allocations: 91.75 kB / 0.4919 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1278, allocations: 16.22 kB / 0.4919 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1279, allocations: 43.78 kB / 0.492 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.1281, allocations: 39.83 kB / 0.492 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.1281, allocations: 4 kB / 0.492 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.1283, allocations: 55.98 kB / 0.4921 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.673e-05/0.1284, allocations: 27.84 kB / 0.4921 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.361e-05/0.1284, allocations: 27.81 kB / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.1287, allocations: 119.7 kB / 0.4923 GB, free: 7.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1287, allocations: 0 / 0.4923 GB, free: 7.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1287, allocations: 4 kB / 0.4923 GB, free: 7.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1287, allocations: 0 / 0.4923 GB, free: 7.992 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.0006185/0.1294, allocations: 406.5 kB / 0.4926 GB, free: 7.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.1294, allocations: 11.89 kB / 0.4927 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.1295, allocations: 8.844 kB / 0.4927 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.1298, allocations: 212.1 kB / 0.4929 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1298, allocations: 384 / 0.4929 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.1299, allocations: 8.125 kB / 0.4929 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.13, allocations: 71.39 kB / 0.4929 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1301, allocations: 0 / 0.4929 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.1301, allocations: 0 / 0.4929 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1301, allocations: 4 kB / 0.4929 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.919e-05/0.1302, allocations: 19.97 kB / 0.493 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.1306, allocations: 292.7 kB / 0.4932 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.1308, allocations: 58.67 kB / 0.4933 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.1309, allocations: 16.86 kB / 0.4933 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1309, allocations: 4 kB / 0.4933 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.1311, allocations: 67.33 kB / 0.4934 GB, free: 6.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.1311, allocations: 0 / 0.4934 GB, free: 6.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005845/0.1317, allocations: 169.4 kB / 0.4935 GB, free: 6.496 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.1317, allocations: 81.05 kB / 0.4936 GB, free: 6.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1319, allocations: 149.8 kB / 0.4938 GB, free: 6.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1319, allocations: 33.64 kB / 0.4938 GB, free: 6.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.132, allocations: 92.14 kB / 0.4939 GB, free: 6.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.132, allocations: 31.62 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.1321, allocations: 21.72 kB / 0.4939 GB, free: 6.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1322, allocations: 326.8 kB / 0.4942 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.659e-05/0.1323, allocations: 23.98 kB / 0.4943 GB, free: 5.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.1324, allocations: 42.56 kB / 0.4943 GB, free: 5.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.1325, allocations: 61.64 kB / 0.4944 GB, free: 5.582 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1325, allocations: 0 / 0.4944 GB, free: 5.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001839/0.1327, allocations: 97.66 kB / 0.4945 GB, free: 5.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1327, allocations: 8.062 kB / 0.4945 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1327, allocations: 384 / 0.4945 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1327, allocations: 0 / 0.4945 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1328, allocations: 23.92 kB / 0.4945 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1329, allocations: 0 / 0.4945 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.264e-05/0.1329, allocations: 8 kB / 0.4945 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1329, allocations: 7.938 kB / 0.4945 GB, free: 5.434 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.663e-05/0.133, allocations: 125.8 kB / 0.4946 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.1331, allocations: 11.81 kB / 0.4946 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.235e-05/0.1331, allocations: 20.66 kB / 0.4947 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1331, allocations: 0 / 0.4947 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1331, allocations: 0 / 0.4947 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.1332, allocations: 89 kB / 0.4947 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.1332, allocations: 3.938 kB / 0.4947 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.229e-05/0.1333, allocations: 4 kB / 0.4948 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.1333, allocations: 7.984 kB / 0.4948 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000222/0.1336, allocations: 176.9 kB / 0.4949 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002626/0.1338, allocations: 270.7 kB / 0.4952 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.664e-05/0.1339, allocations: 27.98 kB / 0.4952 GB, free: 4.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.993e-05/0.134, allocations: 122.7 kB / 0.4953 GB, free: 4.539 MB / 382.1 MB Notification: Performance of Backend: time 5.01e-07/0.134, allocations: 0 / 0.4953 GB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.1356, allocations: 0.517 MB / 0.4958 GB, free: 4.066 MB / 382.1 MB Notification: Performance of SimCode: time 0.0007765/0.1363, allocations: 0.6477 MB / 0.4965 GB, free: 3.367 MB / 382.1 MB Notification: Performance of Templates: time 0.005279/0.1416, allocations: 2.038 MB / 0.4985 GB, free: 1.332 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches