Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001251/0.001251, 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.684/1.684, 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.0008743/0.0008745, allocations: 86.86 kB / 270.2 MB, free: 13.37 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.2219/0.2219, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003264, allocations: 16 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1418, allocations: 58.86 MB / 490.3 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4299/0.5717, allocations: 87.94 MB / 0.5646 GB, free: 11.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.572, allocations: 74.95 kB / 0.5647 GB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01593/0.5879, allocations: 5.957 MB / 0.5705 GB, free: 7.027 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.588, allocations: 0 / 0.5705 GB, free: 7.027 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.588, allocations: 8 kB / 0.5705 GB, free: 7.02 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.0005139/0.5885, allocations: 400 kB / 0.5709 GB, free: 6.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.5886, allocations: 8.031 kB / 0.5709 GB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.5886, allocations: 11.89 kB / 0.5709 GB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.5889, allocations: 225.1 kB / 0.5712 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.5889, allocations: 4.562 kB / 0.5712 GB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.589, allocations: 1.438 kB / 0.5712 GB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.5891, allocations: 75.52 kB / 0.5712 GB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5892, allocations: 0 / 0.5712 GB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.5892, allocations: 1.25 kB / 0.5712 GB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.5892, allocations: 0 / 0.5712 GB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.326e-05/0.5893, allocations: 20.73 kB / 0.5712 GB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.5897, allocations: 293.4 kB / 0.5715 GB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.5898, allocations: 58.94 kB / 0.5716 GB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.5898, allocations: 0 / 0.5716 GB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.59, allocations: 70.75 kB / 0.5717 GB, free: 5.777 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.59, allocations: 0 / 0.5717 GB, free: 5.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005516/0.5906, allocations: 170.8 kB / 0.5718 GB, free: 5.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.5906, allocations: 88.92 kB / 0.5719 GB, free: 5.535 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.5908, allocations: 140.1 kB / 0.572 GB, free: 5.406 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.5908, allocations: 29.7 kB / 0.5721 GB, free: 5.371 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.5909, allocations: 103.3 kB / 0.5722 GB, free: 5.277 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.5909, allocations: 19.59 kB / 0.5722 GB, free: 5.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.5909, allocations: 0 / 0.5722 GB, free: 5.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.591, allocations: 318.6 kB / 0.5725 GB, free: 4.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.657e-05/0.5911, allocations: 23.8 kB / 0.5725 GB, free: 4.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.776e-05/0.5912, allocations: 46.25 kB / 0.5726 GB, free: 4.883 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.112e-05/0.5912, allocations: 23.02 kB / 0.5726 GB, free: 4.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5913, allocations: 0 / 0.5726 GB, free: 4.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001863/0.5914, allocations: 108.4 kB / 0.5727 GB, free: 4.777 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.5915, allocations: 10.66 kB / 0.5727 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5915, allocations: 3.953 kB / 0.5727 GB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.5915, allocations: 0 / 0.5727 GB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.085e-05/0.5916, allocations: 16.05 kB / 0.5727 GB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.5916, allocations: 8 kB / 0.5727 GB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.5917, allocations: 384 / 0.5727 GB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.5917, allocations: 4 kB / 0.5727 GB, free: 4.738 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.0001153/0.5918, allocations: 137.1 kB / 0.5728 GB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.5918, allocations: 7.906 kB / 0.5729 GB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.5921, allocations: 117.6 kB / 0.573 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.5921, allocations: 7.953 kB / 0.573 GB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5921, allocations: 8 kB / 0.573 GB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.5921, allocations: 0 / 0.573 GB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/0.5926, allocations: 405.8 kB / 0.5734 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5927, allocations: 4 kB / 0.5734 GB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.5927, allocations: 15.94 kB / 0.5734 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5927, allocations: 0 / 0.5734 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.5927, allocations: 0 / 0.5734 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5927, allocations: 4 kB / 0.5734 GB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5927, allocations: 4.031 kB / 0.5734 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.593, allocations: 221.2 kB / 0.5736 GB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.337e-05/0.5931, allocations: 92.91 kB / 0.5737 GB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.5931, allocations: 3.75 kB / 0.5737 GB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.5932, allocations: 4 kB / 0.5737 GB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.5933, allocations: 11.98 kB / 0.5737 GB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.5933, allocations: 3.875 kB / 0.5737 GB, free: 3.695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001064/0.5934, allocations: 121.6 kB / 0.5738 GB, free: 3.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5934, allocations: 0 / 0.5738 GB, free: 3.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002931/0.5937, allocations: 39.86 kB / 0.5739 GB, free: 3.555 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.001229/0.5949, allocations: 0.505 MB / 0.5744 GB, free: 3.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.5951, allocations: 59.22 kB / 0.5744 GB, free: 3.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5952, allocations: 4 kB / 0.5744 GB, free: 3.062 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.19e-05/0.5952, allocations: 31.73 kB / 0.5745 GB, free: 3.039 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.5955, allocations: 31.5 kB / 0.5745 GB, free: 3.012 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.596, allocations: 209.8 kB / 0.5747 GB, free: 2.785 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.5964, allocations: 0.7044 MB / 0.5754 GB, free: 2.055 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.448e-05/0.5965, allocations: 20.47 kB / 0.5754 GB, free: 2.035 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.5965, allocations: 18.5 kB / 0.5754 GB, free: 2.02 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5965, allocations: 0 / 0.5754 GB, free: 2.02 MB / 378.7 MB Notification: Performance of Templates: time 0.004518/0.6011, allocations: 1.886 MB / 0.5773 GB, free: 152 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches