Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 112.4 kB / 17.08 MB, free: 5.98 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.002094/0.002094, allocations: 197.2 kB / 18.01 MB, free: 5.059 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.644/2.644, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.3637/0.3637, 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.002646/0.002646, allocations: 69.47 kB / 442.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1973, allocations: 57.78 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.005362/0.2027, allocations: 1.701 MB / 0.4903 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.2052, allocations: 0.8038 MB / 0.491 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.2054, allocations: 4 kB / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005411/0.206, allocations: 39.81 kB / 0.4911 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.2065, allocations: 55.7 kB / 0.4911 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005352/0.207, allocations: 95.75 kB / 0.4912 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.2073, allocations: 91.7 kB / 0.4913 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.2075, allocations: 16.2 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.2078, allocations: 43.78 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.2079, allocations: 27.86 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.208, allocations: 0 / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.2082, allocations: 51.91 kB / 0.4915 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.2083, allocations: 23.92 kB / 0.4915 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.13e-05/0.2084, allocations: 35.73 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.2088, allocations: 107.7 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.2088, allocations: 0 / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.2089, allocations: 0 / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.2089, allocations: 0 / 0.4916 GB, free: 8.625 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.0008928/0.2098, allocations: 410.9 kB / 0.492 GB, free: 8.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/0.2099, allocations: 15.89 kB / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.46e-05/0.21, allocations: 12.78 kB / 0.492 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.2105, allocations: 220 kB / 0.4922 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.2105, allocations: 8.359 kB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.2106, allocations: 8.125 kB / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.2108, allocations: 53.67 kB / 0.4923 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.2108, allocations: 0 / 0.4923 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.2109, allocations: 0 / 0.4923 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.2109, allocations: 3.984 kB / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.211, allocations: 16 kB / 0.4923 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/0.2116, allocations: 288.8 kB / 0.4926 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.2119, allocations: 58.69 kB / 0.4927 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.2121, allocations: 20.84 kB / 0.4927 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.2121, allocations: 0 / 0.4927 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.2123, allocations: 79.23 kB / 0.4928 GB, free: 7.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.2124, allocations: 0 / 0.4928 GB, free: 7.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009429/0.2133, allocations: 173.2 kB / 0.4929 GB, free: 7.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.2134, allocations: 51.41 kB / 0.493 GB, free: 7.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.2137, allocations: 186.2 kB / 0.4931 GB, free: 6.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.2137, allocations: 29.69 kB / 0.4932 GB, free: 6.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/0.2138, allocations: 104.1 kB / 0.4933 GB, free: 6.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.2139, allocations: 31.62 kB / 0.4933 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.214, allocations: 21.72 kB / 0.4933 GB, free: 6.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.2142, allocations: 330.8 kB / 0.4936 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-05/0.2143, allocations: 19.98 kB / 0.4937 GB, free: 6.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.2144, allocations: 37.7 kB / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.2146, allocations: 57.72 kB / 0.4938 GB, free: 6.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2146, allocations: 0 / 0.4938 GB, free: 6.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003207/0.215, allocations: 101.6 kB / 0.4938 GB, free: 6.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.215, allocations: 8.031 kB / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.215, allocations: 0 / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.2151, allocations: 4 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.2152, allocations: 19.92 kB / 0.4939 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2152, allocations: 0 / 0.4939 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.54e-05/0.2153, allocations: 7.938 kB / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.2154, allocations: 4 kB / 0.4939 GB, free: 6.055 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.00016/0.2155, allocations: 129.8 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.2156, allocations: 11.81 kB / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.395e-05/0.2157, allocations: 20.66 kB / 0.494 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2157, allocations: 0 / 0.494 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2157, allocations: 0 / 0.494 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.2158, allocations: 11.92 kB / 0.4941 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006895/0.2165, allocations: 387.3 kB / 0.4944 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.2165, allocations: 0 / 0.4944 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.414e-05/0.2166, allocations: 8 kB / 0.4944 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.2166, allocations: 0 / 0.4944 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.2166, allocations: 11.97 kB / 0.4944 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.205e-05/0.2166, allocations: 3.938 kB / 0.4944 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2166, allocations: 384 / 0.4944 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.217, allocations: 196.3 kB / 0.4946 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.403e-05/0.2171, allocations: 89 kB / 0.4947 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.2172, allocations: 7.938 kB / 0.4947 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.2173, allocations: 8 kB / 0.4947 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.2174, allocations: 11.98 kB / 0.4947 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.2174, allocations: 4 kB / 0.4948 GB, free: 5.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.2176, allocations: 140.1 kB / 0.4949 GB, free: 4.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2177, allocations: 192 / 0.4949 GB, free: 4.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004681/0.2181, allocations: 23.98 kB / 0.4949 GB, free: 4.902 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.002008/0.2202, allocations: 483.2 kB / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003373/0.2205, allocations: 59.94 kB / 0.4954 GB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.2206, allocations: 4 kB / 0.4954 GB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.2207, allocations: 27.94 kB / 0.4955 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006296/0.2214, allocations: 39.17 kB / 0.4955 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008224/0.2222, allocations: 245 kB / 0.4957 GB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.2227, allocations: 0.7041 MB / 0.4964 GB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.2228, allocations: 15.44 kB / 0.4964 GB, free: 3.32 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2228, allocations: 0 / 0.4964 GB, free: 3.32 MB / 382.1 MB Notification: Performance of Templates: time 0.007435/0.2302, allocations: 1.914 MB / 0.4983 GB, free: 1.406 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches