Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 176.9 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.358/1.358, allocations: 223.2 MB / 241 MB, free: 11.87 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.000873/0.000873, allocations: 88.39 kB / 292.1 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.3364/0.3364, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.000337, allocations: 12 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3592, allocations: 61.9 MB / 0.5096 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.4768, allocations: 89.12 MB / 0.5966 GB, free: 6.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.4771, allocations: 83.89 kB / 0.5967 GB, free: 5.941 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01503/0.4922, allocations: 5.745 MB / 0.6023 GB, free: 200 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4922, allocations: 0 / 0.6023 GB, free: 200 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.4922, allocations: 4 kB / 0.6023 GB, free: 196 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000532/0.4928, allocations: 442.6 kB / 0.6027 GB, free: 15.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.4928, allocations: 8.031 kB / 0.6027 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.4929, allocations: 15.81 kB / 0.6027 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.4932, allocations: 214.8 kB / 0.6029 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.4932, allocations: 0 / 0.6029 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.4932, allocations: 11.94 kB / 0.6029 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.4934, allocations: 41.69 kB / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.4934, allocations: 4 kB / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.4934, allocations: 3.984 kB / 0.603 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.4934, allocations: 4 kB / 0.603 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.4935, allocations: 19.92 kB / 0.603 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.4937, allocations: 189.7 kB / 0.6032 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.4939, allocations: 54.61 kB / 0.6033 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.4939, allocations: 11.92 kB / 0.6033 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.4941, allocations: 63.44 kB / 0.6033 GB, free: 14.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.4941, allocations: 0 / 0.6033 GB, free: 14.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002987/0.4944, allocations: 109.4 kB / 0.6034 GB, free: 14.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.4944, allocations: 59.34 kB / 0.6035 GB, free: 14.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.4947, allocations: 235.2 kB / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.4947, allocations: 25.7 kB / 0.6037 GB, free: 14.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.4948, allocations: 116.1 kB / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.4948, allocations: 11.91 kB / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.4948, allocations: 0 / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.495, allocations: 326.8 kB / 0.6042 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.174e-05/0.495, allocations: 15.98 kB / 0.6042 GB, free: 14.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.766e-05/0.4951, allocations: 33.69 kB / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.935e-05/0.4951, allocations: 16 kB / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4951, allocations: 7.938 kB / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001578/0.4953, allocations: 81.5 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.4953, allocations: 4 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.4953, allocations: 7.938 kB / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.4954, allocations: 4 kB / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.425e-05/0.4954, allocations: 11.94 kB / 0.6043 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4955, allocations: 0 / 0.6043 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.4955, allocations: 4 kB / 0.6043 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.4955, allocations: 4.312 kB / 0.6043 GB, free: 13.86 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 (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 0.0001228/0.4957, allocations: 140.4 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.4957, allocations: 15.81 kB / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.4959, allocations: 102.7 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4959, allocations: 3.953 kB / 0.6046 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4959, allocations: 4 kB / 0.6046 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4959, allocations: 0 / 0.6046 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.4961, allocations: 201.6 kB / 0.6048 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4961, allocations: 0 / 0.6048 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.4962, allocations: 11.94 kB / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4962, allocations: 4 kB / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.4962, allocations: 0 / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4962, allocations: 0 / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4962, allocations: 3.953 kB / 0.6048 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.4964, allocations: 120.9 kB / 0.6049 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.4965, allocations: 104.9 kB / 0.605 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.4965, allocations: 4 kB / 0.605 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.174e-05/0.4966, allocations: 4 kB / 0.605 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.4966, allocations: 11.94 kB / 0.605 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.4966, allocations: 0 / 0.605 GB, free: 13.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001956/0.4968, allocations: 196.5 kB / 0.6052 GB, free: 12.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4968, allocations: 0 / 0.6052 GB, free: 12.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002302/0.4971, allocations: 28 kB / 0.6053 GB, free: 12.82 MB / 426.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) * Number of clocked states: 0 () * 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.001019/0.4981, allocations: 420.2 kB / 0.6057 GB, free: 12.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.4983, allocations: 43.98 kB / 0.6057 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4983, allocations: 0 / 0.6057 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.104e-05/0.4984, allocations: 27.92 kB / 0.6057 GB, free: 12.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.4986, allocations: 23.97 kB / 0.6058 GB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.4992, allocations: 301.3 kB / 0.606 GB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.4995, allocations: 0.7199 MB / 0.6067 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.176e-05/0.4996, allocations: 12.44 kB / 0.6068 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.4997, allocations: 27.36 kB / 0.6068 GB, free: 11.36 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4997, allocations: 0 / 0.6068 GB, free: 11.36 MB / 426.7 MB Notification: Performance of Templates: time 0.004535/0.5042, allocations: 1.601 MB / 0.6083 GB, free: 9.777 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches