Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000868/0.0008681, allocations: 100.1 kB / 281.6 MB, free: 5.324 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.1851/0.1851, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.464e-05/1.466e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.122, allocations: 61.91 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3768/0.4988, allocations: 87.32 MB / 0.5799 GB, free: 9.227 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.499, allocations: 75.95 kB / 0.58 GB, free: 9.152 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009562/0.5086, allocations: 3.666 MB / 0.5836 GB, free: 5.496 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5087, allocations: 0 / 0.5836 GB, free: 5.496 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.5087, allocations: 4 kB / 0.5836 GB, free: 5.492 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.0003667/0.5091, allocations: 361.4 kB / 0.5839 GB, free: 5.098 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.5091, allocations: 11.98 kB / 0.5839 GB, free: 5.086 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.5092, allocations: 11.84 kB / 0.584 GB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.5094, allocations: 193 kB / 0.5841 GB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.5094, allocations: 8 kB / 0.5842 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.5094, allocations: 0 / 0.5842 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.928e-05/0.5095, allocations: 19.89 kB / 0.5842 GB, free: 4.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.936e-05/0.5096, allocations: 41.69 kB / 0.5842 GB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.5096, allocations: 0 / 0.5842 GB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.5096, allocations: 0 / 0.5842 GB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.5096, allocations: 0 / 0.5842 GB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.51, allocations: 257.5 kB / 0.5845 GB, free: 4.484 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.5102, allocations: 46.45 kB / 0.5845 GB, free: 4.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/0.5102, allocations: 16.8 kB / 0.5845 GB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.5102, allocations: 0 / 0.5845 GB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.5103, allocations: 34.56 kB / 0.5845 GB, free: 4.367 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.5103, allocations: 4 kB / 0.5846 GB, free: 4.363 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003843/0.5107, allocations: 109.4 kB / 0.5847 GB, free: 4.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.5107, allocations: 51.41 kB / 0.5847 GB, free: 4.188 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.5108, allocations: 129.2 kB / 0.5848 GB, free: 4.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.5109, allocations: 25.7 kB / 0.5849 GB, free: 4.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.5109, allocations: 92.12 kB / 0.5849 GB, free: 3.926 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.511, allocations: 15.72 kB / 0.585 GB, free: 3.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.511, allocations: 0 / 0.585 GB, free: 3.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.5111, allocations: 326.8 kB / 0.5853 GB, free: 3.582 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.826e-05/0.5111, allocations: 8 kB / 0.5853 GB, free: 3.574 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.958e-05/0.5111, allocations: 12 kB / 0.5853 GB, free: 3.562 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.122e-05/0.5112, allocations: 15.98 kB / 0.5853 GB, free: 3.547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.5112, allocations: 0 / 0.5853 GB, free: 3.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.318e-05/0.5113, allocations: 61.64 kB / 0.5854 GB, free: 3.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.5113, allocations: 4 kB / 0.5854 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5113, allocations: 0 / 0.5854 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.5113, allocations: 4 kB / 0.5854 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.468e-05/0.5114, allocations: 23.92 kB / 0.5854 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.5114, allocations: 4 kB / 0.5854 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.093e-05/0.5115, allocations: 4 kB / 0.5854 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.5115, allocations: 3.984 kB / 0.5854 GB, free: 3.438 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 () * 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 6.762e-05/0.5116, allocations: 101 kB / 0.5855 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.5116, allocations: 11.86 kB / 0.5855 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.5117, allocations: 74.08 kB / 0.5856 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5118, allocations: 0 / 0.5856 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5118, allocations: 4 kB / 0.5856 GB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5118, allocations: 3.984 kB / 0.5856 GB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.5121, allocations: 318.9 kB / 0.5859 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5121, allocations: 3.938 kB / 0.5859 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.602e-05/0.5122, allocations: 12 kB / 0.5859 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5122, allocations: 384 / 0.5859 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.5122, allocations: 4 kB / 0.5859 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.5122, allocations: 7.938 kB / 0.5859 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5122, allocations: 4 kB / 0.5859 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.5124, allocations: 159.5 kB / 0.5861 GB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.5124, allocations: 89.05 kB / 0.5862 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.5124, allocations: 4 kB / 0.5862 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.5125, allocations: 7.984 kB / 0.5862 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.5125, allocations: 3.984 kB / 0.5862 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.5126, allocations: 4 kB / 0.5862 GB, free: 2.551 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.82e-05/0.5126, allocations: 112.8 kB / 0.5863 GB, free: 2.441 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5126, allocations: 0 / 0.5863 GB, free: 2.441 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.5129, allocations: 15.94 kB / 0.5863 GB, free: 2.426 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 () * 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.000781/0.5137, allocations: 340.9 kB / 0.5866 GB, free: 2.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.5138, allocations: 35.98 kB / 0.5867 GB, free: 2.125 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5138, allocations: 0 / 0.5867 GB, free: 2.125 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.408e-05/0.5138, allocations: 23.94 kB / 0.5867 GB, free: 2.102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.5141, allocations: 7.984 kB / 0.5867 GB, free: 2.094 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.5144, allocations: 111.6 kB / 0.5868 GB, free: 1.961 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.5146, allocations: 0.6945 MB / 0.5875 GB, free: 1.242 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.724e-05/0.5147, allocations: 16.17 kB / 0.5875 GB, free: 1.223 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.5147, allocations: 11.44 kB / 0.5875 GB, free: 1.211 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5147, allocations: 0 / 0.5875 GB, free: 1.211 MB / 394.7 MB Notification: Performance of Templates: time 0.003097/0.5178, allocations: 1.006 MB / 0.5885 GB, free: 212 kB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches