Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009943/0.0009943, allocations: 173.7 kB / 8.74 MB, free: 348 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.291/1.291, allocations: 221.5 MB / 230.7 MB, free: 7.52 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.0008229/0.0008231, allocations: 100.5 kB / 281.6 MB, free: 5.262 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.2027/0.2027, allocations: 44.16 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.698e-05/1.7e-05, allocations: 7.984 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1224, allocations: 61.91 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4081/0.5306, allocations: 88.37 MB / 0.581 GB, free: 8.168 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.5308, allocations: 71.97 kB / 0.581 GB, free: 8.098 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01418/0.545, allocations: 5.388 MB / 0.5863 GB, free: 2.719 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.5451, allocations: 0 / 0.5863 GB, free: 2.719 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.5451, allocations: 4 kB / 0.5863 GB, free: 2.715 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004177/0.5455, allocations: 382.2 kB / 0.5867 GB, free: 2.297 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.5455, allocations: 15.98 kB / 0.5867 GB, free: 2.281 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.5456, allocations: 7.906 kB / 0.5867 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.5459, allocations: 218.7 kB / 0.5869 GB, free: 2.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.5459, allocations: 0 / 0.5869 GB, free: 2.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.5459, allocations: 7.953 kB / 0.5869 GB, free: 2.012 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.179e-05/0.546, allocations: 12 kB / 0.5869 GB, free: 2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.751e-05/0.5461, allocations: 45.67 kB / 0.587 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.5461, allocations: 0 / 0.587 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.5461, allocations: 0 / 0.587 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.5461, allocations: 0 / 0.587 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.5463, allocations: 166.2 kB / 0.5871 GB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.227e-05/0.5464, allocations: 46.56 kB / 0.5872 GB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.5465, allocations: 16.86 kB / 0.5872 GB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.5465, allocations: 3.938 kB / 0.5872 GB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.5466, allocations: 71.44 kB / 0.5873 GB, free: 1.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.5466, allocations: 0 / 0.5873 GB, free: 1.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000192/0.5468, allocations: 73.59 kB / 0.5873 GB, free: 1.512 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.5469, allocations: 59.34 kB / 0.5874 GB, free: 1.441 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.547, allocations: 161.4 kB / 0.5875 GB, free: 1.277 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.5471, allocations: 25.7 kB / 0.5876 GB, free: 1.246 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.5471, allocations: 96.14 kB / 0.5877 GB, free: 1.148 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.5472, allocations: 23.73 kB / 0.5877 GB, free: 1.125 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.5472, allocations: 0 / 0.5877 GB, free: 1.125 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5473, allocations: 322.8 kB / 0.588 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.706e-05/0.5473, allocations: 11.98 kB / 0.588 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/0.5473, allocations: 29.72 kB / 0.588 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.224e-05/0.5474, allocations: 15.98 kB / 0.588 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5474, allocations: 0 / 0.588 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001071/0.5475, allocations: 69.53 kB / 0.5881 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.5475, allocations: 8 kB / 0.5881 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.5475, allocations: 0 / 0.5881 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5476, allocations: 7.984 kB / 0.5881 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.334e-05/0.5476, allocations: 8 kB / 0.5881 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.5477, allocations: 4 kB / 0.5881 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.5477, allocations: 3.984 kB / 0.5881 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.5477, allocations: 4 kB / 0.5881 GB, free: 0.6289 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.885e-05/0.5478, allocations: 107.2 kB / 0.5882 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.5478, allocations: 15.81 kB / 0.5883 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.548, allocations: 98.06 kB / 0.5884 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.548, allocations: 4 kB / 0.5884 GB, free: 408 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.548, allocations: 3.953 kB / 0.5884 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.548, allocations: 0 / 0.5884 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.5481, allocations: 166.2 kB / 0.5885 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5481, allocations: 0 / 0.5885 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.65e-05/0.5482, allocations: 4 kB / 0.5885 GB, free: 196 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5482, allocations: 0 / 0.5885 GB, free: 196 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.5482, allocations: 3.984 kB / 0.5885 GB, free: 192 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5482, allocations: 4 kB / 0.5885 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5482, allocations: 0 / 0.5885 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.5484, allocations: 112.9 kB / 0.5886 GB, free: 56 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.5484, allocations: 92.94 kB / 0.5887 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.5485, allocations: 4 kB / 0.5887 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.005e-05/0.5485, allocations: 3.938 kB / 0.5887 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.5485, allocations: 7.984 kB / 0.5887 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.5486, allocations: 4 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001073/0.5487, allocations: 137 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5487, allocations: 0 / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.5489, allocations: 31.91 kB / 0.5889 GB, free: 15.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0007957/0.5497, allocations: 345.5 kB / 0.5892 GB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.5498, allocations: 35.94 kB / 0.5893 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5498, allocations: 0 / 0.5893 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.29e-05/0.5499, allocations: 24.05 kB / 0.5893 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.5501, allocations: 23.98 kB / 0.5893 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.5505, allocations: 136.1 kB / 0.5895 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.5508, allocations: 0.7041 MB / 0.5901 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.966e-05/0.5508, allocations: 12.42 kB / 0.5901 GB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.5509, allocations: 23.42 kB / 0.5902 GB, free: 14.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5509, allocations: 4 kB / 0.5902 GB, free: 14.48 MB / 410.7 MB Notification: Performance of Templates: time 0.00373/0.5546, allocations: 1.404 MB / 0.5915 GB, free: 13.09 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches