Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 112.4 kB / 17.08 MB, free: 5.988 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.002543/0.002543, allocations: 193.2 kB / 18.01 MB, free: 5.066 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.958/2.958, 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.5438/0.5438, allocations: 43.52 MB / 314.8 MB, free: 448 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.002848/0.002848, allocations: 73.45 kB / 442.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1963, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.005462/0.2018, allocations: 1.701 MB / 0.4903 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.2041, allocations: 0.7961 MB / 0.491 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.2043, allocations: 0 / 0.491 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004716/0.2048, allocations: 43.77 kB / 0.4911 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.2053, allocations: 55.75 kB / 0.4911 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.2058, allocations: 91.7 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.2061, allocations: 99.62 kB / 0.4913 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.2063, allocations: 20.2 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.2065, allocations: 43.78 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.2066, allocations: 23.86 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.2066, allocations: 4 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.2068, allocations: 47.97 kB / 0.4915 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.41e-05/0.2069, allocations: 19.92 kB / 0.4915 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.917e-05/0.207, allocations: 35.75 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.2074, allocations: 111.7 kB / 0.4916 GB, free: 8.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.2074, allocations: 3.938 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.2074, allocations: 4 kB / 0.4916 GB, free: 8.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.2074, allocations: 0 / 0.4916 GB, free: 8.621 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.0008349/0.2083, allocations: 414.4 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/0.2084, allocations: 11.89 kB / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.391e-05/0.2085, allocations: 8.844 kB / 0.492 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/0.209, allocations: 216 kB / 0.4922 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.209, allocations: 4.375 kB / 0.4922 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.2091, allocations: 4.125 kB / 0.4922 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.2093, allocations: 57.67 kB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.2094, allocations: 3.938 kB / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.2094, allocations: 4 kB / 0.4923 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2094, allocations: 0 / 0.4923 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.2095, allocations: 19.98 kB / 0.4923 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.2101, allocations: 284.9 kB / 0.4926 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.2105, allocations: 58.66 kB / 0.4927 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.23e-05/0.2106, allocations: 24.8 kB / 0.4927 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.2106, allocations: 0 / 0.4927 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002377/0.2109, allocations: 75.28 kB / 0.4928 GB, free: 7.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.2109, allocations: 0 / 0.4928 GB, free: 7.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009041/0.2118, allocations: 169.2 kB / 0.4929 GB, free: 7.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.2119, allocations: 59.41 kB / 0.493 GB, free: 7.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.2122, allocations: 186.1 kB / 0.4931 GB, free: 6.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.2123, allocations: 29.7 kB / 0.4932 GB, free: 6.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.2123, allocations: 104.1 kB / 0.4933 GB, free: 6.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.2124, allocations: 23.66 kB / 0.4933 GB, free: 6.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/0.2125, allocations: 21.7 kB / 0.4933 GB, free: 6.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.2127, allocations: 330.8 kB / 0.4936 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-05/0.2128, allocations: 16 kB / 0.4937 GB, free: 6.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.2129, allocations: 41.64 kB / 0.4937 GB, free: 6.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.2132, allocations: 65.64 kB / 0.4938 GB, free: 6.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2132, allocations: 0 / 0.4938 GB, free: 6.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003398/0.2135, allocations: 101.6 kB / 0.4939 GB, free: 6.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.2136, allocations: 8 kB / 0.4939 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.2136, allocations: 0 / 0.4939 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.2136, allocations: 4.031 kB / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.2138, allocations: 16 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.2138, allocations: 4 kB / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.36e-05/0.2139, allocations: 7.922 kB / 0.4939 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.214, allocations: 4 kB / 0.4939 GB, free: 6.059 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.0001676/0.2142, allocations: 125.8 kB / 0.494 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.2142, allocations: 15.75 kB / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.879e-05/0.2143, allocations: 24.64 kB / 0.4941 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2143, allocations: 0 / 0.4941 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/0.2143, allocations: 4 kB / 0.4941 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2144, allocations: 3.938 kB / 0.4941 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006705/0.215, allocations: 391.3 kB / 0.4944 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2151, allocations: 0 / 0.4944 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.2151, allocations: 11.98 kB / 0.4944 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.2151, allocations: 0 / 0.4944 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.2152, allocations: 3.938 kB / 0.4944 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.2152, allocations: 4 kB / 0.4945 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2152, allocations: 4.406 kB / 0.4945 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.2156, allocations: 200.3 kB / 0.4946 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.2157, allocations: 81.02 kB / 0.4947 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.2158, allocations: 11.94 kB / 0.4947 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.2159, allocations: 3.984 kB / 0.4947 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.216, allocations: 11.94 kB / 0.4947 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.216, allocations: 8 kB / 0.4948 GB, free: 5.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.2162, allocations: 144 kB / 0.4949 GB, free: 4.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2162, allocations: 4 kB / 0.4949 GB, free: 4.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004766/0.2167, allocations: 20 kB / 0.4949 GB, free: 4.898 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.001917/0.2186, allocations: 463.6 kB / 0.4954 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003172/0.219, allocations: 63.91 kB / 0.4954 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.219, allocations: 0 / 0.4954 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.2191, allocations: 27.98 kB / 0.4954 GB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004771/0.2239, allocations: 40.05 kB / 0.4955 GB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.225, allocations: 249 kB / 0.4957 GB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.2254, allocations: 0.708 MB / 0.4964 GB, free: 3.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.2255, allocations: 15.44 kB / 0.4964 GB, free: 3.324 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2255, allocations: 0 / 0.4964 GB, free: 3.324 MB / 382.1 MB Notification: Performance of Templates: time 0.007106/0.2326, allocations: 1.91 MB / 0.4983 GB, free: 1.418 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches