Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001543, allocations: 114.5 kB / 17.08 MB, free: 5.996 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.001759/0.001759, allocations: 199 kB / 18.01 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.523/2.523, 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.4056/0.4056, allocations: 43.52 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.003121/0.003121, allocations: 77.45 kB / 442.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1914, allocations: 57.78 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00592/0.1974, allocations: 1.905 MB / 0.4905 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.1998, allocations: 0.8428 MB / 0.4913 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.2001, allocations: 0 / 0.4913 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004561/0.2005, allocations: 47.69 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.201, allocations: 67.64 kB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.2016, allocations: 103.7 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003734/0.202, allocations: 135.6 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.2022, allocations: 33.41 kB / 0.4917 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.2024, allocations: 59.72 kB / 0.4917 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.2026, allocations: 55.64 kB / 0.4918 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.2026, allocations: 8 kB / 0.4918 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.2028, allocations: 43.98 kB / 0.4918 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.651e-05/0.203, allocations: 23.92 kB / 0.4918 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.2031, allocations: 55.61 kB / 0.4919 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.2035, allocations: 143.5 kB / 0.492 GB, free: 8.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2036, allocations: 0 / 0.492 GB, free: 8.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.2036, allocations: 0 / 0.492 GB, free: 8.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.2036, allocations: 0 / 0.492 GB, free: 8.203 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001024/0.2046, allocations: 492.4 kB / 0.4925 GB, free: 7.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.2047, allocations: 11.89 kB / 0.4925 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.12e-05/0.2048, allocations: 16.75 kB / 0.4925 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005586/0.2054, allocations: 224 kB / 0.4927 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.2054, allocations: 8.375 kB / 0.4927 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.2054, allocations: 8.125 kB / 0.4927 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.2059, allocations: 116.2 kB / 0.4929 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.2059, allocations: 3.984 kB / 0.4929 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.2059, allocations: 0 / 0.4929 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.2059, allocations: 4 kB / 0.4929 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.2062, allocations: 47.91 kB / 0.4929 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009484/0.2072, allocations: 0.5047 MB / 0.4934 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/0.2077, allocations: 86.66 kB / 0.4935 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.2079, allocations: 40.83 kB / 0.4935 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.2079, allocations: 0 / 0.4935 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002864/0.2082, allocations: 91.31 kB / 0.4936 GB, free: 6.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.054e-06/0.2083, allocations: 0 / 0.4936 GB, free: 6.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006515/0.2089, allocations: 133.8 kB / 0.4937 GB, free: 6.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.209, allocations: 63.34 kB / 0.4938 GB, free: 6.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.2093, allocations: 191.4 kB / 0.494 GB, free: 5.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.2094, allocations: 29.8 kB / 0.494 GB, free: 5.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.2095, allocations: 115.9 kB / 0.4941 GB, free: 5.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.2096, allocations: 35.62 kB / 0.4942 GB, free: 5.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.42e-05/0.2097, allocations: 25.72 kB / 0.4942 GB, free: 5.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.2099, allocations: 330.8 kB / 0.4945 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.2101, allocations: 23.98 kB / 0.4945 GB, free: 5.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.2102, allocations: 64.28 kB / 0.4946 GB, free: 5.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.2106, allocations: 96.14 kB / 0.4947 GB, free: 5.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2106, allocations: 0 / 0.4947 GB, free: 5.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004465/0.211, allocations: 141.3 kB / 0.4948 GB, free: 5.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.2111, allocations: 8 kB / 0.4948 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.2111, allocations: 0 / 0.4948 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.2111, allocations: 4 kB / 0.4948 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.2113, allocations: 27.86 kB / 0.4948 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.2113, allocations: 4 kB / 0.4949 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.2115, allocations: 15.89 kB / 0.4949 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.2115, allocations: 8.125 kB / 0.4949 GB, free: 5 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001715/0.2117, allocations: 129.7 kB / 0.495 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.2117, allocations: 15.81 kB / 0.495 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.5e-05/0.2118, allocations: 21.38 kB / 0.495 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.2119, allocations: 3.938 kB / 0.495 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.2119, allocations: 4 kB / 0.495 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2119, allocations: 0 / 0.495 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.2122, allocations: 209.5 kB / 0.4952 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.2122, allocations: 0 / 0.4952 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.2123, allocations: 19.98 kB / 0.4953 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2124, allocations: 0 / 0.4953 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.2124, allocations: 96 / 0.4953 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.367e-06/0.2124, allocations: 11.88 kB / 0.4953 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.2124, allocations: 0 / 0.4953 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/0.213, allocations: 180.8 kB / 0.4954 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.243e-05/0.2131, allocations: 85.05 kB / 0.4955 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.2132, allocations: 11.98 kB / 0.4955 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.2133, allocations: 7.938 kB / 0.4955 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.2134, allocations: 11.98 kB / 0.4956 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.2134, allocations: 4 kB / 0.4956 GB, free: 4.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.2136, allocations: 137.2 kB / 0.4957 GB, free: 4.062 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2136, allocations: 0 / 0.4957 GB, free: 4.062 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004046/0.2141, allocations: 28.12 kB / 0.4957 GB, free: 4.035 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001629/0.2157, allocations: 427 kB / 0.4961 GB, free: 3.656 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004319/0.2162, allocations: 79.89 kB / 0.4962 GB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.2162, allocations: 0 / 0.4962 GB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.2164, allocations: 39.92 kB / 0.4962 GB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.2169, allocations: 46.3 kB / 0.4963 GB, free: 3.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009283/0.2179, allocations: 289.9 kB / 0.4966 GB, free: 3.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.2183, allocations: 0.7161 MB / 0.4973 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.2184, allocations: 23.42 kB / 0.4973 GB, free: 2.418 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.2184, allocations: 0 / 0.4973 GB, free: 2.418 MB / 382.1 MB Notification: Performance of Templates: time 0.007151/0.2256, allocations: 2.178 MB / 0.4994 GB, free: 244 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches