Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 175.8 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007364/0.0007367, allocations: 92.97 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3634/0.3634, allocations: 43.56 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005381/0.0005381, allocations: 15.98 kB / 432.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1566, allocations: 58.84 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3249/0.4816, allocations: 86.42 MB / 0.5643 GB, free: 15.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.4819, allocations: 77.59 kB / 0.5644 GB, free: 15.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01018/0.492, allocations: 4.155 MB / 0.5685 GB, free: 11.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.213e-06/0.4921, allocations: 3.984 kB / 0.5685 GB, free: 11.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.4921, allocations: 4 kB / 0.5685 GB, free: 11.25 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005097/0.4926, allocations: 422.6 kB / 0.5689 GB, free: 10.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.4927, allocations: 8.031 kB / 0.5689 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.4928, allocations: 16.75 kB / 0.5689 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.493, allocations: 221.3 kB / 0.5691 GB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.4931, allocations: 4.375 kB / 0.5691 GB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.4931, allocations: 384 / 0.5691 GB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.4932, allocations: 54.25 kB / 0.5692 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.4933, allocations: 192 / 0.5692 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.4933, allocations: 6.312 kB / 0.5692 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4933, allocations: 4 kB / 0.5692 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.525e-05/0.4934, allocations: 23.98 kB / 0.5692 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.4938, allocations: 300.8 kB / 0.5695 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.4941, allocations: 50.5 kB / 0.5695 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.4941, allocations: 16.94 kB / 0.5696 GB, free: 9.996 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.4941, allocations: 4 kB / 0.5696 GB, free: 9.992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.4942, allocations: 30.56 kB / 0.5696 GB, free: 9.953 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.4942, allocations: 0 / 0.5696 GB, free: 9.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000541/0.4947, allocations: 173.4 kB / 0.5698 GB, free: 9.777 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.4948, allocations: 59.41 kB / 0.5698 GB, free: 9.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.4951, allocations: 255.3 kB / 0.5701 GB, free: 9.449 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.4951, allocations: 25.7 kB / 0.5701 GB, free: 9.418 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.4952, allocations: 112.1 kB / 0.5702 GB, free: 9.305 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.4952, allocations: 19.66 kB / 0.5702 GB, free: 9.285 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.4952, allocations: 0 / 0.5702 GB, free: 9.285 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4954, allocations: 330.8 kB / 0.5705 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.4954, allocations: 35.86 kB / 0.5706 GB, free: 8.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-05/0.4955, allocations: 19.98 kB / 0.5706 GB, free: 8.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.4956, allocations: 48.84 kB / 0.5706 GB, free: 8.848 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4956, allocations: 0 / 0.5706 GB, free: 8.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001978/0.4959, allocations: 93.58 kB / 0.5707 GB, free: 8.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4959, allocations: 7.984 kB / 0.5707 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4959, allocations: 0.875 kB / 0.5707 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4959, allocations: 4 kB / 0.5707 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.084e-05/0.496, allocations: 8 kB / 0.5707 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.496, allocations: 7.938 kB / 0.5707 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.496, allocations: 11.98 kB / 0.5708 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.4961, allocations: 0 / 0.5708 GB, free: 8.711 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.996e-05/0.4962, allocations: 141.8 kB / 0.5709 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.4962, allocations: 16.56 kB / 0.5709 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.4965, allocations: 103.8 kB / 0.571 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4965, allocations: 4 kB / 0.571 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4965, allocations: 4 kB / 0.571 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4965, allocations: 0 / 0.571 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.4969, allocations: 398.4 kB / 0.5714 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.497, allocations: 0 / 0.5714 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-05/0.497, allocations: 15.98 kB / 0.5714 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.497, allocations: 3.938 kB / 0.5714 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.497, allocations: 4 kB / 0.5714 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.497, allocations: 0 / 0.5714 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4971, allocations: 3.984 kB / 0.5714 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.4973, allocations: 199.2 kB / 0.5716 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.4974, allocations: 100.9 kB / 0.5717 GB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.4974, allocations: 0 / 0.5717 GB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.4974, allocations: 7.984 kB / 0.5717 GB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.4975, allocations: 7.938 kB / 0.5717 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.4975, allocations: 0 / 0.5717 GB, free: 7.617 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001789/0.4977, allocations: 208.2 kB / 0.5719 GB, free: 7.414 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.4977, allocations: 0 / 0.5719 GB, free: 7.414 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.4979, allocations: 27.98 kB / 0.5719 GB, free: 7.387 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.000826/0.4988, allocations: 403.2 kB / 0.5723 GB, free: 7.074 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001774/0.499, allocations: 55.97 kB / 0.5724 GB, free: 7.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.499, allocations: 3.938 kB / 0.5724 GB, free: 7.016 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.888e-05/0.4991, allocations: 31.97 kB / 0.5724 GB, free: 6.984 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.4993, allocations: 12 kB / 0.5724 GB, free: 6.973 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004942/0.4998, allocations: 300 kB / 0.5727 GB, free: 6.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.5001, allocations: 0.7083 MB / 0.5734 GB, free: 5.926 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.142e-05/0.5002, allocations: 23.98 kB / 0.5734 GB, free: 5.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.5002, allocations: 11.44 kB / 0.5734 GB, free: 5.895 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5002, allocations: 0 / 0.5734 GB, free: 5.895 MB / 394.7 MB Notification: Performance of Templates: time 0.003747/0.504, allocations: 1.262 MB / 0.5747 GB, free: 4.637 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches