Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, 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.683/1.683, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001041/0.001041, allocations: 78.88 kB / 270.2 MB, free: 13.37 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.2251/0.2251, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003788, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1398, allocations: 58.86 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4507/0.5906, allocations: 87.82 MB / 0.5645 GB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.5908, allocations: 75.19 kB / 0.5646 GB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02041/0.6113, allocations: 7.844 MB / 0.5723 GB, free: 5.211 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6113, allocations: 0 / 0.5723 GB, free: 5.211 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.266e-05/0.6113, allocations: 4 kB / 0.5723 GB, free: 5.207 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008455/0.6122, allocations: 0.5506 MB / 0.5728 GB, free: 4.625 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.6122, allocations: 8.562 kB / 0.5728 GB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.6123, allocations: 31.67 kB / 0.5728 GB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.6128, allocations: 308 kB / 0.5731 GB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.6129, allocations: 1.312 kB / 0.5731 GB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.6129, allocations: 9.859 kB / 0.5731 GB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.6131, allocations: 99.48 kB / 0.5732 GB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.6132, allocations: 0 / 0.5732 GB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.6132, allocations: 7.75 kB / 0.5732 GB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.6132, allocations: 4 kB / 0.5733 GB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.6133, allocations: 51.67 kB / 0.5733 GB, free: 4.105 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.6139, allocations: 480.5 kB / 0.5738 GB, free: 3.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.6142, allocations: 124.5 kB / 0.5739 GB, free: 3.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.6142, allocations: 0 / 0.5739 GB, free: 3.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.6145, allocations: 114 kB / 0.574 GB, free: 3.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.6145, allocations: 0 / 0.574 GB, free: 3.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009226/0.6154, allocations: 389.1 kB / 0.5744 GB, free: 3.082 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.554e-05/0.6155, allocations: 88.8 kB / 0.5744 GB, free: 2.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005377/0.6161, allocations: 432.7 kB / 0.5749 GB, free: 2.633 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.6161, allocations: 33.56 kB / 0.5749 GB, free: 2.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.6162, allocations: 162.1 kB / 0.575 GB, free: 2.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.6163, allocations: 51.16 kB / 0.5751 GB, free: 2.441 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.6163, allocations: 0 / 0.5751 GB, free: 2.441 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.6165, allocations: 350.4 kB / 0.5754 GB, free: 2.105 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.6166, allocations: 43.53 kB / 0.5755 GB, free: 2.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.6168, allocations: 71.66 kB / 0.5755 GB, free: 2.012 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.6169, allocations: 47.17 kB / 0.5756 GB, free: 1.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6169, allocations: 7.953 kB / 0.5756 GB, free: 1.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003396/0.6172, allocations: 191.8 kB / 0.5758 GB, free: 1.816 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.6173, allocations: 11.44 kB / 0.5758 GB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6173, allocations: 192 / 0.5758 GB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.6173, allocations: 4 kB / 0.5758 GB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.6174, allocations: 39.73 kB / 0.5758 GB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.6175, allocations: 4 kB / 0.5758 GB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.439e-05/0.6176, allocations: 7.984 kB / 0.5758 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.6176, allocations: 7.875 kB / 0.5758 GB, free: 1.754 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001747/0.6178, allocations: 177 kB / 0.576 GB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.6178, allocations: 35.58 kB / 0.576 GB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.6182, allocations: 222.5 kB / 0.5763 GB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.6183, allocations: 4.094 kB / 0.5763 GB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.6183, allocations: 3.938 kB / 0.5763 GB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.6183, allocations: 0 / 0.5763 GB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009075/0.6192, allocations: 0.7017 MB / 0.5769 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.6192, allocations: 4 kB / 0.577 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.021e-05/0.6193, allocations: 19.98 kB / 0.577 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.6193, allocations: 4 kB / 0.577 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.6193, allocations: 3.938 kB / 0.577 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.6193, allocations: 4 kB / 0.577 GB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.6193, allocations: 3.938 kB / 0.577 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.6198, allocations: 419.3 kB / 0.5774 GB, free: 260 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.6199, allocations: 124.5 kB / 0.5775 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.522e-05/0.62, allocations: 11.89 kB / 0.5775 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.6201, allocations: 15.8 kB / 0.5775 GB, free: 100 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.6202, allocations: 7.984 kB / 0.5775 GB, free: 92 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.6202, allocations: 11.88 kB / 0.5776 GB, free: 84 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003698/0.6206, allocations: 351.9 kB / 0.5779 GB, free: 15.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.854e-06/0.6206, allocations: 0 / 0.5779 GB, free: 15.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003677/0.621, allocations: 66.5 kB / 0.578 GB, free: 15.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001071/0.6221, allocations: 482.8 kB / 0.5784 GB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002897/0.6224, allocations: 123.4 kB / 0.5785 GB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6224, allocations: 4.062 kB / 0.5785 GB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.6225, allocations: 70.47 kB / 0.5786 GB, free: 15.19 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.6229, allocations: 51.12 kB / 0.5786 GB, free: 15.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009239/0.6239, allocations: 0.6027 MB / 0.5792 GB, free: 14.56 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.6243, allocations: 0.7862 MB / 0.58 GB, free: 13.76 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.6244, allocations: 41.84 kB / 0.58 GB, free: 13.72 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.6245, allocations: 30.73 kB / 0.5801 GB, free: 13.7 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6245, allocations: 3.938 kB / 0.5801 GB, free: 13.69 MB / 394.7 MB Notification: Performance of Templates: time 0.006367/0.6308, allocations: 3.015 MB / 0.583 GB, free: 10.7 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches