Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 183.8 kB / 18.09 MB, free: 3.727 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.239/1.239, allocations: 223.3 MB / 242.1 MB, free: 9.973 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.0008043/0.0008043, allocations: 103.8 kB / 293.3 MB, free: 10.57 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.3106/0.3106, allocations: 44.14 MB / 388.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003538, allocations: 12 kB / 461.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2755, allocations: 61.88 MB / 0.5107 GB, free: 37.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1021/0.3776, allocations: 89.31 MB / 0.598 GB, free: 5.781 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.3779, allocations: 83.94 kB / 0.598 GB, free: 5.703 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01455/0.3924, allocations: 5.581 MB / 0.6035 GB, free: 124 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.3925, allocations: 0 / 0.6035 GB, free: 124 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.3925, allocations: 7.938 kB / 0.6035 GB, free: 116 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.0004755/0.393, allocations: 415 kB / 0.6039 GB, free: 15.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.393, allocations: 12.03 kB / 0.6039 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.3931, allocations: 8.844 kB / 0.6039 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.3933, allocations: 221 kB / 0.6041 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3934, allocations: 4.375 kB / 0.6041 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.3934, allocations: 4.375 kB / 0.6041 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.3935, allocations: 54.23 kB / 0.6042 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3935, allocations: 192 / 0.6042 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.3936, allocations: 11.92 kB / 0.6042 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3936, allocations: 3.938 kB / 0.6042 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.563e-05/0.3937, allocations: 19.98 kB / 0.6042 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.3941, allocations: 289 kB / 0.6045 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.3943, allocations: 62.61 kB / 0.6045 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.098e-05/0.3943, allocations: 28.78 kB / 0.6046 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.3944, allocations: 0 / 0.6046 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.3945, allocations: 67.39 kB / 0.6046 GB, free: 14.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.3945, allocations: 0 / 0.6046 GB, free: 14.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005518/0.3951, allocations: 185.2 kB / 0.6048 GB, free: 14.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.3951, allocations: 51.41 kB / 0.6049 GB, free: 14.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.3953, allocations: 184 kB / 0.605 GB, free: 14.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.3953, allocations: 29.64 kB / 0.6051 GB, free: 14.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.3954, allocations: 104.1 kB / 0.6052 GB, free: 14.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.3954, allocations: 19.66 kB / 0.6052 GB, free: 14.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-06/0.3955, allocations: 12 kB / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3956, allocations: 323 kB / 0.6055 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.798e-05/0.3956, allocations: 23.98 kB / 0.6055 GB, free: 13.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-05/0.3957, allocations: 37.7 kB / 0.6056 GB, free: 13.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.3959, allocations: 61.64 kB / 0.6056 GB, free: 13.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3959, allocations: 0 / 0.6056 GB, free: 13.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001776/0.3961, allocations: 113.4 kB / 0.6057 GB, free: 13.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3961, allocations: 4 kB / 0.6057 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3961, allocations: 0 / 0.6057 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3961, allocations: 4 kB / 0.6057 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.808e-05/0.3962, allocations: 12 kB / 0.6058 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3962, allocations: 3.984 kB / 0.6058 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.3963, allocations: 8 kB / 0.6058 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.3963, allocations: 0 / 0.6058 GB, free: 13.55 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 9.144e-05/0.3964, allocations: 131.4 kB / 0.6059 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.3964, allocations: 19.81 kB / 0.6059 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.3966, allocations: 118.3 kB / 0.606 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3966, allocations: 0 / 0.606 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3967, allocations: 0 / 0.606 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3967, allocations: 4 kB / 0.606 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004407/0.3971, allocations: 407.2 kB / 0.6064 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3971, allocations: 8.031 kB / 0.6064 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/0.3972, allocations: 15.92 kB / 0.6064 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.3972, allocations: 0 / 0.6064 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3972, allocations: 8 kB / 0.6064 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3972, allocations: 384 / 0.6064 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3972, allocations: 3.938 kB / 0.6064 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.3974, allocations: 216.4 kB / 0.6067 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.3975, allocations: 93 kB / 0.6067 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.3976, allocations: 12 kB / 0.6068 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.3976, allocations: 0 / 0.6068 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.3977, allocations: 11.92 kB / 0.6068 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.3977, allocations: 4 kB / 0.6068 GB, free: 12.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.3978, allocations: 148 kB / 0.6069 GB, free: 12.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3978, allocations: 0 / 0.6069 GB, free: 12.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.3981, allocations: 31.94 kB / 0.6069 GB, free: 12.23 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.0009904/0.3991, allocations: 486.5 kB / 0.6074 GB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.3993, allocations: 55.92 kB / 0.6075 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3993, allocations: 0 / 0.6075 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.884e-05/0.3994, allocations: 39.98 kB / 0.6075 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.3997, allocations: 31.97 kB / 0.6075 GB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.4002, allocations: 238.4 kB / 0.6078 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.4005, allocations: 0.7083 MB / 0.6084 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.719e-05/0.4006, allocations: 12.55 kB / 0.6085 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.4006, allocations: 15.44 kB / 0.6085 GB, free: 10.79 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4006, allocations: 3.938 kB / 0.6085 GB, free: 10.78 MB / 426.7 MB Notification: Performance of Templates: time 0.004141/0.4048, allocations: 1.706 MB / 0.6101 GB, free: 9.094 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches