Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 117.1 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.001254/0.001254, allocations: 198.1 kB / 18.02 MB, free: 5.059 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.387/1.387, 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.2049/0.2049, 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.001599/0.001599, allocations: 73.47 kB / 442.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1155, allocations: 57.79 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003272/0.1188, allocations: 1.838 MB / 0.4904 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.1204, allocations: 0.9066 MB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1205, allocations: 3.938 kB / 0.4913 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004109/0.121, allocations: 155.5 kB / 0.4915 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.1213, allocations: 135.5 kB / 0.4916 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.1218, allocations: 147.7 kB / 0.4917 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003354/0.1221, allocations: 219.3 kB / 0.4919 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1222, allocations: 29.52 kB / 0.492 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.1224, allocations: 107.6 kB / 0.4921 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.1226, allocations: 119.6 kB / 0.4922 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.1227, allocations: 8 kB / 0.4922 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.1228, allocations: 43.97 kB / 0.4922 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.543e-05/0.1229, allocations: 51.78 kB / 0.4923 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.912e-05/0.123, allocations: 71.42 kB / 0.4923 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.1233, allocations: 191.4 kB / 0.4925 GB, free: 7.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1233, allocations: 4 kB / 0.4925 GB, free: 7.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1233, allocations: 0 / 0.4925 GB, free: 7.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1233, allocations: 0 / 0.4925 GB, free: 7.68 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007201/0.124, allocations: 0.5098 MB / 0.493 GB, free: 7.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1241, allocations: 15.88 kB / 0.493 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.763e-05/0.1241, allocations: 28.66 kB / 0.4931 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.1246, allocations: 263.6 kB / 0.4933 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1246, allocations: 4.375 kB / 0.4933 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.1246, allocations: 12.12 kB / 0.4933 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.1249, allocations: 107.2 kB / 0.4934 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.1249, allocations: 0 / 0.4934 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1249, allocations: 0 / 0.4934 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1249, allocations: 0 / 0.4934 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.125, allocations: 39.97 kB / 0.4935 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005781/0.1256, allocations: 444.8 kB / 0.4939 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.1259, allocations: 117.3 kB / 0.494 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.877e-05/0.126, allocations: 37.7 kB / 0.494 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1261, allocations: 4 kB / 0.4941 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.1263, allocations: 117.1 kB / 0.4942 GB, free: 5.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.034e-06/0.1263, allocations: 3.938 kB / 0.4942 GB, free: 5.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008943/0.1272, allocations: 352 kB / 0.4945 GB, free: 5.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.1272, allocations: 81.11 kB / 0.4946 GB, free: 5.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.1276, allocations: 358.9 kB / 0.4949 GB, free: 4.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1276, allocations: 25.7 kB / 0.4949 GB, free: 4.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.1277, allocations: 144.4 kB / 0.4951 GB, free: 4.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.1278, allocations: 59.28 kB / 0.4951 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.1279, allocations: 33.7 kB / 0.4952 GB, free: 4.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.128, allocations: 338.8 kB / 0.4955 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.1281, allocations: 35.98 kB / 0.4955 GB, free: 4.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1282, allocations: 78.78 kB / 0.4956 GB, free: 4.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.1285, allocations: 123.5 kB / 0.4957 GB, free: 4.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1285, allocations: 0 / 0.4957 GB, free: 4.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003225/0.1288, allocations: 177.3 kB / 0.4959 GB, free: 3.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1288, allocations: 4 kB / 0.4959 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1289, allocations: 0 / 0.4959 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/0.1289, allocations: 4 kB / 0.4959 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.129, allocations: 35.98 kB / 0.4959 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1291, allocations: 15.88 kB / 0.4959 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.37e-05/0.1292, allocations: 7.984 kB / 0.496 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.1292, allocations: 8 kB / 0.496 GB, free: 3.867 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001607/0.1293, allocations: 153.8 kB / 0.4961 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.1294, allocations: 23.72 kB / 0.4961 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.008e-05/0.1295, allocations: 29.73 kB / 0.4962 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.1295, allocations: 3.984 kB / 0.4962 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1295, allocations: 0 / 0.4962 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.1295, allocations: 104.8 kB / 0.4963 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.1296, allocations: 4 kB / 0.4963 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.1297, allocations: 15.92 kB / 0.4963 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.1297, allocations: 11.98 kB / 0.4963 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004018/0.1301, allocations: 316.9 kB / 0.4966 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004238/0.1306, allocations: 441.3 kB / 0.497 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001155/0.1307, allocations: 56.27 kB / 0.4971 GB, free: 2.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002564/0.131, allocations: 265.9 kB / 0.4973 GB, free: 2.426 MB / 382.1 MB Notification: Performance of Backend: time 6.02e-07/0.131, allocations: 0 / 0.4973 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.1325, allocations: 0.541 MB / 0.4979 GB, free: 1.926 MB / 382.1 MB Notification: Performance of SimCode: time 0.0009376/0.1335, allocations: 0.8534 MB / 0.4987 GB, free: 1.02 MB / 382.1 MB Notification: Performance of Templates: time 0.006471/0.14, allocations: 2.835 MB / 0.5015 GB, free: 14.19 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches