Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.3/1.3, allocations: 223.2 MB / 241 MB, free: 11.86 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.0008525/0.0008525, allocations: 96.09 kB / 292.2 MB, free: 10.91 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.3528/0.3528, allocations: 44.22 MB / 387.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003567, allocations: 12 kB / 459.9 MB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4329, allocations: 61.9 MB / 0.5096 GB, free: 38.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.5632, allocations: 89.26 MB / 0.5967 GB, free: 5.875 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.5636, allocations: 79.92 kB / 0.5968 GB, free: 5.801 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01549/0.5791, allocations: 5.491 MB / 0.6022 GB, free: 320 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5791, allocations: 0 / 0.6022 GB, free: 320 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.5792, allocations: 3.938 kB / 0.6022 GB, free: 316 kB / 410.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.0005672/0.5797, allocations: 414.9 kB / 0.6026 GB, free: 15.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.5798, allocations: 8.031 kB / 0.6026 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.5798, allocations: 11.91 kB / 0.6026 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.5802, allocations: 219.7 kB / 0.6028 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.5802, allocations: 11.89 kB / 0.6028 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.5802, allocations: 3.984 kB / 0.6028 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.5804, allocations: 53.67 kB / 0.6029 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.5804, allocations: 8 kB / 0.6029 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.5804, allocations: 0 / 0.6029 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5804, allocations: 0 / 0.6029 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.5805, allocations: 23.98 kB / 0.6029 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.5809, allocations: 292.8 kB / 0.6032 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.5811, allocations: 54.67 kB / 0.6032 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.5811, allocations: 4 kB / 0.6032 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.5813, allocations: 71.45 kB / 0.6033 GB, free: 14.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.5813, allocations: 0 / 0.6033 GB, free: 14.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005543/0.5819, allocations: 177.2 kB / 0.6035 GB, free: 14.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.5819, allocations: 59.34 kB / 0.6035 GB, free: 14.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.5821, allocations: 167.1 kB / 0.6037 GB, free: 14.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.5821, allocations: 33.7 kB / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.5822, allocations: 100.1 kB / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.5822, allocations: 23.66 kB / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.5822, allocations: 0 / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.5824, allocations: 330.8 kB / 0.6041 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.662e-05/0.5824, allocations: 19.98 kB / 0.6042 GB, free: 14.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.625e-05/0.5825, allocations: 33.7 kB / 0.6042 GB, free: 14.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.008e-05/0.5826, allocations: 28.19 kB / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.5826, allocations: 3.984 kB / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001715/0.5827, allocations: 101.4 kB / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.5828, allocations: 4 kB / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5828, allocations: 0 / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.5828, allocations: 4 kB / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.809e-05/0.5829, allocations: 19.97 kB / 0.6044 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.5829, allocations: 0 / 0.6044 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.5829, allocations: 8 kB / 0.6044 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.583, allocations: 4.031 kB / 0.6044 GB, free: 13.84 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 0.000103/0.5831, allocations: 134.2 kB / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.5831, allocations: 7.906 kB / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.5834, allocations: 126.4 kB / 0.6046 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.5834, allocations: 3.938 kB / 0.6046 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5834, allocations: 0 / 0.6046 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.5834, allocations: 0 / 0.6046 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.5838, allocations: 415.2 kB / 0.605 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5839, allocations: 4 kB / 0.605 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.5839, allocations: 12 kB / 0.605 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5839, allocations: 0 / 0.605 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.5839, allocations: 4 kB / 0.605 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5839, allocations: 0 / 0.605 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5839, allocations: 384 / 0.605 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.5842, allocations: 233.8 kB / 0.6053 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.5843, allocations: 89.02 kB / 0.6053 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.5843, allocations: 11.98 kB / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.5844, allocations: 0 / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.5844, allocations: 8 kB / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.5844, allocations: 11.94 kB / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.5845, allocations: 148.1 kB / 0.6055 GB, free: 12.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5846, allocations: 0 / 0.6055 GB, free: 12.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.5848, allocations: 35.92 kB / 0.6056 GB, free: 12.5 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.001023/0.5859, allocations: 481.8 kB / 0.606 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.586, allocations: 67.91 kB / 0.6061 GB, free: 12.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5861, allocations: 0 / 0.6061 GB, free: 12.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.304e-05/0.5861, allocations: 35.97 kB / 0.6061 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.5864, allocations: 30.36 kB / 0.6061 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.5868, allocations: 246.4 kB / 0.6064 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.5871, allocations: 0.716 MB / 0.6071 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.342e-05/0.5872, allocations: 12.56 kB / 0.6071 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/0.5872, allocations: 19.42 kB / 0.6071 GB, free: 11.03 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5872, allocations: 0 / 0.6071 GB, free: 11.03 MB / 426.7 MB Notification: Performance of Templates: time 0.004065/0.5913, allocations: 1.682 MB / 0.6087 GB, free: 9.367 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches