Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001469/0.001469, allocations: 185.3 kB / 16.4 MB, free: 5.746 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.918/1.918, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001133/0.001133, allocations: 85.97 kB / 270.9 MB, free: 8.367 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.5088/0.5088, allocations: 43.56 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004812, allocations: 16 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1287, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4608/0.5895, allocations: 87.71 MB / 0.5644 GB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.5899, allocations: 79.95 kB / 0.5645 GB, free: 14.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02485/0.6147, allocations: 5.453 MB / 0.5698 GB, free: 9.512 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6148, allocations: 8.109 kB / 0.5698 GB, free: 9.508 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.6148, allocations: 4 kB / 0.5698 GB, free: 9.504 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.0006913/0.6155, allocations: 430.3 kB / 0.5702 GB, free: 9.039 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.6156, allocations: 12.02 kB / 0.5702 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.155e-05/0.6156, allocations: 19.25 kB / 0.5702 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.616, allocations: 207.6 kB / 0.5704 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.6161, allocations: 0 / 0.5704 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.6161, allocations: 8 kB / 0.5705 GB, free: 8.758 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.6163, allocations: 58.72 kB / 0.5705 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.6163, allocations: 0 / 0.5705 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.6164, allocations: 0 / 0.5705 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.6164, allocations: 4.969 kB / 0.5705 GB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.6165, allocations: 19.98 kB / 0.5705 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.617, allocations: 300.8 kB / 0.5708 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.6173, allocations: 62.67 kB / 0.5709 GB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.6174, allocations: 3.938 kB / 0.5709 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.6176, allocations: 67.45 kB / 0.5709 GB, free: 8.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.6176, allocations: 0 / 0.5709 GB, free: 8.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007967/0.6184, allocations: 185 kB / 0.5711 GB, free: 7.992 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.6184, allocations: 59.36 kB / 0.5712 GB, free: 7.922 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.6187, allocations: 180.8 kB / 0.5714 GB, free: 7.738 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.6188, allocations: 29.7 kB / 0.5714 GB, free: 7.703 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.836e-05/0.6189, allocations: 162.5 kB / 0.5715 GB, free: 7.543 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.6189, allocations: 23.66 kB / 0.5716 GB, free: 7.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.619, allocations: 8 kB / 0.5716 GB, free: 7.512 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6191, allocations: 314.8 kB / 0.5719 GB, free: 7.195 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.581e-05/0.6192, allocations: 20 kB / 0.5719 GB, free: 7.176 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.6193, allocations: 37.7 kB / 0.5719 GB, free: 7.133 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.6194, allocations: 27.92 kB / 0.5719 GB, free: 7.105 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.6195, allocations: 0 / 0.5719 GB, free: 7.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002906/0.6198, allocations: 93.67 kB / 0.572 GB, free: 7.008 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.6198, allocations: 4 kB / 0.572 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.6198, allocations: 4.75 kB / 0.572 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.6198, allocations: 0 / 0.572 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.62, allocations: 19.92 kB / 0.5721 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.62, allocations: 4.031 kB / 0.5721 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.069e-05/0.6201, allocations: 7.953 kB / 0.5721 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.6202, allocations: 8 kB / 0.5721 GB, free: 6.961 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.0001372/0.6203, allocations: 121.8 kB / 0.5722 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.6203, allocations: 19.8 kB / 0.5722 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003939/0.6207, allocations: 123.1 kB / 0.5723 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.6208, allocations: 0 / 0.5723 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6208, allocations: 4 kB / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.6208, allocations: 3.984 kB / 0.5723 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007439/0.6216, allocations: 415.3 kB / 0.5727 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.6216, allocations: 0 / 0.5727 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.661e-05/0.6217, allocations: 11.98 kB / 0.5728 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.6217, allocations: 0 / 0.5728 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.6217, allocations: 8 kB / 0.5728 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.6217, allocations: 7.891 kB / 0.5728 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6217, allocations: 32 / 0.5728 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.6221, allocations: 221.9 kB / 0.573 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.989e-05/0.6222, allocations: 97 kB / 0.5731 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.6223, allocations: 3.953 kB / 0.5731 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.6224, allocations: 4.875 kB / 0.5731 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.6225, allocations: 19.92 kB / 0.5731 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.6225, allocations: 4 kB / 0.5731 GB, free: 5.797 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002051/0.6227, allocations: 152.9 kB / 0.5732 GB, free: 5.648 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6227, allocations: 0 / 0.5732 GB, free: 5.648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003787/0.6231, allocations: 35.92 kB / 0.5733 GB, free: 5.613 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.001369/0.6245, allocations: 478.6 kB / 0.5737 GB, free: 5.242 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.6248, allocations: 59.91 kB / 0.5738 GB, free: 5.184 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6248, allocations: 0 / 0.5738 GB, free: 5.184 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.625, allocations: 31.94 kB / 0.5738 GB, free: 5.152 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.6254, allocations: 27.97 kB / 0.5739 GB, free: 5.125 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/0.6261, allocations: 282.2 kB / 0.5741 GB, free: 4.824 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.6265, allocations: 0.716 MB / 0.5748 GB, free: 4.082 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.493e-05/0.6265, allocations: 15.44 kB / 0.5748 GB, free: 4.066 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6265, allocations: 0 / 0.5748 GB, free: 4.066 MB / 394.7 MB Notification: Performance of Templates: time 0.00558/0.6321, allocations: 1.97 MB / 0.5768 GB, free: 2.105 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches