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.001331/0.001331, allocations: 119.1 kB / 17.09 MB, free: 6.012 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.002098/0.002099, allocations: 193.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.47/1.47, 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.1981/0.1981, 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.001471/0.001471, allocations: 71.89 kB / 442.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.09742, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003047/0.1005, allocations: 1.69 MB / 0.4903 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1018, allocations: 0.8116 MB / 0.491 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.756e-05/0.1019, allocations: 4 kB / 0.4911 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.1022, allocations: 43.75 kB / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.1024, allocations: 59.77 kB / 0.4912 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.1027, allocations: 91.69 kB / 0.4912 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.1029, allocations: 91.77 kB / 0.4913 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.103, allocations: 16.2 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.789e-05/0.1031, allocations: 39.73 kB / 0.4914 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.551e-05/0.1032, allocations: 35.84 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.1032, allocations: 4 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.855e-05/0.1033, allocations: 43.98 kB / 0.4915 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.1034, allocations: 31.91 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.1034, allocations: 39.67 kB / 0.4915 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.1036, allocations: 111.7 kB / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1037, allocations: 0 / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1037, allocations: 0 / 0.4916 GB, free: 8.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1037, allocations: 3.938 kB / 0.4916 GB, free: 8.609 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.0005211/0.1042, allocations: 438.2 kB / 0.4921 GB, free: 8.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1042, allocations: 11.89 kB / 0.4921 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.1043, allocations: 12.84 kB / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.1046, allocations: 216 kB / 0.4923 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1046, allocations: 384 / 0.4923 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.1046, allocations: 8.125 kB / 0.4923 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1047, allocations: 53.67 kB / 0.4923 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1048, allocations: 3.984 kB / 0.4923 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1048, allocations: 0 / 0.4923 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1048, allocations: 3.938 kB / 0.4924 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.13e-05/0.1049, allocations: 23.98 kB / 0.4924 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.1052, allocations: 292.9 kB / 0.4927 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.1054, allocations: 54.69 kB / 0.4927 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.1054, allocations: 24.78 kB / 0.4927 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1055, allocations: 0 / 0.4927 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.1056, allocations: 75.39 kB / 0.4928 GB, free: 7.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1056, allocations: 0 / 0.4928 GB, free: 7.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005031/0.1061, allocations: 173.1 kB / 0.493 GB, free: 7.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.1062, allocations: 51.41 kB / 0.493 GB, free: 7.016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.1064, allocations: 226.7 kB / 0.4932 GB, free: 6.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1064, allocations: 29.7 kB / 0.4933 GB, free: 6.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.1065, allocations: 108.1 kB / 0.4934 GB, free: 6.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.1065, allocations: 27.64 kB / 0.4934 GB, free: 6.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.1065, allocations: 29.7 kB / 0.4934 GB, free: 6.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1067, allocations: 330.8 kB / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.288e-05/0.1067, allocations: 16 kB / 0.4937 GB, free: 6.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.112e-05/0.1068, allocations: 33.7 kB / 0.4938 GB, free: 6.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.1069, allocations: 73.64 kB / 0.4939 GB, free: 6.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1069, allocations: 4 kB / 0.4939 GB, free: 6.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001745/0.1071, allocations: 101.4 kB / 0.494 GB, free: 6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1071, allocations: 8 kB / 0.494 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1071, allocations: 0 / 0.494 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1071, allocations: 0 / 0.494 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-05/0.1072, allocations: 16 kB / 0.494 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1072, allocations: 4 kB / 0.494 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.1073, allocations: 7.922 kB / 0.494 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1073, allocations: 4 kB / 0.494 GB, free: 5.961 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.941e-05/0.1074, allocations: 133.8 kB / 0.4941 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.1074, allocations: 15.89 kB / 0.4941 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.1075, allocations: 13.41 kB / 0.4941 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1075, allocations: 0 / 0.4941 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1075, allocations: 3.938 kB / 0.4942 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1075, allocations: 7.938 kB / 0.4942 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.1079, allocations: 395.3 kB / 0.4945 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1079, allocations: 4.031 kB / 0.4945 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.108, allocations: 11.94 kB / 0.4945 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.108, allocations: 0 / 0.4945 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.108, allocations: 7.938 kB / 0.4946 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.108, allocations: 0 / 0.4946 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.108, allocations: 0 / 0.4946 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1082, allocations: 200.7 kB / 0.4947 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.1083, allocations: 92.92 kB / 0.4948 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.1083, allocations: 7.938 kB / 0.4948 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.1084, allocations: 8 kB / 0.4949 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.1084, allocations: 11.92 kB / 0.4949 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1084, allocations: 4 kB / 0.4949 GB, free: 4.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1086, allocations: 163.2 kB / 0.495 GB, free: 4.789 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1086, allocations: 0 / 0.495 GB, free: 4.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1088, allocations: 24.17 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.001019/0.1099, allocations: 474.5 kB / 0.4955 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1101, allocations: 63.89 kB / 0.4956 GB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1101, allocations: 0 / 0.4956 GB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.352e-05/0.1102, allocations: 28.22 kB / 0.4956 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.1105, allocations: 43.7 kB / 0.4956 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.111, allocations: 284.6 kB / 0.4959 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.1113, allocations: 0.708 MB / 0.4966 GB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.1113, allocations: 15.44 kB / 0.4966 GB, free: 3.148 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1113, allocations: 4.062 kB / 0.4966 GB, free: 3.145 MB / 382.1 MB Notification: Performance of Templates: time 0.003681/0.115, allocations: 1.977 MB / 0.4985 GB, free: 1.172 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