Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 177.5 kB / 16.77 MB, free: 5.047 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.772/1.772, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0008694/0.0008695, allocations: 90.3 kB / 271.3 MB, free: 8.246 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.4477/0.4477, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.00038, allocations: 12 kB / 432.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1293, allocations: 58.85 MB / 491.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3041/0.4335, allocations: 87.76 MB / 0.5657 GB, free: 14.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.4338, allocations: 75.95 kB / 0.5657 GB, free: 14.15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01481/0.4486, allocations: 5.701 MB / 0.5713 GB, free: 8.496 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4486, allocations: 0 / 0.5713 GB, free: 8.496 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.4486, allocations: 8 kB / 0.5713 GB, free: 8.488 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.0004535/0.4491, allocations: 433.8 kB / 0.5717 GB, free: 8.016 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.4491, allocations: 16.02 kB / 0.5718 GB, free: 8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.4492, allocations: 12.75 kB / 0.5718 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.4495, allocations: 245.2 kB / 0.572 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.4495, allocations: 2.25 kB / 0.572 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.4495, allocations: 8.359 kB / 0.572 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.4496, allocations: 58.23 kB / 0.5721 GB, free: 7.645 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4497, allocations: 4.094 kB / 0.5721 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4497, allocations: 7.922 kB / 0.5721 GB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.4497, allocations: 0 / 0.5721 GB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.668e-05/0.4498, allocations: 19.98 kB / 0.5721 GB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.4501, allocations: 312.8 kB / 0.5724 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.4503, allocations: 62.61 kB / 0.5725 GB, free: 7.188 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.4504, allocations: 24.8 kB / 0.5725 GB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.4504, allocations: 0 / 0.5725 GB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.4505, allocations: 76.19 kB / 0.5725 GB, free: 7.074 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.4505, allocations: 0 / 0.5725 GB, free: 7.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004931/0.451, allocations: 177.2 kB / 0.5727 GB, free: 6.895 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.4511, allocations: 59.34 kB / 0.5728 GB, free: 6.824 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.4513, allocations: 255.7 kB / 0.573 GB, free: 6.562 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.4514, allocations: 29.69 kB / 0.573 GB, free: 6.527 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.4514, allocations: 112 kB / 0.5732 GB, free: 6.414 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.4515, allocations: 23.73 kB / 0.5732 GB, free: 6.391 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.4515, allocations: 0 / 0.5732 GB, free: 6.391 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4516, allocations: 330.8 kB / 0.5735 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.19e-05/0.4516, allocations: 23.98 kB / 0.5735 GB, free: 6.035 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.99e-05/0.4517, allocations: 37.7 kB / 0.5735 GB, free: 5.992 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.4518, allocations: 65.64 kB / 0.5736 GB, free: 5.922 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4518, allocations: 0 / 0.5736 GB, free: 5.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000183/0.452, allocations: 105.5 kB / 0.5737 GB, free: 5.812 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.452, allocations: 4 kB / 0.5737 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.452, allocations: 384 / 0.5737 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4521, allocations: 4 kB / 0.5737 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.4522, allocations: 20.72 kB / 0.5737 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4522, allocations: 4 kB / 0.5737 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.4522, allocations: 11.98 kB / 0.5738 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.4522, allocations: 4 kB / 0.5738 GB, free: 5.766 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 9.163e-05/0.4523, allocations: 133.8 kB / 0.5739 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.4524, allocations: 15.81 kB / 0.5739 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.4526, allocations: 127.3 kB / 0.574 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4526, allocations: 4 kB / 0.574 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.4526, allocations: 0 / 0.574 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.4526, allocations: 0 / 0.574 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.4531, allocations: 447.1 kB / 0.5745 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4531, allocations: 0 / 0.5745 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.4532, allocations: 11.98 kB / 0.5745 GB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4532, allocations: 0 / 0.5745 GB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.4532, allocations: 8 kB / 0.5745 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4532, allocations: 4.031 kB / 0.5745 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4532, allocations: 7.875 kB / 0.5745 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.4534, allocations: 212.1 kB / 0.5747 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/0.4535, allocations: 93 kB / 0.5748 GB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.4536, allocations: 8 kB / 0.5748 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.4536, allocations: 3.984 kB / 0.5748 GB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.4537, allocations: 15.88 kB / 0.5748 GB, free: 4.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.4537, allocations: 4 kB / 0.5748 GB, free: 4.582 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001701/0.4539, allocations: 199.3 kB / 0.575 GB, free: 4.387 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4539, allocations: 0 / 0.575 GB, free: 4.387 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002596/0.4541, allocations: 43.84 kB / 0.575 GB, free: 4.344 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.0009253/0.4551, allocations: 488.8 kB / 0.5755 GB, free: 3.969 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.4552, allocations: 55.92 kB / 0.5756 GB, free: 3.914 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4552, allocations: 0 / 0.5756 GB, free: 3.914 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.036e-05/0.4553, allocations: 35.92 kB / 0.5756 GB, free: 3.879 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.4557, allocations: 29.39 kB / 0.5756 GB, free: 3.852 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.4561, allocations: 317.3 kB / 0.5759 GB, free: 3.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.4564, allocations: 0.7238 MB / 0.5766 GB, free: 2.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.561e-05/0.4565, allocations: 20.86 kB / 0.5766 GB, free: 2.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.4565, allocations: 19.42 kB / 0.5767 GB, free: 2.73 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4565, allocations: 0 / 0.5767 GB, free: 2.73 MB / 394.7 MB Notification: Performance of Templates: time 0.004181/0.4607, allocations: 1.824 MB / 0.5784 GB, free: 0.9141 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches