Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 110.2 kB / 17.09 MB, free: 5.953 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.001328/0.001328, allocations: 200.2 kB / 18.03 MB, free: 5.035 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.321/1.321, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2072/0.2072, allocations: 43.53 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.001872/0.001872, allocations: 65.47 kB / 442.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09889/0.1008, allocations: 57.79 MB / 0.4886 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002859/0.1037, allocations: 1.69 MB / 0.4903 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1049, allocations: 0.8053 MB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.105, allocations: 3.938 kB / 0.4911 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.1053, allocations: 47.81 kB / 0.4911 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.1056, allocations: 63.69 kB / 0.4912 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.1058, allocations: 91.77 kB / 0.4913 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.106, allocations: 91.69 kB / 0.4913 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.825e-05/0.1061, allocations: 24.19 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.618e-05/0.1062, allocations: 39.8 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.613e-05/0.1063, allocations: 31.84 kB / 0.4914 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.1063, allocations: 4 kB / 0.4914 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1064, allocations: 43.92 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.435e-05/0.1065, allocations: 35.84 kB / 0.4915 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.579e-05/0.1066, allocations: 43.67 kB / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.1068, allocations: 131.4 kB / 0.4917 GB, free: 8.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1068, allocations: 0 / 0.4917 GB, free: 8.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1068, allocations: 0 / 0.4917 GB, free: 8.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.1068, allocations: 0 / 0.4917 GB, free: 8.543 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.0004981/0.1073, allocations: 438.6 kB / 0.4921 GB, free: 8.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1074, allocations: 15.89 kB / 0.4921 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.1074, allocations: 16.84 kB / 0.4921 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.1077, allocations: 223.7 kB / 0.4924 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1077, allocations: 4.375 kB / 0.4924 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.1077, allocations: 8.125 kB / 0.4924 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1079, allocations: 53.67 kB / 0.4924 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1079, allocations: 0 / 0.4924 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1079, allocations: 4 kB / 0.4924 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1079, allocations: 0 / 0.4924 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.423e-05/0.108, allocations: 19.98 kB / 0.4924 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.1084, allocations: 304.8 kB / 0.4927 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1086, allocations: 58.61 kB / 0.4928 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.1086, allocations: 16.86 kB / 0.4928 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1086, allocations: 4 kB / 0.4928 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.1088, allocations: 71.33 kB / 0.4929 GB, free: 7.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1088, allocations: 3.938 kB / 0.4929 GB, free: 7.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005241/0.1093, allocations: 177.4 kB / 0.493 GB, free: 6.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.1094, allocations: 55.41 kB / 0.4931 GB, free: 6.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.1096, allocations: 262.5 kB / 0.4933 GB, free: 6.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.1096, allocations: 25.7 kB / 0.4934 GB, free: 6.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.1097, allocations: 116.1 kB / 0.4935 GB, free: 6.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.1097, allocations: 27.78 kB / 0.4935 GB, free: 6.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.1098, allocations: 25.72 kB / 0.4935 GB, free: 6.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1099, allocations: 326.8 kB / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.036e-05/0.11, allocations: 23.98 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.479e-05/0.1101, allocations: 34.08 kB / 0.4939 GB, free: 6.043 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1102, allocations: 69.75 kB / 0.494 GB, free: 5.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1102, allocations: 3.938 kB / 0.494 GB, free: 5.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000189/0.1104, allocations: 105.5 kB / 0.4941 GB, free: 5.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1104, allocations: 8 kB / 0.4941 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1104, allocations: 0 / 0.4941 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1104, allocations: 0 / 0.4941 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.1105, allocations: 19.92 kB / 0.4941 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1105, allocations: 0 / 0.4941 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.1106, allocations: 8 kB / 0.4941 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.1106, allocations: 11.97 kB / 0.4941 GB, free: 5.809 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.505e-05/0.1107, allocations: 137.8 kB / 0.4942 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.1107, allocations: 11.91 kB / 0.4943 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.543e-05/0.1108, allocations: 21.39 kB / 0.4943 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1108, allocations: 0 / 0.4943 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1108, allocations: 0 / 0.4943 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.1108, allocations: 85.06 kB / 0.4944 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.1109, allocations: 11.92 kB / 0.4944 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.314e-05/0.1109, allocations: 8 kB / 0.4944 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.111, allocations: 4 kB / 0.4944 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002047/0.1112, allocations: 180.8 kB / 0.4946 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000245/0.1114, allocations: 278.6 kB / 0.4948 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.523e-05/0.1115, allocations: 28.17 kB / 0.4948 GB, free: 5.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.1117, allocations: 192.5 kB / 0.495 GB, free: 4.816 MB / 382.1 MB Notification: Performance of Backend: time 3.81e-07/0.1117, allocations: 7.938 kB / 0.495 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.113, allocations: 0.4968 MB / 0.4955 GB, free: 4.355 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006087/0.1137, allocations: 0.7179 MB / 0.4962 GB, free: 3.59 MB / 382.1 MB Notification: Performance of Templates: time 0.004716/0.1184, allocations: 1.774 MB / 0.498 GB, free: 1.82 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches