Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") 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: 105.1 kB / 17.09 MB, free: 5.777 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.001202/0.001202, allocations: 200.2 kB / 18.02 MB, free: 4.902 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.297/1.297, 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.1967/0.1967, allocations: 43.52 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.001419/0.001419, allocations: 73.45 kB / 442.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09702/0.09845, allocations: 57.79 MB / 0.4886 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002756/0.1012, allocations: 1.69 MB / 0.4903 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1024, allocations: 0.8014 MB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.958e-05/0.1025, allocations: 0 / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.1028, allocations: 39.77 kB / 0.4911 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.1031, allocations: 51.77 kB / 0.4911 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.1033, allocations: 91.75 kB / 0.4912 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.1035, allocations: 91.7 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1037, allocations: 24.19 kB / 0.4913 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.618e-05/0.1038, allocations: 39.8 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.451e-05/0.1039, allocations: 23.86 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.1039, allocations: 7.938 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.566e-05/0.104, allocations: 43.97 kB / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.1041, allocations: 27.92 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.202e-05/0.1041, allocations: 31.73 kB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1043, allocations: 107.6 kB / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1043, allocations: 4 kB / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.1044, allocations: 0 / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1044, allocations: 7.938 kB / 0.4916 GB, free: 8.602 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.0005077/0.1049, allocations: 402.8 kB / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1049, allocations: 15.89 kB / 0.492 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.105, allocations: 8.891 kB / 0.492 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.1052, allocations: 212 kB / 0.4922 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1052, allocations: 4.375 kB / 0.4922 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1053, allocations: 8.109 kB / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.1054, allocations: 57.67 kB / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1054, allocations: 7.953 kB / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1055, allocations: 0 / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1055, allocations: 0 / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.887e-05/0.1056, allocations: 23.92 kB / 0.4923 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.1059, allocations: 280.9 kB / 0.4926 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.1061, allocations: 58.67 kB / 0.4927 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.1061, allocations: 20.86 kB / 0.4927 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.1062, allocations: 3.984 kB / 0.4927 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.1063, allocations: 67.33 kB / 0.4927 GB, free: 7.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.1063, allocations: 0 / 0.4927 GB, free: 7.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000544/0.1069, allocations: 173.3 kB / 0.4929 GB, free: 7.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.1069, allocations: 63.39 kB / 0.493 GB, free: 7.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.1071, allocations: 166.2 kB / 0.4931 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1071, allocations: 29.64 kB / 0.4932 GB, free: 6.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.1072, allocations: 100.1 kB / 0.4933 GB, free: 6.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.1072, allocations: 27.78 kB / 0.4933 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.1072, allocations: 25.66 kB / 0.4933 GB, free: 6.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1074, allocations: 326.8 kB / 0.4936 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.006e-05/0.1074, allocations: 27.98 kB / 0.4936 GB, free: 6.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.309e-05/0.1075, allocations: 34.08 kB / 0.4937 GB, free: 6.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.1076, allocations: 65.7 kB / 0.4937 GB, free: 6.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1076, allocations: 4 kB / 0.4937 GB, free: 6.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001759/0.1078, allocations: 97.59 kB / 0.4938 GB, free: 6.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1078, allocations: 4 kB / 0.4938 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1078, allocations: 4.031 kB / 0.4938 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1079, allocations: 4 kB / 0.4938 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.108, allocations: 19.92 kB / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.108, allocations: 0 / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.108, allocations: 4 kB / 0.4939 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.108, allocations: 7.938 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.732e-05/0.1081, allocations: 125.8 kB / 0.494 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.1082, allocations: 11.95 kB / 0.494 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.1082, allocations: 12.72 kB / 0.494 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1082, allocations: 7.984 kB / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1082, allocations: 0 / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.1083, allocations: 89.02 kB / 0.4941 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1083, allocations: 7.938 kB / 0.4941 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.924e-05/0.1084, allocations: 0 / 0.4941 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.1084, allocations: 7.984 kB / 0.4941 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002134/0.1086, allocations: 176.9 kB / 0.4943 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002375/0.1089, allocations: 278.7 kB / 0.4946 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.61e-05/0.1089, allocations: 23.98 kB / 0.4946 GB, free: 5.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.224e-05/0.109, allocations: 128.1 kB / 0.4947 GB, free: 5.152 MB / 382.1 MB Notification: Performance of Backend: time 3.11e-07/0.109, allocations: 0 / 0.4947 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.1104, allocations: 490.4 kB / 0.4952 GB, free: 4.715 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005641/0.1109, allocations: 0.6589 MB / 0.4958 GB, free: 4.012 MB / 382.1 MB Notification: Performance of Templates: time 0.004233/0.1152, allocations: 1.755 MB / 0.4975 GB, free: 2.262 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches