Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009453/0.0009454, allocations: 179.8 kB / 18.09 MB, free: 3.625 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.328/1.328, allocations: 223.3 MB / 242.1 MB, free: 11.68 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.0007562/0.0007564, allocations: 104.5 kB / 293.3 MB, free: 10.76 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.3465/0.3465, allocations: 44.14 MB / 388.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 12 kB / 461.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3539, allocations: 61.88 MB / 0.5107 GB, free: 38.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1124/0.4663, allocations: 89.09 MB / 0.5977 GB, free: 5.969 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.4667, allocations: 83.92 kB / 0.5978 GB, free: 5.891 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01438/0.481, allocations: 5.314 MB / 0.603 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4811, allocations: 0 / 0.603 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.4811, allocations: 4 kB / 0.603 GB, free: 0.5703 MB / 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.0004792/0.4816, allocations: 407 kB / 0.6034 GB, free: 124 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4816, allocations: 8.031 kB / 0.6034 GB, free: 116 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.4817, allocations: 16.77 kB / 0.6034 GB, free: 100 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.482, allocations: 205 kB / 0.6036 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.482, allocations: 8.375 kB / 0.6036 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.482, allocations: 4.312 kB / 0.6036 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.4822, allocations: 50.23 kB / 0.6037 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.4822, allocations: 192 / 0.6037 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.4822, allocations: 3.938 kB / 0.6037 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.4822, allocations: 0 / 0.6037 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.738e-05/0.4823, allocations: 19.92 kB / 0.6037 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.4825, allocations: 177.7 kB / 0.6039 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.4827, allocations: 66.55 kB / 0.6039 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.4827, allocations: 20.86 kB / 0.6039 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.4828, allocations: 0 / 0.6039 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.4829, allocations: 71.36 kB / 0.604 GB, free: 15.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.4829, allocations: 4 kB / 0.604 GB, free: 15.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002706/0.4832, allocations: 101.5 kB / 0.6041 GB, free: 15.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.4832, allocations: 51.41 kB / 0.6042 GB, free: 15.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.4834, allocations: 177.7 kB / 0.6043 GB, free: 15.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.4834, allocations: 29.7 kB / 0.6044 GB, free: 14.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.4835, allocations: 96.14 kB / 0.6045 GB, free: 14.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.4835, allocations: 19.73 kB / 0.6045 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-06/0.4835, allocations: 0 / 0.6045 GB, free: 14.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4837, allocations: 318.8 kB / 0.6048 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.165e-05/0.4837, allocations: 19.98 kB / 0.6048 GB, free: 14.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/0.4838, allocations: 33.7 kB / 0.6048 GB, free: 14.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.639e-05/0.4839, allocations: 45.64 kB / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4839, allocations: 0 / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001537/0.4841, allocations: 77.59 kB / 0.6049 GB, free: 14.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4841, allocations: 9.656 kB / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4841, allocations: 4.094 kB / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.4841, allocations: 8.031 kB / 0.605 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.4842, allocations: 11.98 kB / 0.605 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.4842, allocations: 3.984 kB / 0.605 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.4843, allocations: 4 kB / 0.605 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.4843, allocations: 0 / 0.605 GB, free: 14.31 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 9.144e-05/0.4844, allocations: 131.9 kB / 0.6051 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.4844, allocations: 15.75 kB / 0.6051 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.4846, allocations: 93.92 kB / 0.6052 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4846, allocations: 4 kB / 0.6052 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.4846, allocations: 3.984 kB / 0.6052 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.4846, allocations: 0 / 0.6052 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.4848, allocations: 181.6 kB / 0.6054 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4848, allocations: 384 / 0.6054 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/0.4848, allocations: 7.984 kB / 0.6054 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.4848, allocations: 15.88 kB / 0.6054 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.4849, allocations: 3.938 kB / 0.6054 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4849, allocations: 0 / 0.6054 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4849, allocations: 0 / 0.6054 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.4851, allocations: 113 kB / 0.6055 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.4851, allocations: 93 kB / 0.6056 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.4852, allocations: 11.88 kB / 0.6056 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.558e-05/0.4852, allocations: 0 / 0.6056 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.4852, allocations: 4 kB / 0.6056 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.4853, allocations: 7.984 kB / 0.6056 GB, free: 13.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.4854, allocations: 131.2 kB / 0.6058 GB, free: 13.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4854, allocations: 4 kB / 0.6058 GB, free: 13.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002172/0.4856, allocations: 23.94 kB / 0.6058 GB, free: 13.38 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.0009004/0.4865, allocations: 416.7 kB / 0.6062 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.4867, allocations: 43.91 kB / 0.6062 GB, free: 13.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4867, allocations: 3.938 kB / 0.6062 GB, free: 13.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.361e-05/0.4868, allocations: 27.98 kB / 0.6063 GB, free: 13.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.4871, allocations: 23.7 kB / 0.6063 GB, free: 13.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.4875, allocations: 201 kB / 0.6065 GB, free: 12.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.4878, allocations: 0.7004 MB / 0.6072 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.111e-05/0.4878, allocations: 14.83 kB / 0.6072 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.4879, allocations: 15.44 kB / 0.6072 GB, free: 12.05 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4879, allocations: 0 / 0.6072 GB, free: 12.05 MB / 426.7 MB Notification: Performance of Templates: time 0.003822/0.4917, allocations: 1.458 MB / 0.6086 GB, free: 10.61 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches