Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 113.2 kB / 17.09 MB, free: 5.965 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.001032/0.001032, allocations: 194.9 kB / 18.02 MB, free: 5.047 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.305/1.305, 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.1983/0.1983, allocations: 43.53 MB / 314.8 MB, free: 444 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.001369/0.001369, allocations: 69.47 kB / 442.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1083, allocations: 57.78 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003249/0.1116, allocations: 1.698 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1129, allocations: 0.8053 MB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.243e-05/0.113, allocations: 0 / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.1134, allocations: 119.6 kB / 0.4912 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.1137, allocations: 79.7 kB / 0.4912 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.114, allocations: 83.78 kB / 0.4913 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.1142, allocations: 119.7 kB / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.1143, allocations: 20.2 kB / 0.4915 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.1144, allocations: 55.77 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.1145, allocations: 67.75 kB / 0.4916 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.1146, allocations: 4 kB / 0.4916 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1147, allocations: 39.98 kB / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.1148, allocations: 43.83 kB / 0.4917 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.353e-05/0.1148, allocations: 43.67 kB / 0.4917 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.115, allocations: 131.6 kB / 0.4918 GB, free: 8.406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1151, allocations: 0 / 0.4918 GB, free: 8.406 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1151, allocations: 4 kB / 0.4918 GB, free: 8.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1151, allocations: 0 / 0.4918 GB, free: 8.402 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005416/0.1156, allocations: 442.6 kB / 0.4923 GB, free: 7.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1157, allocations: 11.89 kB / 0.4923 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.1157, allocations: 16.84 kB / 0.4923 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.116, allocations: 219.8 kB / 0.4925 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.116, allocations: 4.375 kB / 0.4925 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.1161, allocations: 8.125 kB / 0.4925 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1162, allocations: 65.66 kB / 0.4926 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1162, allocations: 0 / 0.4926 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1163, allocations: 0 / 0.4926 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1163, allocations: 3.938 kB / 0.4926 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.144e-05/0.1164, allocations: 31.92 kB / 0.4926 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.1168, allocations: 312.6 kB / 0.4929 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.117, allocations: 70.69 kB / 0.493 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.913e-05/0.117, allocations: 24.84 kB / 0.493 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1171, allocations: 0 / 0.493 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.1172, allocations: 79.31 kB / 0.4931 GB, free: 6.973 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.1172, allocations: 0 / 0.4931 GB, free: 6.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006173/0.1178, allocations: 201.1 kB / 0.4933 GB, free: 6.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.1179, allocations: 59.5 kB / 0.4933 GB, free: 6.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.1181, allocations: 246.5 kB / 0.4935 GB, free: 6.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.1182, allocations: 29.7 kB / 0.4936 GB, free: 6.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.1183, allocations: 108.1 kB / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.1183, allocations: 31.62 kB / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.1184, allocations: 29.7 kB / 0.4937 GB, free: 6.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1185, allocations: 330.8 kB / 0.4941 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.904e-05/0.1186, allocations: 27.98 kB / 0.4941 GB, free: 5.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.244e-05/0.1187, allocations: 45.64 kB / 0.4941 GB, free: 5.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1188, allocations: 65.7 kB / 0.4942 GB, free: 5.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1188, allocations: 0 / 0.4942 GB, free: 5.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002219/0.1191, allocations: 117.4 kB / 0.4943 GB, free: 5.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1191, allocations: 4 kB / 0.4943 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1191, allocations: 4 kB / 0.4943 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.1191, allocations: 8.031 kB / 0.4943 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1192, allocations: 19.94 kB / 0.4943 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1192, allocations: 0 / 0.4943 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.1193, allocations: 7.984 kB / 0.4943 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.1193, allocations: 7.938 kB / 0.4943 GB, free: 5.578 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 (11): * Single equations (assignments): 11 * 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.0001267/0.1195, allocations: 137.8 kB / 0.4945 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.1195, allocations: 15.84 kB / 0.4945 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.238e-05/0.1195, allocations: 13.41 kB / 0.4945 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.1196, allocations: 7.984 kB / 0.4945 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1196, allocations: 4 kB / 0.4945 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.1196, allocations: 84.92 kB / 0.4946 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.1197, allocations: 11.94 kB / 0.4946 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.212e-05/0.1197, allocations: 0 / 0.4946 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.1198, allocations: 8.078 kB / 0.4946 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002404/0.12, allocations: 192.8 kB / 0.4948 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003057/0.1203, allocations: 290.5 kB / 0.4951 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.197e-05/0.1204, allocations: 31.98 kB / 0.4951 GB, free: 4.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.1206, allocations: 192.2 kB / 0.4953 GB, free: 4.555 MB / 382.1 MB Notification: Performance of Backend: time 5.21e-07/0.1206, allocations: 0 / 0.4953 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.122, allocations: 0.492 MB / 0.4958 GB, free: 4.105 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006576/0.1227, allocations: 0.7106 MB / 0.4965 GB, free: 3.348 MB / 382.1 MB Notification: Performance of Templates: time 0.004431/0.1271, allocations: 1.887 MB / 0.4983 GB, free: 1.465 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches