Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00174/0.00174, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 98.86 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2439/0.2439, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004084, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1581, allocations: 58.86 MB / 490.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.42/0.5782, allocations: 87.71 MB / 0.5644 GB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.5784, allocations: 73.3 kB / 0.5645 GB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01483/0.5933, allocations: 5.509 MB / 0.5699 GB, free: 7.395 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5933, allocations: 0 / 0.5699 GB, free: 7.395 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.5934, allocations: 0 / 0.5699 GB, free: 7.395 MB / 378.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.0006548/0.594, allocations: 437.3 kB / 0.5703 GB, free: 6.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.5941, allocations: 8.031 kB / 0.5703 GB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.763e-05/0.5941, allocations: 7.906 kB / 0.5703 GB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.5945, allocations: 222 kB / 0.5705 GB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.5945, allocations: 0 / 0.5705 GB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.5946, allocations: 7.984 kB / 0.5705 GB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.5947, allocations: 52.55 kB / 0.5706 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.5948, allocations: 0 / 0.5706 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.5948, allocations: 3.5 kB / 0.5706 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.5948, allocations: 7.938 kB / 0.5706 GB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.461e-05/0.5949, allocations: 23.8 kB / 0.5706 GB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.5953, allocations: 297.4 kB / 0.5709 GB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.5955, allocations: 52.56 kB / 0.5709 GB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.5955, allocations: 7.922 kB / 0.5709 GB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.5957, allocations: 79.19 kB / 0.571 GB, free: 6.121 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.5957, allocations: 0 / 0.571 GB, free: 6.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005699/0.5963, allocations: 179.6 kB / 0.5712 GB, free: 5.973 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.5963, allocations: 55.36 kB / 0.5712 GB, free: 5.906 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.5966, allocations: 193.5 kB / 0.5714 GB, free: 5.734 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.5966, allocations: 25.7 kB / 0.5714 GB, free: 5.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.5967, allocations: 120.5 kB / 0.5716 GB, free: 5.598 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.5967, allocations: 26.56 kB / 0.5716 GB, free: 5.574 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.5967, allocations: 0 / 0.5716 GB, free: 5.574 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5969, allocations: 326.4 kB / 0.5719 GB, free: 5.254 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.819e-05/0.5969, allocations: 19.38 kB / 0.5719 GB, free: 5.242 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.614e-05/0.597, allocations: 32.14 kB / 0.572 GB, free: 5.211 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.331e-05/0.5971, allocations: 29.73 kB / 0.572 GB, free: 5.191 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5971, allocations: 4 kB / 0.572 GB, free: 5.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001927/0.5973, allocations: 95.16 kB / 0.5721 GB, free: 5.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.5973, allocations: 7.984 kB / 0.5721 GB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5973, allocations: 0 / 0.5721 GB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.5974, allocations: 4 kB / 0.5721 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.254e-05/0.5975, allocations: 15.94 kB / 0.5721 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.5975, allocations: 192 / 0.5721 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.5975, allocations: 11.45 kB / 0.5721 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.5976, allocations: 11.92 kB / 0.5721 GB, free: 5.059 MB / 378.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.0001238/0.5977, allocations: 127.4 kB / 0.5722 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.5977, allocations: 15.81 kB / 0.5723 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.598, allocations: 123.4 kB / 0.5724 GB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.598, allocations: 0 / 0.5724 GB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.598, allocations: 0 / 0.5724 GB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.598, allocations: 4 kB / 0.5724 GB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005469/0.5986, allocations: 424.4 kB / 0.5728 GB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5986, allocations: 0 / 0.5728 GB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.5986, allocations: 8.5 kB / 0.5728 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.5986, allocations: 0 / 0.5728 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.5987, allocations: 9.062 kB / 0.5728 GB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.5987, allocations: 3.953 kB / 0.5728 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5987, allocations: 0 / 0.5728 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.5989, allocations: 228.4 kB / 0.573 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.599, allocations: 90.39 kB / 0.5731 GB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.5991, allocations: 13.12 kB / 0.5731 GB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.5992, allocations: 1.5 kB / 0.5731 GB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.5992, allocations: 8.5 kB / 0.5731 GB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.5992, allocations: 8.922 kB / 0.5731 GB, free: 3.988 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001368/0.5994, allocations: 157.9 kB / 0.5733 GB, free: 3.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5994, allocations: 0 / 0.5733 GB, free: 3.859 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.5996, allocations: 35.44 kB / 0.5733 GB, free: 3.828 MB / 378.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.001061/0.6007, allocations: 489.7 kB / 0.5738 GB, free: 3.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.6009, allocations: 61.23 kB / 0.5739 GB, free: 3.367 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6009, allocations: 0 / 0.5739 GB, free: 3.367 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.525e-05/0.601, allocations: 33.17 kB / 0.5739 GB, free: 3.344 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.6013, allocations: 23.28 kB / 0.5739 GB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.6017, allocations: 281.1 kB / 0.5742 GB, free: 3.043 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.6021, allocations: 0.7082 MB / 0.5749 GB, free: 2.309 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.262e-05/0.6021, allocations: 16.55 kB / 0.5749 GB, free: 2.293 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.6022, allocations: 22.31 kB / 0.5749 GB, free: 2.273 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6022, allocations: 0 / 0.5749 GB, free: 2.273 MB / 378.7 MB Notification: Performance of Templates: time 0.004278/0.6065, allocations: 1.725 MB / 0.5766 GB, free: 0.5625 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches