Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 107.9 kB / 17.09 MB, free: 6.02 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.001144/0.001144, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.351/1.351, 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.2049/0.2049, allocations: 43.53 MB / 314.8 MB, free: 468 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.001653/0.001653, allocations: 64.38 kB / 442.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1074, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003033/0.1105, allocations: 1.686 MB / 0.4903 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1118, allocations: 0.8131 MB / 0.4911 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.36e-05/0.1119, allocations: 0 / 0.4911 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.1122, allocations: 43.77 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.1124, allocations: 51.75 kB / 0.4912 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1127, allocations: 91.77 kB / 0.4912 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.1129, allocations: 99.69 kB / 0.4913 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/0.113, allocations: 12.22 kB / 0.4913 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.857e-05/0.1131, allocations: 47.77 kB / 0.4914 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.855e-05/0.1132, allocations: 27.8 kB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.1132, allocations: 4 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.1133, allocations: 47.97 kB / 0.4915 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.1134, allocations: 23.92 kB / 0.4915 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.905e-05/0.1134, allocations: 35.73 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.1137, allocations: 115.7 kB / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1137, allocations: 0 / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1137, allocations: 0 / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1137, allocations: 0 / 0.4916 GB, free: 8.637 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.0005354/0.1142, allocations: 418.8 kB / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1143, allocations: 11.89 kB / 0.492 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.1143, allocations: 8.844 kB / 0.4921 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.1146, allocations: 220.7 kB / 0.4923 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1146, allocations: 8.375 kB / 0.4923 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.1146, allocations: 4.125 kB / 0.4923 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1148, allocations: 53.67 kB / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1148, allocations: 0 / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.1148, allocations: 0 / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1149, allocations: 4 kB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.458e-05/0.1149, allocations: 19.92 kB / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.1153, allocations: 288.9 kB / 0.4926 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.1155, allocations: 58.67 kB / 0.4927 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.365e-05/0.1155, allocations: 20.84 kB / 0.4927 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.1156, allocations: 0 / 0.4927 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.1157, allocations: 71.33 kB / 0.4928 GB, free: 7.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1157, allocations: 0 / 0.4928 GB, free: 7.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005618/0.1163, allocations: 181.1 kB / 0.4929 GB, free: 7.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.1163, allocations: 51.41 kB / 0.493 GB, free: 7.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.1166, allocations: 191.3 kB / 0.4932 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1166, allocations: 33.7 kB / 0.4932 GB, free: 6.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.1166, allocations: 104 kB / 0.4933 GB, free: 6.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.1167, allocations: 27.72 kB / 0.4933 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.1167, allocations: 29.66 kB / 0.4934 GB, free: 6.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1169, allocations: 330.8 kB / 0.4937 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.601e-05/0.1169, allocations: 15.98 kB / 0.4937 GB, free: 6.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.465e-05/0.117, allocations: 38.08 kB / 0.4937 GB, free: 6.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1171, allocations: 61.64 kB / 0.4938 GB, free: 6.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1171, allocations: 0 / 0.4938 GB, free: 6.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001834/0.1173, allocations: 113.5 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1173, allocations: 8.031 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1174, allocations: 0 / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1174, allocations: 0 / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.875e-05/0.1175, allocations: 19.98 kB / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1175, allocations: 0 / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.341e-05/0.1175, allocations: 0 / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1175, allocations: 7.938 kB / 0.4939 GB, free: 6.051 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 0.0001002/0.1176, allocations: 133.8 kB / 0.4941 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.1177, allocations: 7.906 kB / 0.4941 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.1177, allocations: 21.39 kB / 0.4941 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1177, allocations: 4 kB / 0.4941 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1177, allocations: 0 / 0.4941 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.1178, allocations: 84.92 kB / 0.4942 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.1178, allocations: 7.938 kB / 0.4942 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.995e-05/0.1179, allocations: 4 kB / 0.4942 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.1179, allocations: 11.92 kB / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002038/0.1181, allocations: 168.9 kB / 0.4944 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002615/0.1184, allocations: 278.6 kB / 0.4946 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.693e-05/0.1185, allocations: 35.91 kB / 0.4947 GB, free: 5.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1186, allocations: 152.9 kB / 0.4948 GB, free: 5.102 MB / 382.1 MB Notification: Performance of Backend: time 3.71e-07/0.1186, allocations: 0 / 0.4948 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.12, allocations: 486.5 kB / 0.4953 GB, free: 4.668 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006606/0.1207, allocations: 0.6861 MB / 0.4959 GB, free: 3.938 MB / 382.1 MB Notification: Performance of Templates: time 0.004702/0.1254, allocations: 1.778 MB / 0.4977 GB, free: 2.164 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches