Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 111.3 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.001205/0.001205, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.269/1.269, 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.1916/0.1916, 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.001504/0.001504, allocations: 74.02 kB / 442.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09349/0.095, allocations: 57.78 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002729/0.09776, allocations: 1.721 MB / 0.4903 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.09913, allocations: 0.8092 MB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.164e-05/0.09923, allocations: 0 / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.09961, allocations: 115.6 kB / 0.4912 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.09987, allocations: 83.66 kB / 0.4913 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.1001, allocations: 95.69 kB / 0.4914 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.1003, allocations: 119.7 kB / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1005, allocations: 19.97 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.1006, allocations: 55.78 kB / 0.4916 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1007, allocations: 75.67 kB / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.1007, allocations: 4 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.1008, allocations: 47.97 kB / 0.4917 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.042e-05/0.1009, allocations: 27.92 kB / 0.4917 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.101, allocations: 43.67 kB / 0.4917 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.1012, allocations: 143.5 kB / 0.4919 GB, free: 8.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1012, allocations: 4 kB / 0.4919 GB, free: 8.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1012, allocations: 3.938 kB / 0.4919 GB, free: 8.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1012, allocations: 0 / 0.4919 GB, free: 8.359 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000552/0.1017, allocations: 446.7 kB / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1018, allocations: 11.89 kB / 0.4923 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.1018, allocations: 8.844 kB / 0.4923 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.1021, allocations: 219.9 kB / 0.4925 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.1021, allocations: 4.375 kB / 0.4925 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.1022, allocations: 8.125 kB / 0.4926 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.1023, allocations: 73.59 kB / 0.4926 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1023, allocations: 3.906 kB / 0.4926 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1023, allocations: 0 / 0.4926 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1024, allocations: 4 kB / 0.4926 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.739e-05/0.1025, allocations: 35.91 kB / 0.4927 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.1028, allocations: 320.7 kB / 0.493 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.103, allocations: 82.72 kB / 0.493 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.79e-05/0.1031, allocations: 24.84 kB / 0.4931 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1031, allocations: 0 / 0.4931 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.1033, allocations: 75.42 kB / 0.4931 GB, free: 6.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.1033, allocations: 0 / 0.4931 GB, free: 6.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005702/0.1038, allocations: 236.9 kB / 0.4934 GB, free: 6.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.1039, allocations: 51.41 kB / 0.4934 GB, free: 6.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.1041, allocations: 250.5 kB / 0.4937 GB, free: 6.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1041, allocations: 29.7 kB / 0.4937 GB, free: 6.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.1042, allocations: 116.1 kB / 0.4938 GB, free: 6.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.1042, allocations: 31.55 kB / 0.4938 GB, free: 6.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.1043, allocations: 25.72 kB / 0.4939 GB, free: 6.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1044, allocations: 330.8 kB / 0.4942 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.1045, allocations: 27.98 kB / 0.4942 GB, free: 5.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.1046, allocations: 49.69 kB / 0.4942 GB, free: 5.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.1047, allocations: 81.59 kB / 0.4943 GB, free: 5.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1047, allocations: 4 kB / 0.4943 GB, free: 5.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002166/0.105, allocations: 129.5 kB / 0.4944 GB, free: 5.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.105, allocations: 8.031 kB / 0.4945 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.105, allocations: 4 kB / 0.4945 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.105, allocations: 0 / 0.4945 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1051, allocations: 27.92 kB / 0.4945 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.1051, allocations: 0 / 0.4945 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.1052, allocations: 7.938 kB / 0.4945 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1052, allocations: 7.984 kB / 0.4945 GB, free: 5.434 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 (13): * Single equations (assignments): 13 * 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.0001031/0.1053, allocations: 137.8 kB / 0.4946 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.1053, allocations: 15.81 kB / 0.4946 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.669e-05/0.1054, allocations: 25.41 kB / 0.4947 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1054, allocations: 0 / 0.4947 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1054, allocations: 3.984 kB / 0.4947 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.1054, allocations: 92.86 kB / 0.4948 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.1055, allocations: 0 / 0.4948 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.559e-05/0.1055, allocations: 11.94 kB / 0.4948 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.1056, allocations: 7.984 kB / 0.4948 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002441/0.1058, allocations: 204.9 kB / 0.495 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002788/0.1061, allocations: 310.5 kB / 0.4953 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.472e-05/0.1062, allocations: 36.36 kB / 0.4953 GB, free: 4.551 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.1063, allocations: 192.2 kB / 0.4955 GB, free: 4.363 MB / 382.1 MB Notification: Performance of Backend: time 2.2e-07/0.1064, allocations: 3.938 kB / 0.4955 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.1077, allocations: 0.5067 MB / 0.496 GB, free: 3.895 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006714/0.1084, allocations: 0.7223 MB / 0.4967 GB, free: 3.129 MB / 382.1 MB Notification: Performance of Templates: time 0.004662/0.1131, allocations: 2.012 MB / 0.4987 GB, free: 1.121 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches