Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 109.8 kB / 17.09 MB, free: 5.957 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.001433/0.001433, allocations: 199.3 kB / 18.02 MB, free: 5.043 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.338/1.338, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.1961/0.1961, allocations: 43.52 MB / 314.8 MB, free: 464 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.001444/0.001444, allocations: 73.45 kB / 442.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1077, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003139/0.1108, allocations: 1.697 MB / 0.4903 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1122, allocations: 0.8014 MB / 0.4911 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.727e-05/0.1123, allocations: 0 / 0.4911 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.1127, allocations: 39.77 kB / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.1129, allocations: 59.75 kB / 0.4912 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.1131, allocations: 83.77 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.1133, allocations: 99.69 kB / 0.4913 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.429e-05/0.1134, allocations: 12.22 kB / 0.4913 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.298e-05/0.1135, allocations: 47.77 kB / 0.4914 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.93e-05/0.1136, allocations: 31.8 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1136, allocations: 0 / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1137, allocations: 43.98 kB / 0.4915 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.1138, allocations: 27.91 kB / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.974e-05/0.1139, allocations: 31.75 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.1141, allocations: 111.7 kB / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1141, allocations: 0 / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1141, allocations: 4 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.1141, allocations: 0 / 0.4916 GB, free: 8.625 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.000497/0.1146, allocations: 410.9 kB / 0.492 GB, free: 8.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1146, allocations: 15.89 kB / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.1147, allocations: 8.844 kB / 0.492 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.115, allocations: 216 kB / 0.4922 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.115, allocations: 4.312 kB / 0.4922 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.115, allocations: 4.125 kB / 0.4923 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1152, allocations: 61.67 kB / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1152, allocations: 0 / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1152, allocations: 0 / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1152, allocations: 0 / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.519e-05/0.1153, allocations: 23.92 kB / 0.4923 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.1157, allocations: 284.9 kB / 0.4926 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.1158, allocations: 66.66 kB / 0.4927 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/0.1159, allocations: 16.86 kB / 0.4927 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.1159, allocations: 0 / 0.4927 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.1161, allocations: 75.23 kB / 0.4928 GB, free: 7.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.1161, allocations: 0 / 0.4928 GB, free: 7.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005372/0.1167, allocations: 169.5 kB / 0.4929 GB, free: 7.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.1167, allocations: 59.41 kB / 0.493 GB, free: 7.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1169, allocations: 182.1 kB / 0.4931 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1169, allocations: 33.7 kB / 0.4932 GB, free: 6.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.117, allocations: 100.1 kB / 0.4933 GB, free: 6.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.117, allocations: 23.66 kB / 0.4933 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.1171, allocations: 25.7 kB / 0.4933 GB, free: 6.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1172, allocations: 322.8 kB / 0.4936 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.451e-05/0.1172, allocations: 20.06 kB / 0.4937 GB, free: 6.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.1173, allocations: 45.7 kB / 0.4937 GB, free: 6.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.1174, allocations: 69.69 kB / 0.4938 GB, free: 6.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1174, allocations: 0 / 0.4938 GB, free: 6.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000184/0.1176, allocations: 89.59 kB / 0.4938 GB, free: 6.109 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1177, allocations: 11.98 kB / 0.4939 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1177, allocations: 0 / 0.4939 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1177, allocations: 4.031 kB / 0.4939 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.1178, allocations: 19.94 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.1178, allocations: 0 / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.1178, allocations: 4 kB / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1179, allocations: 11.92 kB / 0.4939 GB, free: 6.059 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.905e-05/0.118, allocations: 121.8 kB / 0.494 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.118, allocations: 15.81 kB / 0.494 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.118, allocations: 20.89 kB / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.118, allocations: 3.938 kB / 0.4941 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1181, allocations: 7.938 kB / 0.4941 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.1181, allocations: 85.02 kB / 0.4941 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.1181, allocations: 3.938 kB / 0.4941 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.026e-05/0.1182, allocations: 3.984 kB / 0.4941 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.1182, allocations: 4 kB / 0.4942 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002124/0.1184, allocations: 176.9 kB / 0.4943 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002473/0.1187, allocations: 278.6 kB / 0.4946 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.156e-05/0.1188, allocations: 23.98 kB / 0.4946 GB, free: 5.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.1189, allocations: 148 kB / 0.4947 GB, free: 5.129 MB / 382.1 MB Notification: Performance of Backend: time 2.4e-07/0.1189, allocations: 0 / 0.4947 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.1202, allocations: 476.9 kB / 0.4952 GB, free: 4.707 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006362/0.1209, allocations: 0.6667 MB / 0.4959 GB, free: 3.992 MB / 382.1 MB Notification: Performance of Templates: time 0.004416/0.1253, allocations: 1.782 MB / 0.4976 GB, free: 2.215 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches