Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 171.2 kB / 8.739 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.434/1.434, allocations: 221.5 MB / 230.7 MB, free: 7.504 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.0008817/0.0008816, allocations: 94.97 kB / 281.6 MB, free: 5.246 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.1949/0.1949, allocations: 44.16 MB / 376.5 MB, free: 3.016 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.564e-05/1.566e-05, allocations: 8.219 kB / 444.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1305, allocations: 61.92 MB / 0.4947 GB, free: 1.219 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3714/0.502, allocations: 88.56 MB / 0.5812 GB, free: 7.926 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.5023, allocations: 75.95 kB / 0.5812 GB, free: 7.852 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01534/0.5176, allocations: 5.54 MB / 0.5866 GB, free: 2.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5177, allocations: 0 / 0.5866 GB, free: 2.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.5177, allocations: 2.953 kB / 0.5867 GB, free: 2.324 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004291/0.5181, allocations: 394.2 kB / 0.587 GB, free: 1.895 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.5182, allocations: 11.98 kB / 0.587 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.5182, allocations: 11.91 kB / 0.5871 GB, free: 1.871 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.5185, allocations: 218.7 kB / 0.5873 GB, free: 1.617 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.5186, allocations: 3.953 kB / 0.5873 GB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.5186, allocations: 4 kB / 0.5873 GB, free: 1.609 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.21e-05/0.5187, allocations: 19.98 kB / 0.5873 GB, free: 1.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.356e-05/0.5188, allocations: 45.69 kB / 0.5873 GB, free: 1.539 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.5188, allocations: 3.938 kB / 0.5873 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.5188, allocations: 3.938 kB / 0.5873 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.5188, allocations: 0 / 0.5873 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.5191, allocations: 273.5 kB / 0.5876 GB, free: 1.227 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.927e-05/0.5192, allocations: 46.7 kB / 0.5876 GB, free: 1.172 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.5193, allocations: 24.95 kB / 0.5877 GB, free: 1.145 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.5193, allocations: 4 kB / 0.5877 GB, free: 1.141 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.5194, allocations: 63.34 kB / 0.5877 GB, free: 1.066 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.835e-06/0.5194, allocations: 4 kB / 0.5877 GB, free: 1.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003936/0.5198, allocations: 153.2 kB / 0.5879 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.5199, allocations: 51.41 kB / 0.5879 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.52, allocations: 157.4 kB / 0.5881 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.5201, allocations: 29.7 kB / 0.5881 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.5201, allocations: 100.1 kB / 0.5882 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.5201, allocations: 23.66 kB / 0.5882 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.5202, allocations: 0.75 kB / 0.5882 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5203, allocations: 322.8 kB / 0.5885 GB, free: 204 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-05/0.5203, allocations: 23.98 kB / 0.5886 GB, free: 180 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.056e-05/0.5203, allocations: 33.66 kB / 0.5886 GB, free: 140 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.25e-05/0.5204, allocations: 27.94 kB / 0.5886 GB, free: 112 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5204, allocations: 0 / 0.5886 GB, free: 112 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001264/0.5205, allocations: 93.44 kB / 0.5887 GB, free: 12 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.5206, allocations: 4 kB / 0.5887 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.5206, allocations: 0 / 0.5887 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.5206, allocations: 0 / 0.5887 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.5207, allocations: 24.02 kB / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.5207, allocations: 0 / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.5208, allocations: 4.125 kB / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.5208, allocations: 12 kB / 0.5887 GB, free: 15.97 MB / 410.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 () * 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 6.763e-05/0.5209, allocations: 111.6 kB / 0.5889 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.5209, allocations: 7.906 kB / 0.5889 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.5211, allocations: 110.4 kB / 0.589 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5211, allocations: 0 / 0.589 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5211, allocations: 4 kB / 0.589 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.5211, allocations: 4 kB / 0.589 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.5215, allocations: 383.7 kB / 0.5893 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.5215, allocations: 0 / 0.5893 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.5215, allocations: 15.94 kB / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5215, allocations: 0 / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.5216, allocations: 3.984 kB / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.5216, allocations: 3.938 kB / 0.5894 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5216, allocations: 8.031 kB / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.5218, allocations: 206.2 kB / 0.5896 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.5218, allocations: 89.02 kB / 0.5897 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.5218, allocations: 4 kB / 0.5897 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-05/0.5219, allocations: 7.922 kB / 0.5897 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.522, allocations: 8 kB / 0.5897 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.522, allocations: 11.98 kB / 0.5897 GB, free: 14.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.5221, allocations: 129.4 kB / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5221, allocations: 0 / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002452/0.5224, allocations: 31.98 kB / 0.5898 GB, free: 14.75 MB / 410.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) * 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.0007834/0.5232, allocations: 388 kB / 0.5902 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.5233, allocations: 59.92 kB / 0.5903 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5233, allocations: 0 / 0.5903 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.527e-05/0.5234, allocations: 31.92 kB / 0.5903 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.5236, allocations: 31.97 kB / 0.5903 GB, free: 14.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.5239, allocations: 153.4 kB / 0.5905 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.5242, allocations: 0.7157 MB / 0.5912 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.436e-05/0.5242, allocations: 20.7 kB / 0.5912 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.5243, allocations: 19.44 kB / 0.5912 GB, free: 13.36 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5243, allocations: 3.938 kB / 0.5912 GB, free: 13.36 MB / 410.7 MB Notification: Performance of Templates: time 0.003676/0.5279, allocations: 1.626 MB / 0.5928 GB, free: 11.75 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches