Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 104.9 kB / 17.08 MB, free: 5.797 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.001502/0.001502, allocations: 198.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.326/1.326, 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.2076/0.2076, allocations: 43.53 MB / 314.8 MB, free: 456 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.002658/0.002659, allocations: 77.45 kB / 442.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1094, allocations: 57.78 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003182/0.1126, allocations: 1.698 MB / 0.4903 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1139, allocations: 0.8131 MB / 0.4911 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.47e-05/0.114, allocations: 0 / 0.4911 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.1144, allocations: 39.77 kB / 0.4911 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.1146, allocations: 67.69 kB / 0.4912 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.1148, allocations: 95.69 kB / 0.4913 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.115, allocations: 87.77 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.1151, allocations: 20.2 kB / 0.4914 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1153, allocations: 39.78 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.173e-05/0.1153, allocations: 27.86 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.1154, allocations: 4 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1155, allocations: 47.98 kB / 0.4915 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.1156, allocations: 31.84 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.934e-05/0.1156, allocations: 35.73 kB / 0.4915 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.1158, allocations: 115.6 kB / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1159, allocations: 4 kB / 0.4917 GB, free: 8.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1159, allocations: 0 / 0.4917 GB, free: 8.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1159, allocations: 0 / 0.4917 GB, free: 8.605 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.0005624/0.1164, allocations: 430.7 kB / 0.4921 GB, free: 8.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1165, allocations: 15.89 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.1165, allocations: 12.84 kB / 0.4921 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1168, allocations: 212 kB / 0.4923 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1168, allocations: 384 / 0.4923 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.1168, allocations: 12.11 kB / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.117, allocations: 57.61 kB / 0.4924 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.117, allocations: 0 / 0.4924 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.117, allocations: 0 / 0.4924 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.117, allocations: 4 kB / 0.4924 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.229e-05/0.1171, allocations: 19.98 kB / 0.4924 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.1175, allocations: 292.9 kB / 0.4927 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1176, allocations: 58.62 kB / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.125e-05/0.1177, allocations: 20.84 kB / 0.4927 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1177, allocations: 0 / 0.4927 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.1179, allocations: 75.39 kB / 0.4928 GB, free: 7.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.1179, allocations: 3.938 kB / 0.4928 GB, free: 7.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005167/0.1184, allocations: 173.1 kB / 0.493 GB, free: 7.074 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.1185, allocations: 55.41 kB / 0.493 GB, free: 7.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.1187, allocations: 222.7 kB / 0.4932 GB, free: 6.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.1187, allocations: 29.7 kB / 0.4933 GB, free: 6.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.1188, allocations: 112.1 kB / 0.4934 GB, free: 6.629 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.1188, allocations: 27.7 kB / 0.4934 GB, free: 6.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.1188, allocations: 17.72 kB / 0.4934 GB, free: 6.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1189, allocations: 338.7 kB / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.309e-05/0.119, allocations: 16 kB / 0.4938 GB, free: 6.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.946e-05/0.1191, allocations: 37.64 kB / 0.4938 GB, free: 6.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.1192, allocations: 65.7 kB / 0.4939 GB, free: 6.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1192, allocations: 0 / 0.4939 GB, free: 6.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001745/0.1194, allocations: 101.4 kB / 0.494 GB, free: 6.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1194, allocations: 4 kB / 0.494 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1194, allocations: 3.984 kB / 0.494 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1194, allocations: 0 / 0.494 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.501e-05/0.1195, allocations: 20 kB / 0.494 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1195, allocations: 0 / 0.494 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.1196, allocations: 0 / 0.494 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1196, allocations: 7.938 kB / 0.494 GB, free: 5.969 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.275e-05/0.1197, allocations: 141.7 kB / 0.4941 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.1197, allocations: 11.91 kB / 0.4941 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.043e-05/0.1198, allocations: 17.39 kB / 0.4942 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1198, allocations: 0 / 0.4942 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1198, allocations: 0 / 0.4942 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.1198, allocations: 88.92 kB / 0.4942 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.1199, allocations: 7.922 kB / 0.4942 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.099e-05/0.1199, allocations: 8 kB / 0.4943 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.12, allocations: 4 kB / 0.4943 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002179/0.1202, allocations: 176.9 kB / 0.4944 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002447/0.1204, allocations: 282.7 kB / 0.4947 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.284e-05/0.1205, allocations: 27.98 kB / 0.4947 GB, free: 5.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1206, allocations: 171.2 kB / 0.4949 GB, free: 4.992 MB / 382.1 MB Notification: Performance of Backend: time 6.91e-07/0.1207, allocations: 0 / 0.4949 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.122, allocations: 494.9 kB / 0.4954 GB, free: 4.551 MB / 382.1 MB Notification: Performance of SimCode: time 0.0007834/0.1228, allocations: 0.7094 MB / 0.4961 GB, free: 3.797 MB / 382.1 MB Notification: Performance of Templates: time 0.004673/0.1275, allocations: 1.78 MB / 0.4978 GB, free: 2.023 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches