Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002146/0.002146, allocations: 172.2 kB / 16.76 MB, free: 5.062 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.686/1.686, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.000814/0.000814, allocations: 86.31 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2942/0.2942, allocations: 43.56 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 16 kB / 432.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1015, allocations: 58.85 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3105/0.4121, allocations: 87.75 MB / 0.5657 GB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.4124, allocations: 81.8 kB / 0.5657 GB, free: 14.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01521/0.4277, allocations: 5.594 MB / 0.5712 GB, free: 8.621 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4277, allocations: 4 kB / 0.5712 GB, free: 8.617 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.4277, allocations: 0 / 0.5712 GB, free: 8.617 MB / 394.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.0006041/0.4283, allocations: 433.8 kB / 0.5716 GB, free: 8.145 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.4284, allocations: 8.031 kB / 0.5716 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.4285, allocations: 8.844 kB / 0.5716 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.4288, allocations: 236 kB / 0.5719 GB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.4288, allocations: 384 / 0.5719 GB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.4288, allocations: 8.375 kB / 0.5719 GB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.429, allocations: 54.23 kB / 0.5719 GB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.429, allocations: 6.375 kB / 0.5719 GB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.429, allocations: 3.938 kB / 0.5719 GB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.429, allocations: 0 / 0.5719 GB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.259e-05/0.4291, allocations: 19.98 kB / 0.5719 GB, free: 7.766 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.4295, allocations: 308.8 kB / 0.5722 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.4297, allocations: 62.61 kB / 0.5723 GB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.4298, allocations: 24.78 kB / 0.5723 GB, free: 7.316 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.4298, allocations: 3.984 kB / 0.5723 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.43, allocations: 71.39 kB / 0.5724 GB, free: 7.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.43, allocations: 0 / 0.5724 GB, free: 7.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005319/0.4305, allocations: 181.1 kB / 0.5726 GB, free: 7.047 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.4305, allocations: 51.41 kB / 0.5726 GB, free: 6.984 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.4308, allocations: 219.4 kB / 0.5728 GB, free: 6.758 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.4308, allocations: 29.69 kB / 0.5729 GB, free: 6.723 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.4308, allocations: 104.1 kB / 0.573 GB, free: 6.617 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.4309, allocations: 27.64 kB / 0.573 GB, free: 6.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.4309, allocations: 4 kB / 0.573 GB, free: 6.586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.431, allocations: 330.8 kB / 0.5733 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.663e-05/0.4311, allocations: 23.98 kB / 0.5733 GB, free: 6.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.4312, allocations: 37.64 kB / 0.5734 GB, free: 6.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.4313, allocations: 61.64 kB / 0.5734 GB, free: 6.121 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4313, allocations: 0 / 0.5734 GB, free: 6.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001861/0.4315, allocations: 109.4 kB / 0.5735 GB, free: 6.008 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4315, allocations: 9.562 kB / 0.5735 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4315, allocations: 4.859 kB / 0.5735 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.4315, allocations: 0 / 0.5735 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.4316, allocations: 16 kB / 0.5736 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4316, allocations: 0 / 0.5736 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.4317, allocations: 0 / 0.5736 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.4317, allocations: 11.98 kB / 0.5736 GB, free: 5.969 MB / 394.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.0001038/0.4318, allocations: 129.8 kB / 0.5737 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.4318, allocations: 15.81 kB / 0.5737 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.4321, allocations: 127 kB / 0.5738 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.4322, allocations: 0 / 0.5738 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4322, allocations: 384 / 0.5738 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4322, allocations: 4 kB / 0.5738 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.4327, allocations: 419.2 kB / 0.5742 GB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4327, allocations: 4.031 kB / 0.5742 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.4327, allocations: 15.94 kB / 0.5742 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.4328, allocations: 0 / 0.5742 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.4328, allocations: 3.938 kB / 0.5742 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.4328, allocations: 7.984 kB / 0.5743 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4328, allocations: 3.938 kB / 0.5743 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.433, allocations: 216.1 kB / 0.5745 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.524e-05/0.4331, allocations: 97.38 kB / 0.5746 GB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.4331, allocations: 4 kB / 0.5746 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.122e-05/0.4332, allocations: 4 kB / 0.5746 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.4333, allocations: 11.92 kB / 0.5746 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.4333, allocations: 7.938 kB / 0.5746 GB, free: 4.809 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.4334, allocations: 174.4 kB / 0.5748 GB, free: 4.641 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4334, allocations: 0 / 0.5748 GB, free: 4.641 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.4337, allocations: 31.94 kB / 0.5748 GB, free: 4.609 MB / 394.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.0009477/0.4347, allocations: 474.5 kB / 0.5752 GB, free: 4.238 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.4348, allocations: 63.91 kB / 0.5753 GB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4348, allocations: 0 / 0.5753 GB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.678e-05/0.4349, allocations: 39.98 kB / 0.5753 GB, free: 4.137 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.4353, allocations: 23.58 kB / 0.5754 GB, free: 4.117 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.4357, allocations: 288.8 kB / 0.5756 GB, free: 3.812 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.436, allocations: 0.7082 MB / 0.5763 GB, free: 3.078 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.592e-05/0.4361, allocations: 12.56 kB / 0.5763 GB, free: 3.066 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.4361, allocations: 23.42 kB / 0.5764 GB, free: 3.043 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4361, allocations: 0 / 0.5764 GB, free: 3.043 MB / 394.7 MB Notification: Performance of Templates: time 0.004361/0.4405, allocations: 1.766 MB / 0.5781 GB, free: 1.285 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches