Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 113.8 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.001347/0.001347, 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.253/1.253, 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.1871/0.1871, allocations: 43.52 MB / 314.8 MB, free: 472 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.001308/0.001308, allocations: 71.89 kB / 442.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09366/0.09498, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002668/0.09769, allocations: 1.69 MB / 0.4903 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.09885, allocations: 0.8 MB / 0.491 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.393e-05/0.09893, allocations: 3.938 kB / 0.491 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.09923, allocations: 55.75 kB / 0.4911 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.09943, allocations: 63.75 kB / 0.4912 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.09966, allocations: 87.75 kB / 0.4912 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.09981, allocations: 95.7 kB / 0.4913 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.09991, allocations: 12.2 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.858e-05/0.09999, allocations: 43.78 kB / 0.4914 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.677e-05/0.1001, allocations: 35.8 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.1001, allocations: 0 / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-05/0.1002, allocations: 43.98 kB / 0.4915 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.1002, allocations: 43.83 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.1003, allocations: 35.69 kB / 0.4915 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.1005, allocations: 131.6 kB / 0.4917 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1005, allocations: 0 / 0.4917 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1005, allocations: 0 / 0.4917 GB, free: 8.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1005, allocations: 0 / 0.4917 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.0005085/0.101, allocations: 442.1 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1011, allocations: 19.89 kB / 0.4921 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.1011, allocations: 8.844 kB / 0.4921 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.1014, allocations: 223.7 kB / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1014, allocations: 384 / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.1014, allocations: 8.125 kB / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1016, allocations: 53.67 kB / 0.4924 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1016, allocations: 3.906 kB / 0.4924 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.1016, allocations: 0 / 0.4924 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1016, allocations: 0 / 0.4924 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.215e-05/0.1017, allocations: 31.91 kB / 0.4924 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.1021, allocations: 296.8 kB / 0.4927 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.1022, allocations: 54.69 kB / 0.4928 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.1023, allocations: 20.84 kB / 0.4928 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.1023, allocations: 8 kB / 0.4928 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.1025, allocations: 67.33 kB / 0.4928 GB, free: 7.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1025, allocations: 3.938 kB / 0.4929 GB, free: 7.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004845/0.103, allocations: 181.1 kB / 0.493 GB, free: 7.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.103, allocations: 51.41 kB / 0.4931 GB, free: 6.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.1032, allocations: 258.5 kB / 0.4933 GB, free: 6.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1032, allocations: 29.7 kB / 0.4933 GB, free: 6.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.1033, allocations: 120 kB / 0.4935 GB, free: 6.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.1033, allocations: 23.73 kB / 0.4935 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.1034, allocations: 21.72 kB / 0.4935 GB, free: 6.496 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1035, allocations: 330.8 kB / 0.4938 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.263e-05/0.1035, allocations: 19.98 kB / 0.4938 GB, free: 6.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.053e-05/0.1036, allocations: 37.64 kB / 0.4939 GB, free: 6.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.1037, allocations: 69.64 kB / 0.4939 GB, free: 6.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1037, allocations: 0 / 0.4939 GB, free: 6.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001605/0.1039, allocations: 97.58 kB / 0.494 GB, free: 5.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1039, allocations: 7.938 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.1039, allocations: 80 / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1039, allocations: 0 / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.104, allocations: 23.98 kB / 0.4941 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.104, allocations: 4.359 kB / 0.4941 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.1041, allocations: 3.969 kB / 0.4941 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-06/0.1041, allocations: 8 kB / 0.4941 GB, free: 5.879 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.509e-05/0.1042, allocations: 137.8 kB / 0.4942 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.1042, allocations: 19.81 kB / 0.4942 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/0.1043, allocations: 21.39 kB / 0.4943 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1043, allocations: 0 / 0.4943 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1043, allocations: 0 / 0.4943 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1043, allocations: 3.938 kB / 0.4943 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.1047, allocations: 411.2 kB / 0.4946 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1047, allocations: 0 / 0.4946 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.1047, allocations: 11.94 kB / 0.4947 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1048, allocations: 0 / 0.4947 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1048, allocations: 7.938 kB / 0.4947 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1048, allocations: 3.984 kB / 0.4947 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1048, allocations: 0 / 0.4947 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.105, allocations: 212.2 kB / 0.4949 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.105, allocations: 84.92 kB / 0.495 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.1051, allocations: 7.938 kB / 0.495 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.1051, allocations: 4 kB / 0.495 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.1052, allocations: 7.984 kB / 0.495 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.1052, allocations: 4 kB / 0.495 GB, free: 4.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.1053, allocations: 200.4 kB / 0.4952 GB, free: 4.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1053, allocations: 0 / 0.4952 GB, free: 4.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000242/0.1056, allocations: 27.98 kB / 0.4952 GB, free: 4.629 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.0009621/0.1066, allocations: 458.7 kB / 0.4956 GB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.1067, allocations: 63.91 kB / 0.4957 GB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1068, allocations: 4.062 kB / 0.4957 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.126e-05/0.1068, allocations: 20 kB / 0.4957 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.1071, allocations: 35.83 kB / 0.4958 GB, free: 4.102 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.1076, allocations: 329.5 kB / 0.4961 GB, free: 3.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.1079, allocations: 0.7158 MB / 0.4968 GB, free: 3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.1079, allocations: 23.42 kB / 0.4968 GB, free: 2.977 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1079, allocations: 0 / 0.4968 GB, free: 2.977 MB / 382.1 MB Notification: Performance of Templates: time 0.003292/0.1112, allocations: 2.077 MB / 0.4988 GB, free: 0.9023 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches