Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 178.5 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 223.3 MB / 242.1 MB, free: 9.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007983/0.0007985, allocations: 100 kB / 293.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.325/0.325, allocations: 44.14 MB / 388.5 MB, free: 38.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.000389, allocations: 16 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3033, allocations: 61.88 MB / 0.5107 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.416, allocations: 89.31 MB / 0.598 GB, free: 5.766 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.4163, allocations: 79.95 kB / 0.598 GB, free: 5.691 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01528/0.4316, allocations: 5.715 MB / 0.6036 GB, free: 15.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4316, allocations: 0 / 0.6036 GB, free: 15.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.4317, allocations: 4 kB / 0.6036 GB, free: 15.97 MB / 426.7 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.0005336/0.4322, allocations: 421.8 kB / 0.604 GB, free: 15.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.4322, allocations: 8.031 kB / 0.604 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.4323, allocations: 12.75 kB / 0.604 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.4326, allocations: 226.3 kB / 0.6043 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.4326, allocations: 8.312 kB / 0.6043 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.4326, allocations: 4.375 kB / 0.6043 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.4327, allocations: 62.22 kB / 0.6043 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4328, allocations: 4.094 kB / 0.6043 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.4328, allocations: 3.938 kB / 0.6043 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4328, allocations: 0 / 0.6043 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.904e-05/0.4329, allocations: 19.98 kB / 0.6044 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.4333, allocations: 300.9 kB / 0.6046 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.4335, allocations: 62.56 kB / 0.6047 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.4335, allocations: 20.84 kB / 0.6047 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.4335, allocations: 4 kB / 0.6047 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.4337, allocations: 67.39 kB / 0.6048 GB, free: 14.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.4337, allocations: 0 / 0.6048 GB, free: 14.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000528/0.4342, allocations: 185.1 kB / 0.605 GB, free: 14.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.4343, allocations: 55.39 kB / 0.605 GB, free: 14.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.4345, allocations: 206.4 kB / 0.6052 GB, free: 14.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.4345, allocations: 33.7 kB / 0.6052 GB, free: 14.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.4346, allocations: 104 kB / 0.6053 GB, free: 14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.4346, allocations: 19.8 kB / 0.6054 GB, free: 13.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.4346, allocations: 8 kB / 0.6054 GB, free: 13.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4348, allocations: 327 kB / 0.6057 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.696e-05/0.4348, allocations: 27.92 kB / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.118e-05/0.4349, allocations: 37.7 kB / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.435, allocations: 57.69 kB / 0.6058 GB, free: 13.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.435, allocations: 0 / 0.6058 GB, free: 13.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001857/0.4352, allocations: 109.4 kB / 0.6059 GB, free: 13.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.4352, allocations: 4 kB / 0.6059 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4352, allocations: 192 / 0.6059 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4353, allocations: 4 kB / 0.6059 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.4353, allocations: 19.92 kB / 0.6059 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4354, allocations: 0 / 0.6059 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.4354, allocations: 8 kB / 0.6059 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.4354, allocations: 3.938 kB / 0.6059 GB, free: 13.36 MB / 426.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.589e-05/0.4355, allocations: 137.7 kB / 0.6061 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.4356, allocations: 15.81 kB / 0.6061 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.4358, allocations: 126.9 kB / 0.6062 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.4358, allocations: 0 / 0.6062 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4358, allocations: 0 / 0.6062 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4358, allocations: 3.984 kB / 0.6062 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.4363, allocations: 415.2 kB / 0.6066 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4363, allocations: 8.406 kB / 0.6066 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.329e-05/0.4363, allocations: 11.98 kB / 0.6066 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4364, allocations: 4 kB / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.4364, allocations: 4 kB / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.4364, allocations: 0 / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4364, allocations: 3.938 kB / 0.6066 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.4366, allocations: 220.1 kB / 0.6069 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.4367, allocations: 93.02 kB / 0.6069 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.4367, allocations: 0 / 0.6069 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.4368, allocations: 11.98 kB / 0.607 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.4368, allocations: 7.938 kB / 0.607 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.4368, allocations: 4 kB / 0.607 GB, free: 12.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001254/0.437, allocations: 159.2 kB / 0.6071 GB, free: 12.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.437, allocations: 0 / 0.6071 GB, free: 12.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002604/0.4372, allocations: 28 kB / 0.6071 GB, free: 12.02 MB / 426.7 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009805/0.4382, allocations: 487.2 kB / 0.6076 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.4384, allocations: 59.91 kB / 0.6077 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4384, allocations: 64 / 0.6077 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.026e-05/0.4385, allocations: 35.98 kB / 0.6077 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.4388, allocations: 34.59 kB / 0.6077 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.4393, allocations: 274.3 kB / 0.608 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.4396, allocations: 0.7043 MB / 0.6087 GB, free: 10.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.314e-05/0.4396, allocations: 16.55 kB / 0.6087 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.4397, allocations: 19.44 kB / 0.6087 GB, free: 10.53 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4397, allocations: 0 / 0.6087 GB, free: 10.53 MB / 426.7 MB Notification: Performance of Templates: time 0.004084/0.4438, allocations: 1.751 MB / 0.6104 GB, free: 8.793 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches