Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, 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.281/1.281, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008974/0.0008973, allocations: 105 kB / 292.2 MB, free: 10.91 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.3476/0.3476, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003244, allocations: 12 kB / 459.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4323, allocations: 61.89 MB / 0.5096 GB, free: 38.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.5658, allocations: 89.3 MB / 0.5968 GB, free: 5.824 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.5661, allocations: 75.94 kB / 0.5969 GB, free: 5.754 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.581, allocations: 5.722 MB / 0.6024 GB, free: 36 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5811, allocations: 0 / 0.6024 GB, free: 36 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.5811, allocations: 8 kB / 0.6024 GB, free: 28 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.0006263/0.5817, allocations: 418.8 kB / 0.6028 GB, free: 15.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.5818, allocations: 8.031 kB / 0.6029 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.5818, allocations: 23.69 kB / 0.6029 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.5822, allocations: 213.1 kB / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.5822, allocations: 7.953 kB / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.5823, allocations: 4 kB / 0.6031 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.5825, allocations: 61.61 kB / 0.6032 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5825, allocations: 4 kB / 0.6032 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.5825, allocations: 0 / 0.6032 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.5825, allocations: 4 kB / 0.6032 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.707e-05/0.5826, allocations: 23.97 kB / 0.6032 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.5831, allocations: 300.8 kB / 0.6035 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.5833, allocations: 58.61 kB / 0.6035 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.5833, allocations: 4 kB / 0.6035 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.5835, allocations: 63.52 kB / 0.6036 GB, free: 14.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.5835, allocations: 0 / 0.6036 GB, free: 14.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006749/0.5842, allocations: 181.1 kB / 0.6038 GB, free: 14.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.5842, allocations: 51.41 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.5845, allocations: 197.5 kB / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.5845, allocations: 33.7 kB / 0.604 GB, free: 14.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.5846, allocations: 100.1 kB / 0.6041 GB, free: 14.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.5846, allocations: 27.69 kB / 0.6042 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/0.5846, allocations: 0 / 0.6042 GB, free: 14.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.5848, allocations: 331 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.694e-05/0.5849, allocations: 19.98 kB / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.427e-05/0.585, allocations: 37.64 kB / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.697e-05/0.5851, allocations: 28 kB / 0.6045 GB, free: 13.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5851, allocations: 4 kB / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002142/0.5853, allocations: 97.48 kB / 0.6046 GB, free: 13.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.5853, allocations: 8 kB / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5853, allocations: 0 / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.5854, allocations: 0 / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.5855, allocations: 19.92 kB / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.5855, allocations: 4 kB / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.798e-05/0.5855, allocations: 4 kB / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.5856, allocations: 11.97 kB / 0.6047 GB, free: 13.5 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.0001284/0.5857, allocations: 134.3 kB / 0.6048 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.5857, allocations: 11.81 kB / 0.6048 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.586, allocations: 127.1 kB / 0.605 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.5861, allocations: 4 kB / 0.605 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5861, allocations: 0 / 0.605 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5861, allocations: 0 / 0.605 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/0.5867, allocations: 423.2 kB / 0.6054 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5867, allocations: 0 / 0.6054 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.203e-05/0.5868, allocations: 12.36 kB / 0.6054 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.5868, allocations: 4 kB / 0.6054 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.5868, allocations: 0 / 0.6054 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.298e-06/0.5868, allocations: 7.938 kB / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.5868, allocations: 4.234 kB / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.5871, allocations: 233.8 kB / 0.6056 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-05/0.5872, allocations: 89 kB / 0.6057 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.5873, allocations: 8 kB / 0.6057 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.5874, allocations: 4 kB / 0.6057 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.5874, allocations: 3.984 kB / 0.6057 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.5874, allocations: 7.953 kB / 0.6057 GB, free: 12.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.5876, allocations: 163.2 kB / 0.6059 GB, free: 12.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5876, allocations: 4 kB / 0.6059 GB, free: 12.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003324/0.5879, allocations: 32 kB / 0.6059 GB, free: 12.13 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.001246/0.5892, allocations: 473.5 kB / 0.6064 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.5894, allocations: 67.91 kB / 0.6064 GB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5895, allocations: 0 / 0.6064 GB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.125e-05/0.5896, allocations: 35.92 kB / 0.6065 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.5898, allocations: 23.64 kB / 0.6065 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.5904, allocations: 270.5 kB / 0.6067 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.5907, allocations: 0.7082 MB / 0.6074 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.676e-05/0.5908, allocations: 20.55 kB / 0.6074 GB, free: 10.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.5909, allocations: 19.44 kB / 0.6075 GB, free: 10.66 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5909, allocations: 0 / 0.6075 GB, free: 10.66 MB / 426.7 MB Notification: Performance of Templates: time 0.004775/0.5957, allocations: 1.727 MB / 0.6092 GB, free: 8.945 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches