Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 113.1 kB / 17.08 MB, free: 6.016 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.001387/0.001387, allocations: 197.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.226/1.226, 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.1824/0.1824, allocations: 43.53 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.001303/0.001303, allocations: 68.47 kB / 442.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08526/0.08657, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002774/0.08937, allocations: 1.69 MB / 0.4903 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.09058, allocations: 0.8078 MB / 0.491 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.311e-05/0.09068, allocations: 3.938 kB / 0.4911 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.09101, allocations: 75.77 kB / 0.4911 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.09124, allocations: 75.67 kB / 0.4912 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.0915, allocations: 87.75 kB / 0.4913 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.09168, allocations: 111.7 kB / 0.4914 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.887e-05/0.09177, allocations: 16.2 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.887e-05/0.09188, allocations: 51.77 kB / 0.4915 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.888e-05/0.09199, allocations: 55.83 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.09201, allocations: 4 kB / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.787e-05/0.09211, allocations: 47.97 kB / 0.4916 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.09217, allocations: 27.86 kB / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.09223, allocations: 35.75 kB / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.09243, allocations: 115.6 kB / 0.4917 GB, free: 8.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.09244, allocations: 0 / 0.4917 GB, free: 8.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.09244, allocations: 0 / 0.4917 GB, free: 8.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.09245, allocations: 0 / 0.4917 GB, free: 8.523 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.0004708/0.09293, allocations: 418.9 kB / 0.4921 GB, free: 8.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.09297, allocations: 11.89 kB / 0.4921 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.09302, allocations: 12.75 kB / 0.4921 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.09328, allocations: 220.5 kB / 0.4924 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.0933, allocations: 8.375 kB / 0.4924 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.09332, allocations: 4.125 kB / 0.4924 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.09346, allocations: 53.67 kB / 0.4924 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.09348, allocations: 7.938 kB / 0.4924 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.0935, allocations: 3.984 kB / 0.4924 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.09351, allocations: 0 / 0.4924 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.807e-05/0.09358, allocations: 19.98 kB / 0.4925 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.09392, allocations: 292.7 kB / 0.4927 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.09408, allocations: 58.62 kB / 0.4928 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.96e-05/0.09414, allocations: 20.84 kB / 0.4928 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.09417, allocations: 4 kB / 0.4928 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.09431, allocations: 67.39 kB / 0.4929 GB, free: 7.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.09432, allocations: 4 kB / 0.4929 GB, free: 7.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005143/0.09484, allocations: 177.2 kB / 0.493 GB, free: 6.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.09488, allocations: 55.41 kB / 0.4931 GB, free: 6.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.09507, allocations: 211.1 kB / 0.4933 GB, free: 6.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.09509, allocations: 29.69 kB / 0.4933 GB, free: 6.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.09515, allocations: 108.1 kB / 0.4934 GB, free: 6.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.09519, allocations: 31.58 kB / 0.4935 GB, free: 6.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.09524, allocations: 17.72 kB / 0.4935 GB, free: 6.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.09534, allocations: 334.8 kB / 0.4938 GB, free: 6.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.0954, allocations: 19.98 kB / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.906e-05/0.09546, allocations: 33.7 kB / 0.4939 GB, free: 6.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.09558, allocations: 61.7 kB / 0.4939 GB, free: 6.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.09558, allocations: 0 / 0.4939 GB, free: 6.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001716/0.09576, allocations: 105.5 kB / 0.494 GB, free: 5.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.09579, allocations: 8 kB / 0.494 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.0958, allocations: 80 / 0.494 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.09581, allocations: 0 / 0.494 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.0959, allocations: 19.92 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.09592, allocations: 7.984 kB / 0.494 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.09597, allocations: 3.938 kB / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.09598, allocations: 4 kB / 0.4941 GB, free: 5.902 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.133e-05/0.09608, allocations: 137.4 kB / 0.4942 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.09611, allocations: 11.94 kB / 0.4942 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.09616, allocations: 21.39 kB / 0.4942 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.09616, allocations: 0 / 0.4942 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.09617, allocations: 0 / 0.4942 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.09618, allocations: 3.938 kB / 0.4942 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.09657, allocations: 399.2 kB / 0.4946 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.09658, allocations: 0 / 0.4946 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-05/0.09662, allocations: 11.98 kB / 0.4946 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.09663, allocations: 4.031 kB / 0.4946 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.09664, allocations: 7.938 kB / 0.4946 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.09665, allocations: 0 / 0.4946 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.09666, allocations: 384 / 0.4946 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.09686, allocations: 204.2 kB / 0.4948 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.09691, allocations: 88.92 kB / 0.4949 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.09694, allocations: 15.94 kB / 0.4949 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.09703, allocations: 7.984 kB / 0.4949 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.09707, allocations: 7.984 kB / 0.4949 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.09709, allocations: 4 kB / 0.4949 GB, free: 4.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.0972, allocations: 159.2 kB / 0.4951 GB, free: 4.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09721, allocations: 0 / 0.4951 GB, free: 4.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.09746, allocations: 24.19 kB / 0.4951 GB, free: 4.707 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.0009771/0.09845, allocations: 467 kB / 0.4956 GB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.09863, allocations: 59.91 kB / 0.4956 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.09864, allocations: 0 / 0.4956 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.232e-05/0.09871, allocations: 31.92 kB / 0.4956 GB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.09905, allocations: 39.41 kB / 0.4957 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.09949, allocations: 265 kB / 0.4959 GB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.09973, allocations: 0.708 MB / 0.4966 GB, free: 3.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.09978, allocations: 15.44 kB / 0.4966 GB, free: 3.121 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.09978, allocations: 0 / 0.4966 GB, free: 3.121 MB / 382.1 MB Notification: Performance of Templates: time 0.003501/0.1033, allocations: 1.973 MB / 0.4986 GB, free: 1.152 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches