Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 173 kB / 8.742 MB, free: 344 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.34/1.34, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.000845/0.000845, allocations: 93.28 kB / 281.5 MB, free: 5.332 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.2373/0.2373, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.626e-05/1.651e-05, allocations: 8.203 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1263, allocations: 61.91 MB / 0.4947 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3771/0.5035, allocations: 90.27 MB / 0.5828 GB, free: 6.258 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.5038, allocations: 71.97 kB / 0.5829 GB, free: 6.188 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01414/0.5179, allocations: 4.96 MB / 0.5877 GB, free: 1.242 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.518, allocations: 0 / 0.5877 GB, free: 1.242 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.518, allocations: 8 kB / 0.5878 GB, free: 1.234 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007873/0.5188, allocations: 0.5172 MB / 0.5883 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.5188, allocations: 15.98 kB / 0.5883 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.679e-05/0.5189, allocations: 24.5 kB / 0.5883 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.5193, allocations: 259.4 kB / 0.5885 GB, free: 332 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.5193, allocations: 4 kB / 0.5886 GB, free: 328 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.5193, allocations: 15.94 kB / 0.5886 GB, free: 312 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001382/0.5195, allocations: 47.98 kB / 0.5886 GB, free: 264 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.5197, allocations: 113.6 kB / 0.5887 GB, free: 136 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.5197, allocations: 0 / 0.5887 GB, free: 136 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.5197, allocations: 0 / 0.5887 GB, free: 136 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.5197, allocations: 11.94 kB / 0.5887 GB, free: 124 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000821/0.5206, allocations: 0.5522 MB / 0.5893 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.5209, allocations: 98.67 kB / 0.5894 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.955e-05/0.521, allocations: 36.86 kB / 0.5894 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.521, allocations: 4 kB / 0.5894 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.5212, allocations: 107.5 kB / 0.5895 GB, free: 15.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.5212, allocations: 0 / 0.5895 GB, free: 15.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002777/0.5215, allocations: 129.4 kB / 0.5896 GB, free: 15.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.5216, allocations: 55.41 kB / 0.5897 GB, free: 15.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.5218, allocations: 190.1 kB / 0.5899 GB, free: 14.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.5218, allocations: 29.7 kB / 0.5899 GB, free: 14.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.5219, allocations: 132.4 kB / 0.59 GB, free: 14.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.522, allocations: 27.56 kB / 0.59 GB, free: 14.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.522, allocations: 4 kB / 0.59 GB, free: 14.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5221, allocations: 334.8 kB / 0.5904 GB, free: 14.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-05/0.5222, allocations: 32 kB / 0.5904 GB, free: 14.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.5223, allocations: 74.86 kB / 0.5905 GB, free: 14.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.075e-05/0.5224, allocations: 39.92 kB / 0.5905 GB, free: 14.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5224, allocations: 4 kB / 0.5905 GB, free: 14.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002712/0.5227, allocations: 153.3 kB / 0.5907 GB, free: 14.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.5227, allocations: 33.7 kB / 0.5907 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.5227, allocations: 0 / 0.5907 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.5228, allocations: 0 / 0.5907 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.523, allocations: 52.03 kB / 0.5907 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.523, allocations: 7.984 kB / 0.5907 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.5232, allocations: 19.98 kB / 0.5908 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.5232, allocations: 8 kB / 0.5908 GB, free: 13.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001208/0.5233, allocations: 122.2 kB / 0.5909 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.5234, allocations: 23.66 kB / 0.5909 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.5237, allocations: 145.7 kB / 0.5911 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.5237, allocations: 4 kB / 0.5911 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5237, allocations: 0 / 0.5911 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.5237, allocations: 3.984 kB / 0.5911 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.5239, allocations: 214 kB / 0.5913 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5239, allocations: 0 / 0.5913 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.5241, allocations: 35.97 kB / 0.5913 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5241, allocations: 0 / 0.5913 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.5241, allocations: 0 / 0.5913 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.5242, allocations: 7.984 kB / 0.5913 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5242, allocations: 0 / 0.5913 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.5245, allocations: 212.7 kB / 0.5915 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-05/0.5246, allocations: 100.9 kB / 0.5916 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.5247, allocations: 11.98 kB / 0.5916 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.5249, allocations: 28.03 kB / 0.5916 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/0.525, allocations: 23.95 kB / 0.5917 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.525, allocations: 4 kB / 0.5917 GB, free: 12.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.5251, allocations: 160.6 kB / 0.5918 GB, free: 12.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5251, allocations: 0 / 0.5918 GB, free: 12.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000292/0.5254, allocations: 43.94 kB / 0.5919 GB, free: 12.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008469/0.5263, allocations: 355.4 kB / 0.5922 GB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.5266, allocations: 155.3 kB / 0.5924 GB, free: 12.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5266, allocations: 4 kB / 0.5924 GB, free: 12.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.083e-05/0.5267, allocations: 40 kB / 0.5924 GB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.527, allocations: 44.17 kB / 0.5924 GB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005546/0.5276, allocations: 227.5 kB / 0.5927 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.5279, allocations: 0.7241 MB / 0.5934 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.436e-05/0.528, allocations: 33.31 kB / 0.5934 GB, free: 11.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.5281, allocations: 23.42 kB / 0.5934 GB, free: 11.11 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5281, allocations: 0 / 0.5934 GB, free: 11.11 MB / 410.7 MB Notification: Performance of Templates: time 0.005452/0.5335, allocations: 2.429 MB / 0.5958 GB, free: 8.688 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches