Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, 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.001257/0.001257, 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.392/1.392, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1953/0.1953, 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.001555/0.001555, allocations: 73.45 kB / 442.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1072, allocations: 57.78 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003466/0.1107, allocations: 1.698 MB / 0.4903 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.1129, allocations: 1.412 MB / 0.4917 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.523e-05/0.113, allocations: 0 / 0.4917 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.1134, allocations: 47.7 kB / 0.4917 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.1136, allocations: 63.75 kB / 0.4918 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.1139, allocations: 87.7 kB / 0.4918 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1141, allocations: 95.75 kB / 0.4919 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.285e-05/0.1142, allocations: 16.22 kB / 0.4919 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1143, allocations: 47.77 kB / 0.492 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1144, allocations: 31.84 kB / 0.492 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.1145, allocations: 11.94 kB / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.1146, allocations: 59.97 kB / 0.4921 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.1147, allocations: 11.98 kB / 0.4921 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.171e-05/0.1147, allocations: 35.73 kB / 0.4921 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.115, allocations: 119.7 kB / 0.4923 GB, free: 7.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.115, allocations: 0 / 0.4923 GB, free: 7.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.115, allocations: 4 kB / 0.4923 GB, free: 7.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.115, allocations: 0 / 0.4923 GB, free: 7.961 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.0005104/0.1155, allocations: 406.5 kB / 0.4926 GB, free: 7.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1156, allocations: 11.89 kB / 0.4927 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.1156, allocations: 8.844 kB / 0.4927 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.1159, allocations: 200.2 kB / 0.4929 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1159, allocations: 4.375 kB / 0.4929 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.1159, allocations: 8.062 kB / 0.4929 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.1161, allocations: 75.38 kB / 0.4929 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1161, allocations: 0 / 0.4929 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1161, allocations: 4 kB / 0.4929 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1162, allocations: 0 / 0.4929 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.736e-05/0.1162, allocations: 19.98 kB / 0.493 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.1166, allocations: 296.7 kB / 0.4932 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.1168, allocations: 58.62 kB / 0.4933 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.1168, allocations: 20.84 kB / 0.4933 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1169, allocations: 0 / 0.4933 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.117, allocations: 67.39 kB / 0.4934 GB, free: 6.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.117, allocations: 0 / 0.4934 GB, free: 6.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005094/0.1176, allocations: 173.3 kB / 0.4935 GB, free: 6.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.1176, allocations: 77.11 kB / 0.4936 GB, free: 6.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.1178, allocations: 149.8 kB / 0.4938 GB, free: 6.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1178, allocations: 25.7 kB / 0.4938 GB, free: 6.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.1178, allocations: 100.1 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.1179, allocations: 27.64 kB / 0.4939 GB, free: 6.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.1179, allocations: 21.72 kB / 0.4939 GB, free: 6.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1181, allocations: 326.7 kB / 0.4942 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.113e-05/0.1181, allocations: 28.36 kB / 0.4943 GB, free: 5.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.749e-05/0.1182, allocations: 42.56 kB / 0.4943 GB, free: 5.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1183, allocations: 49.72 kB / 0.4944 GB, free: 5.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1183, allocations: 4 kB / 0.4944 GB, free: 5.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001929/0.1185, allocations: 105.5 kB / 0.4945 GB, free: 5.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1186, allocations: 12.06 kB / 0.4945 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1186, allocations: 0 / 0.4945 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1186, allocations: 0 / 0.4945 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.553e-05/0.1187, allocations: 15.98 kB / 0.4945 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1187, allocations: 7.938 kB / 0.4945 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.1187, allocations: 0 / 0.4945 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1188, allocations: 7.938 kB / 0.4945 GB, free: 5.406 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.192e-05/0.1189, allocations: 129.7 kB / 0.4946 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.1189, allocations: 11.81 kB / 0.4946 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.1189, allocations: 20.7 kB / 0.4947 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.119, allocations: 0 / 0.4947 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.119, allocations: 0 / 0.4947 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.119, allocations: 81.02 kB / 0.4947 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.119, allocations: 7.938 kB / 0.4947 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.1191, allocations: 7.984 kB / 0.4948 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.1191, allocations: 4 kB / 0.4948 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002161/0.1193, allocations: 172.9 kB / 0.4949 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002502/0.1196, allocations: 282.9 kB / 0.4952 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.294e-05/0.1197, allocations: 27.98 kB / 0.4952 GB, free: 4.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.929e-05/0.1198, allocations: 122.7 kB / 0.4953 GB, free: 4.504 MB / 382.1 MB Notification: Performance of Backend: time 4.51e-07/0.1198, allocations: 0 / 0.4953 GB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.1212, allocations: 0.5027 MB / 0.4958 GB, free: 4.043 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005865/0.1218, allocations: 0.6477 MB / 0.4965 GB, free: 3.344 MB / 382.1 MB Notification: Performance of Templates: time 0.004796/0.1266, allocations: 2.041 MB / 0.4985 GB, free: 1.309 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches