Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002001/0.002001, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 82.48 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.334/0.334, allocations: 43.49 MB / 353.6 MB, free: 2.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.235e-05, allocations: 8.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3982, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.5592, allocations: 86.95 MB / 0.5508 GB, free: 12.36 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.5595, allocations: 71.97 kB / 0.5509 GB, free: 12.29 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02567/0.5852, allocations: 5.771 MB / 0.5565 GB, free: 6.516 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5853, allocations: 0 / 0.5565 GB, free: 6.516 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.5853, allocations: 0 / 0.5565 GB, free: 6.516 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006074/0.5859, allocations: 410.2 kB / 0.5569 GB, free: 6.07 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.586, allocations: 8.031 kB / 0.5569 GB, free: 6.062 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.586, allocations: 11.81 kB / 0.5569 GB, free: 6.051 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.5865, allocations: 227.5 kB / 0.5572 GB, free: 5.785 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.5865, allocations: 4 kB / 0.5572 GB, free: 5.781 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.5865, allocations: 0 / 0.5572 GB, free: 5.781 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001646/0.5867, allocations: 39.97 kB / 0.5572 GB, free: 5.742 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.5869, allocations: 65.66 kB / 0.5573 GB, free: 5.672 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.5869, allocations: 7.938 kB / 0.5573 GB, free: 5.664 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.5869, allocations: 0 / 0.5573 GB, free: 5.664 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.587, allocations: 0 / 0.5573 GB, free: 5.664 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.5875, allocations: 297.3 kB / 0.5576 GB, free: 5.336 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.5878, allocations: 82.61 kB / 0.5576 GB, free: 5.246 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.211e-05/0.5879, allocations: 28.84 kB / 0.5577 GB, free: 5.215 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.5879, allocations: 4.234 kB / 0.5577 GB, free: 5.211 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.5881, allocations: 87.36 kB / 0.5577 GB, free: 5.113 MB / 395.1 MB Notification: Performance of pre-optimization done (n=8): time 2.154e-06/0.5882, allocations: 0 / 0.5577 GB, free: 5.113 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007754/0.5889, allocations: 193.1 kB / 0.5579 GB, free: 4.918 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.589, allocations: 51.41 kB / 0.558 GB, free: 4.855 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.5893, allocations: 178.4 kB / 0.5581 GB, free: 4.668 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.5893, allocations: 29.7 kB / 0.5582 GB, free: 4.633 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.289e-05/0.5894, allocations: 166.8 kB / 0.5583 GB, free: 4.465 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.5895, allocations: 31.56 kB / 0.5584 GB, free: 4.434 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-06/0.5895, allocations: 3.938 kB / 0.5584 GB, free: 4.43 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.5897, allocations: 318.8 kB / 0.5587 GB, free: 4.109 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.018e-05/0.5898, allocations: 24 kB / 0.5587 GB, free: 4.086 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.5899, allocations: 45.64 kB / 0.5587 GB, free: 4.035 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.59, allocations: 31.98 kB / 0.5588 GB, free: 4.004 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.59, allocations: 4 kB / 0.5588 GB, free: 4 MB / 395.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002971/0.5903, allocations: 117.5 kB / 0.5589 GB, free: 3.879 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.5904, allocations: 4 kB / 0.5589 GB, free: 3.875 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5904, allocations: 0 / 0.5589 GB, free: 3.875 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.5904, allocations: 0 / 0.5589 GB, free: 3.875 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.5906, allocations: 23.98 kB / 0.5589 GB, free: 3.852 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.5906, allocations: 4.422 kB / 0.5589 GB, free: 3.848 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/0.5907, allocations: 3.938 kB / 0.5589 GB, free: 3.844 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.5907, allocations: 15.88 kB / 0.5589 GB, free: 3.828 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001083/0.5909, allocations: 109 kB / 0.559 GB, free: 3.715 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.5909, allocations: 7.906 kB / 0.559 GB, free: 3.707 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004354/0.5914, allocations: 156.8 kB / 0.5592 GB, free: 3.551 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5914, allocations: 0 / 0.5592 GB, free: 3.551 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5914, allocations: 0 / 0.5592 GB, free: 3.551 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5914, allocations: 7.984 kB / 0.5592 GB, free: 3.543 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007681/0.5922, allocations: 431.7 kB / 0.5596 GB, free: 3.074 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.5922, allocations: 4.031 kB / 0.5596 GB, free: 3.07 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.5924, allocations: 19.94 kB / 0.5596 GB, free: 3.051 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.5924, allocations: 3.984 kB / 0.5596 GB, free: 3.047 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.5924, allocations: 4 kB / 0.5596 GB, free: 3.043 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5924, allocations: 0 / 0.5596 GB, free: 3.043 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.5924, allocations: 0 / 0.5596 GB, free: 3.043 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.5928, allocations: 254.7 kB / 0.5599 GB, free: 2.77 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.812e-05/0.5929, allocations: 85.02 kB / 0.56 GB, free: 2.668 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.593, allocations: 7.984 kB / 0.56 GB, free: 2.66 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.5931, allocations: 0 / 0.56 GB, free: 2.66 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.5932, allocations: 19.94 kB / 0.56 GB, free: 2.641 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.5932, allocations: 4 kB / 0.56 GB, free: 2.637 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001797/0.5934, allocations: 136.9 kB / 0.5601 GB, free: 2.504 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5934, allocations: 0 / 0.5601 GB, free: 2.504 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003875/0.5938, allocations: 35.94 kB / 0.5602 GB, free: 2.469 MB / 395.1 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001201/0.5951, allocations: 411.7 kB / 0.5606 GB, free: 2.109 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.5953, allocations: 75.92 kB / 0.5606 GB, free: 2.035 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5954, allocations: 3.938 kB / 0.5606 GB, free: 2.031 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.5955, allocations: 43.94 kB / 0.5607 GB, free: 1.988 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.5959, allocations: 23.84 kB / 0.5607 GB, free: 1.965 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/0.5965, allocations: 216.2 kB / 0.5609 GB, free: 1.727 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.5969, allocations: 0.712 MB / 0.5616 GB, free: 0.9883 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.857e-05/0.597, allocations: 23.42 kB / 0.5616 GB, free: 0.9648 MB / 395.1 MB Notification: Performance of SimCode: time 8.82e-07/0.597, allocations: 0 / 0.5616 GB, free: 0.9648 MB / 395.1 MB Notification: Performance of Templates: time 0.006175/0.6032, allocations: 2.152 MB / 0.5637 GB, free: 14.82 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches