Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008547/0.0008547, allocations: 187 kB / 18.09 MB, free: 3.723 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.211/1.211, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0007427/0.0007426, allocations: 101.7 kB / 293.3 MB, free: 10.8 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.3115/0.3115, allocations: 44.15 MB / 388.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003791, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2684, allocations: 61.88 MB / 0.5107 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1001/0.3685, allocations: 89.32 MB / 0.598 GB, free: 5.758 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.3688, allocations: 83.94 kB / 0.598 GB, free: 5.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01431/0.3831, allocations: 5.573 MB / 0.6035 GB, free: 108 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3831, allocations: 4 kB / 0.6035 GB, free: 104 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.3832, allocations: 11.88 kB / 0.6035 GB, free: 92 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.000431/0.3836, allocations: 419 kB / 0.6039 GB, free: 15.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.3836, allocations: 8.031 kB / 0.6039 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.3837, allocations: 8.844 kB / 0.6039 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.3839, allocations: 221 kB / 0.6041 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.384, allocations: 384 / 0.6041 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.384, allocations: 4.375 kB / 0.6041 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.3841, allocations: 58.23 kB / 0.6042 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3841, allocations: 4.125 kB / 0.6042 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3841, allocations: 3.938 kB / 0.6042 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3842, allocations: 4 kB / 0.6042 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.158e-05/0.3842, allocations: 23.97 kB / 0.6042 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.3846, allocations: 288.9 kB / 0.6045 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.3848, allocations: 70.55 kB / 0.6046 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.3848, allocations: 16.86 kB / 0.6046 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.3849, allocations: 3.984 kB / 0.6046 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.385, allocations: 67.39 kB / 0.6046 GB, free: 14.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.385, allocations: 0 / 0.6046 GB, free: 14.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005326/0.3856, allocations: 169.2 kB / 0.6048 GB, free: 14.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.3856, allocations: 63.41 kB / 0.6049 GB, free: 14.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.3858, allocations: 180 kB / 0.605 GB, free: 14.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.3858, allocations: 29.7 kB / 0.6051 GB, free: 14.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.3859, allocations: 100.1 kB / 0.6052 GB, free: 14.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.3859, allocations: 23.66 kB / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/0.386, allocations: 0 / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3861, allocations: 331 kB / 0.6055 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.624e-05/0.3861, allocations: 19.98 kB / 0.6055 GB, free: 13.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.325e-05/0.3862, allocations: 41.7 kB / 0.6056 GB, free: 13.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.3863, allocations: 65.62 kB / 0.6056 GB, free: 13.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3863, allocations: 0 / 0.6056 GB, free: 13.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001815/0.3865, allocations: 105.4 kB / 0.6057 GB, free: 13.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3866, allocations: 8 kB / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3866, allocations: 0 / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.3866, allocations: 0 / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.3867, allocations: 16.03 kB / 0.6057 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3867, allocations: 4 kB / 0.6058 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.3867, allocations: 4.172 kB / 0.6058 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3868, allocations: 8 kB / 0.6058 GB, free: 13.54 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.983e-05/0.3869, allocations: 129.7 kB / 0.6059 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.3869, allocations: 11.91 kB / 0.6059 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.3871, allocations: 122.6 kB / 0.606 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.3871, allocations: 8 kB / 0.606 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3871, allocations: 0 / 0.606 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3872, allocations: 0 / 0.606 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.3876, allocations: 415.2 kB / 0.6064 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3876, allocations: 0 / 0.6064 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.751e-05/0.3877, allocations: 11.94 kB / 0.6064 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3877, allocations: 4 kB / 0.6064 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.3877, allocations: 3.984 kB / 0.6064 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3877, allocations: 4.266 kB / 0.6064 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3877, allocations: 3.938 kB / 0.6064 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.3879, allocations: 220.1 kB / 0.6067 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.388, allocations: 93 kB / 0.6067 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.388, allocations: 0 / 0.6067 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.3881, allocations: 8 kB / 0.6068 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.3882, allocations: 15.92 kB / 0.6068 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.3882, allocations: 4 kB / 0.6068 GB, free: 12.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.3883, allocations: 144 kB / 0.6069 GB, free: 12.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3883, allocations: 0 / 0.6069 GB, free: 12.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002541/0.3886, allocations: 31.94 kB / 0.6069 GB, free: 12.22 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.0009887/0.3896, allocations: 479.4 kB / 0.6074 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.3897, allocations: 59.91 kB / 0.6075 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3897, allocations: 4 kB / 0.6075 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.748e-05/0.3898, allocations: 31.92 kB / 0.6075 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.3901, allocations: 36.7 kB / 0.6075 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.3906, allocations: 242.5 kB / 0.6078 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.3908, allocations: 0.7043 MB / 0.6084 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.425e-05/0.3909, allocations: 16.86 kB / 0.6085 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.3909, allocations: 19.44 kB / 0.6085 GB, free: 10.77 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3909, allocations: 0 / 0.6085 GB, free: 10.77 MB / 426.7 MB Notification: Performance of Templates: time 0.004152/0.3951, allocations: 1.702 MB / 0.6101 GB, free: 9.078 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches