Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.00162, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008941/0.0008943, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.231/0.231, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003594, allocations: 16 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1533, allocations: 58.85 MB / 490.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4331/0.5864, allocations: 87.71 MB / 0.5644 GB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.5867, allocations: 74.64 kB / 0.5645 GB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01463/0.6013, allocations: 5.556 MB / 0.5699 GB, free: 7.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.827e-06/0.6014, allocations: 0 / 0.5699 GB, free: 7.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.6014, allocations: 7.938 kB / 0.5699 GB, free: 7.34 MB / 378.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.0005854/0.602, allocations: 437.7 kB / 0.5703 GB, free: 6.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.6021, allocations: 8.031 kB / 0.5703 GB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.6021, allocations: 7.906 kB / 0.5703 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.6024, allocations: 225.9 kB / 0.5706 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.6025, allocations: 0 / 0.5706 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.6025, allocations: 7.984 kB / 0.5706 GB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.6026, allocations: 60.42 kB / 0.5706 GB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.6027, allocations: 0 / 0.5706 GB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.6027, allocations: 4 kB / 0.5706 GB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.6027, allocations: 4 kB / 0.5706 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.306e-05/0.6028, allocations: 15.48 kB / 0.5707 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.6032, allocations: 313.5 kB / 0.571 GB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.6034, allocations: 61.42 kB / 0.571 GB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.6034, allocations: 7.938 kB / 0.571 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.6036, allocations: 62.02 kB / 0.5711 GB, free: 6.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.6036, allocations: 4 kB / 0.5711 GB, free: 6.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005752/0.6042, allocations: 176.7 kB / 0.5712 GB, free: 5.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.6042, allocations: 59.36 kB / 0.5713 GB, free: 5.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.6045, allocations: 200.9 kB / 0.5715 GB, free: 5.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.6045, allocations: 29.7 kB / 0.5715 GB, free: 5.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.6046, allocations: 108.8 kB / 0.5716 GB, free: 5.531 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.6046, allocations: 23.03 kB / 0.5717 GB, free: 5.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/0.6046, allocations: 0 / 0.5717 GB, free: 5.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6047, allocations: 325.4 kB / 0.572 GB, free: 5.191 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.672e-05/0.6048, allocations: 22.92 kB / 0.572 GB, free: 5.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.6049, allocations: 39.27 kB / 0.572 GB, free: 5.141 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.082e-05/0.6049, allocations: 29.44 kB / 0.572 GB, free: 5.121 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.605, allocations: 0 / 0.572 GB, free: 5.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001845/0.6051, allocations: 103.2 kB / 0.5721 GB, free: 5.031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.6052, allocations: 8 kB / 0.5722 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6052, allocations: 0 / 0.5722 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.6052, allocations: 3.938 kB / 0.5722 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.6053, allocations: 16.17 kB / 0.5722 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6053, allocations: 4.156 kB / 0.5722 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.6054, allocations: 7.891 kB / 0.5722 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.6054, allocations: 15.7 kB / 0.5722 GB, free: 4.98 MB / 378.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.0001265/0.6055, allocations: 129 kB / 0.5723 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.6055, allocations: 15.81 kB / 0.5723 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.6058, allocations: 116.9 kB / 0.5724 GB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6058, allocations: 0 / 0.5724 GB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.6058, allocations: 0 / 0.5724 GB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.6058, allocations: 3.984 kB / 0.5725 GB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.6063, allocations: 431.1 kB / 0.5729 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6063, allocations: 0 / 0.5729 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.6064, allocations: 12 kB / 0.5729 GB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.6064, allocations: 3.938 kB / 0.5729 GB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.6064, allocations: 0 / 0.5729 GB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.6064, allocations: 7.953 kB / 0.5729 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6064, allocations: 0 / 0.5729 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.6067, allocations: 231.6 kB / 0.5731 GB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.499e-05/0.6068, allocations: 95.94 kB / 0.5732 GB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.6068, allocations: 9.25 kB / 0.5732 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.57e-05/0.6069, allocations: 9.25 kB / 0.5732 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.607, allocations: 4 kB / 0.5732 GB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.607, allocations: 8.609 kB / 0.5732 GB, free: 3.906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001707/0.6071, allocations: 168.3 kB / 0.5734 GB, free: 3.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6072, allocations: 4 kB / 0.5734 GB, free: 3.766 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002585/0.6074, allocations: 39.05 kB / 0.5734 GB, free: 3.73 MB / 378.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.00106/0.6085, allocations: 471.8 kB / 0.5739 GB, free: 3.332 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.6087, allocations: 68.78 kB / 0.5739 GB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6087, allocations: 0 / 0.5739 GB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/0.6088, allocations: 37.11 kB / 0.574 GB, free: 3.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.609, allocations: 22.73 kB / 0.574 GB, free: 3.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.6095, allocations: 279.3 kB / 0.5743 GB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.6099, allocations: 0.7121 MB / 0.575 GB, free: 2.207 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.432e-05/0.6099, allocations: 24.84 kB / 0.575 GB, free: 2.184 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.61, allocations: 18.56 kB / 0.575 GB, free: 2.168 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.61, allocations: 0 / 0.575 GB, free: 2.168 MB / 378.7 MB Notification: Performance of Templates: time 0.004299/0.6143, allocations: 1.745 MB / 0.5767 GB, free: 452 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches