Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 176.6 kB / 17.06 MB, free: 5.098 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.287/1.287, allocations: 223.2 MB / 241 MB, free: 11.88 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.0009296/0.0009293, allocations: 96.22 kB / 292.2 MB, free: 10.93 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.3468/0.3468, allocations: 44.21 MB / 387.5 MB, free: 38.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003285, allocations: 12 kB / 459.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.433, allocations: 61.9 MB / 0.5096 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.569, allocations: 89.25 MB / 0.5967 GB, free: 5.898 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.5693, allocations: 79.94 kB / 0.5968 GB, free: 5.824 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01518/0.5845, allocations: 5.452 MB / 0.6021 GB, free: 384 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5846, allocations: 3.938 kB / 0.6021 GB, free: 380 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.5846, allocations: 4 kB / 0.6021 GB, free: 376 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.0006337/0.5852, allocations: 410.9 kB / 0.6025 GB, free: 15.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.5853, allocations: 8.031 kB / 0.6025 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.5853, allocations: 7.906 kB / 0.6025 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.5857, allocations: 217 kB / 0.6027 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.5857, allocations: 15.83 kB / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.5857, allocations: 0 / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.5859, allocations: 57.67 kB / 0.6028 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5859, allocations: 0 / 0.6028 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.5859, allocations: 0 / 0.6028 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.5859, allocations: 4 kB / 0.6028 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.395e-05/0.586, allocations: 23.98 kB / 0.6028 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.5864, allocations: 292.9 kB / 0.6031 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.5866, allocations: 58.62 kB / 0.6032 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.5866, allocations: 0 / 0.6032 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.5868, allocations: 79.41 kB / 0.6033 GB, free: 15.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.5868, allocations: 0 / 0.6033 GB, free: 15.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005648/0.5874, allocations: 169.2 kB / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.5874, allocations: 51.41 kB / 0.6035 GB, free: 14.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.5876, allocations: 164.4 kB / 0.6036 GB, free: 14.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.5876, allocations: 29.7 kB / 0.6037 GB, free: 14.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.5877, allocations: 104.1 kB / 0.6038 GB, free: 14.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.5877, allocations: 23.7 kB / 0.6038 GB, free: 14.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.5878, allocations: 4 kB / 0.6038 GB, free: 14.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5879, allocations: 326.8 kB / 0.6041 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.587e-05/0.588, allocations: 19.92 kB / 0.6041 GB, free: 14.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.17e-05/0.5881, allocations: 41.7 kB / 0.6041 GB, free: 14.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.144e-05/0.5881, allocations: 20.19 kB / 0.6042 GB, free: 14.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.5881, allocations: 4 kB / 0.6042 GB, free: 14.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001918/0.5883, allocations: 109.4 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5884, allocations: 4 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.5884, allocations: 0 / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.5884, allocations: 0 / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.428e-05/0.5885, allocations: 19.98 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.5885, allocations: 0 / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.5886, allocations: 4 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.5886, allocations: 0 / 0.6043 GB, free: 13.93 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.0001156/0.5887, allocations: 138.3 kB / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.5887, allocations: 15.84 kB / 0.6044 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.589, allocations: 118.4 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.589, allocations: 4 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.589, allocations: 0 / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.589, allocations: 0 / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.5895, allocations: 411.2 kB / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5895, allocations: 0 / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.5896, allocations: 15.94 kB / 0.605 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5896, allocations: 0 / 0.605 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.5896, allocations: 7.984 kB / 0.605 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5896, allocations: 4 kB / 0.605 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5896, allocations: 384 / 0.605 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.5899, allocations: 225.9 kB / 0.6052 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.59, allocations: 93 kB / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.59, allocations: 0 / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.5901, allocations: 8 kB / 0.6053 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.5901, allocations: 11.97 kB / 0.6053 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.5902, allocations: 11.95 kB / 0.6053 GB, free: 12.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.5903, allocations: 127.2 kB / 0.6054 GB, free: 12.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5903, allocations: 0 / 0.6054 GB, free: 12.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002509/0.5905, allocations: 35.98 kB / 0.6055 GB, free: 12.61 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.001134/0.5917, allocations: 482.3 kB / 0.6059 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.5919, allocations: 67.91 kB / 0.606 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5919, allocations: 0 / 0.606 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.812e-05/0.592, allocations: 35.92 kB / 0.606 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.5922, allocations: 22.61 kB / 0.6061 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.5927, allocations: 230.5 kB / 0.6063 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.5931, allocations: 0.7043 MB / 0.607 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.096e-05/0.5931, allocations: 12.55 kB / 0.607 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.5932, allocations: 19.44 kB / 0.607 GB, free: 11.17 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5932, allocations: 4 kB / 0.607 GB, free: 11.16 MB / 426.7 MB Notification: Performance of Templates: time 0.004333/0.5975, allocations: 1.658 MB / 0.6086 GB, free: 9.523 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches