Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 115.5 kB / 17.09 MB, free: 5.961 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.001178/0.001178, allocations: 198 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.327/1.327, 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.1967/0.1967, allocations: 43.54 MB / 314.8 MB, free: 432 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.001442/0.001442, allocations: 73.61 kB / 442.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09802/0.09947, allocations: 57.79 MB / 0.4886 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003344/0.1029, allocations: 1.686 MB / 0.4903 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1043, allocations: 0.8169 MB / 0.4911 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.826e-05/0.1044, allocations: 0 / 0.4911 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.1047, allocations: 39.77 kB / 0.4911 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.1049, allocations: 51.77 kB / 0.4912 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.1052, allocations: 87.77 kB / 0.4912 GB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.1054, allocations: 99.69 kB / 0.4913 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.125e-05/0.1055, allocations: 16.2 kB / 0.4914 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.372e-05/0.1056, allocations: 35.86 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.08e-05/0.1057, allocations: 39.72 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.1057, allocations: 4 kB / 0.4914 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.1058, allocations: 35.98 kB / 0.4915 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.1059, allocations: 23.92 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.106, allocations: 31.8 kB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.1062, allocations: 119.5 kB / 0.4916 GB, free: 8.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1062, allocations: 3.984 kB / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1062, allocations: 0 / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1062, allocations: 0 / 0.4916 GB, free: 8.598 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.0005214/0.1067, allocations: 414.7 kB / 0.492 GB, free: 8.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1068, allocations: 11.89 kB / 0.492 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.1068, allocations: 12.84 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.1071, allocations: 220.1 kB / 0.4923 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1072, allocations: 384 / 0.4923 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.1072, allocations: 12.12 kB / 0.4923 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.1073, allocations: 53.67 kB / 0.4923 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1074, allocations: 0 / 0.4923 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1074, allocations: 3.984 kB / 0.4923 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1074, allocations: 0 / 0.4923 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.001e-05/0.1075, allocations: 23.92 kB / 0.4924 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.1079, allocations: 280.9 kB / 0.4926 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.108, allocations: 62.62 kB / 0.4927 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.1081, allocations: 20.84 kB / 0.4927 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1081, allocations: 0 / 0.4927 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.1083, allocations: 79.28 kB / 0.4928 GB, free: 7.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1083, allocations: 0 / 0.4928 GB, free: 7.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005322/0.1089, allocations: 177.4 kB / 0.4929 GB, free: 7.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.1089, allocations: 55.41 kB / 0.493 GB, free: 7.016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.1091, allocations: 178.2 kB / 0.4932 GB, free: 6.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.1091, allocations: 33.69 kB / 0.4932 GB, free: 6.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.1092, allocations: 96.14 kB / 0.4933 GB, free: 6.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.1092, allocations: 27.78 kB / 0.4933 GB, free: 6.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.1092, allocations: 21.72 kB / 0.4933 GB, free: 6.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1094, allocations: 326.8 kB / 0.4937 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.209e-05/0.1094, allocations: 23.98 kB / 0.4937 GB, free: 6.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.741e-05/0.1095, allocations: 37.7 kB / 0.4937 GB, free: 6.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.1096, allocations: 65.7 kB / 0.4938 GB, free: 6.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1096, allocations: 3.938 kB / 0.4938 GB, free: 6.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002287/0.1099, allocations: 97.59 kB / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1099, allocations: 4.031 kB / 0.4939 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1099, allocations: 7.938 kB / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1099, allocations: 0 / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.272e-05/0.11, allocations: 19.98 kB / 0.4939 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.11, allocations: 0 / 0.4939 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.1101, allocations: 4 kB / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1101, allocations: 7.938 kB / 0.4939 GB, free: 6.027 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.288e-05/0.1102, allocations: 125.8 kB / 0.494 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.1102, allocations: 11.95 kB / 0.494 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.1103, allocations: 20.72 kB / 0.4941 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1103, allocations: 0 / 0.4941 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1103, allocations: 0 / 0.4941 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.1104, allocations: 93 kB / 0.4942 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.1104, allocations: 3.938 kB / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.162e-05/0.1104, allocations: 4 kB / 0.4942 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.1105, allocations: 11.91 kB / 0.4942 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002447/0.1107, allocations: 169 kB / 0.4943 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002987/0.111, allocations: 278.7 kB / 0.4946 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.88e-05/0.1111, allocations: 28.17 kB / 0.4946 GB, free: 5.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.1112, allocations: 148 kB / 0.4948 GB, free: 5.098 MB / 382.1 MB Notification: Performance of Backend: time 2.41e-07/0.1113, allocations: 3.938 kB / 0.4948 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.1127, allocations: 486.7 kB / 0.4952 GB, free: 4.66 MB / 382.1 MB Notification: Performance of SimCode: time 0.000677/0.1134, allocations: 0.6744 MB / 0.4959 GB, free: 3.938 MB / 382.1 MB Notification: Performance of Templates: time 0.004383/0.1177, allocations: 1.743 MB / 0.4976 GB, free: 2.199 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches