Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 112.6 kB / 17.08 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.00184/0.00184, allocations: 198.3 kB / 18.01 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.451/1.451, 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.1948/0.1948, allocations: 43.53 MB / 314.8 MB, free: 460 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.001465/0.001465, allocations: 67.89 kB / 442.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1024, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002925/0.1054, allocations: 1.693 MB / 0.4903 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1067, allocations: 0.8078 MB / 0.491 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.946e-05/0.1068, allocations: 0 / 0.491 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.1071, allocations: 47.81 kB / 0.4911 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1073, allocations: 67.69 kB / 0.4912 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.1075, allocations: 83.77 kB / 0.4912 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.1077, allocations: 95.69 kB / 0.4913 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1078, allocations: 12.22 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.487e-05/0.1079, allocations: 43.78 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.108, allocations: 27.84 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.108, allocations: 4 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1081, allocations: 51.92 kB / 0.4915 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.1082, allocations: 23.92 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.1082, allocations: 43.67 kB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.1085, allocations: 111.7 kB / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1085, allocations: 0 / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1085, allocations: 4 kB / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1085, allocations: 0 / 0.4916 GB, free: 8.605 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.000536/0.109, allocations: 434.7 kB / 0.4921 GB, free: 8.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1091, allocations: 11.89 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.1091, allocations: 12.84 kB / 0.4921 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.1094, allocations: 223.9 kB / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1094, allocations: 384 / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1094, allocations: 4.125 kB / 0.4923 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.1096, allocations: 57.67 kB / 0.4923 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1096, allocations: 0 / 0.4923 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1096, allocations: 0 / 0.4923 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1096, allocations: 0 / 0.4923 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.043e-05/0.1097, allocations: 23.97 kB / 0.4924 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.1101, allocations: 292.8 kB / 0.4927 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.1103, allocations: 54.67 kB / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.1103, allocations: 20.86 kB / 0.4927 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.1104, allocations: 0 / 0.4927 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.1105, allocations: 75.31 kB / 0.4928 GB, free: 7.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1105, allocations: 0 / 0.4928 GB, free: 7.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005073/0.111, allocations: 173.4 kB / 0.493 GB, free: 7.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.1111, allocations: 55.34 kB / 0.493 GB, free: 7.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.1113, allocations: 222.7 kB / 0.4932 GB, free: 6.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.1113, allocations: 29.7 kB / 0.4933 GB, free: 6.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.1114, allocations: 108.1 kB / 0.4934 GB, free: 6.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.1114, allocations: 27.7 kB / 0.4934 GB, free: 6.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.1114, allocations: 29.66 kB / 0.4934 GB, free: 6.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1116, allocations: 326.8 kB / 0.4937 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-05/0.1116, allocations: 20.17 kB / 0.4937 GB, free: 6.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.008e-05/0.1117, allocations: 41.7 kB / 0.4938 GB, free: 6.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.1118, allocations: 61.7 kB / 0.4938 GB, free: 6.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1118, allocations: 7.938 kB / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001746/0.112, allocations: 105.5 kB / 0.494 GB, free: 5.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.112, allocations: 4 kB / 0.494 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.112, allocations: 0 / 0.494 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1121, allocations: 4 kB / 0.494 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.594e-05/0.1121, allocations: 19.92 kB / 0.494 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1122, allocations: 0 / 0.494 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.1122, allocations: 7.938 kB / 0.494 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.1122, allocations: 4 kB / 0.494 GB, free: 5.957 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.0001072/0.1123, allocations: 141.5 kB / 0.4941 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.1124, allocations: 7.906 kB / 0.4941 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.034e-05/0.1124, allocations: 21.39 kB / 0.4942 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1125, allocations: 0 / 0.4942 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1125, allocations: 0 / 0.4942 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1125, allocations: 3.938 kB / 0.4942 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.1129, allocations: 399.2 kB / 0.4945 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.1129, allocations: 8.031 kB / 0.4945 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.1129, allocations: 7.984 kB / 0.4946 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1129, allocations: 4 kB / 0.4946 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.113, allocations: 3.938 kB / 0.4946 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.113, allocations: 0 / 0.4946 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.113, allocations: 7.938 kB / 0.4946 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.1132, allocations: 196.3 kB / 0.4948 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.1132, allocations: 92.92 kB / 0.4948 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.1133, allocations: 3.938 kB / 0.4948 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.756e-05/0.1133, allocations: 3.984 kB / 0.4948 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.1134, allocations: 8 kB / 0.4949 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.1134, allocations: 4 kB / 0.4949 GB, free: 4.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.1135, allocations: 171.2 kB / 0.495 GB, free: 4.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1136, allocations: 0 / 0.495 GB, free: 4.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1139, allocations: 20 kB / 0.495 GB, free: 4.766 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001036/0.1149, allocations: 474.8 kB / 0.4955 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.1151, allocations: 59.95 kB / 0.4956 GB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1151, allocations: 0 / 0.4956 GB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.967e-05/0.1152, allocations: 39.97 kB / 0.4956 GB, free: 4.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.1155, allocations: 35.03 kB / 0.4956 GB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.116, allocations: 288.6 kB / 0.4959 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1163, allocations: 0.7041 MB / 0.4966 GB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.1163, allocations: 23.42 kB / 0.4966 GB, free: 3.145 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1164, allocations: 4.062 kB / 0.4966 GB, free: 3.141 MB / 382.1 MB Notification: Performance of Templates: time 0.00363/0.12, allocations: 1.99 MB / 0.4986 GB, free: 1.156 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches