Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002032/0.002031, 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 2.065/2.065, allocations: 205.3 MB / 214.1 MB, free: 14.09 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.001572/0.001572, allocations: 86.53 kB / 262.1 MB, free: 13.87 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.4542/0.4542, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.903e-05/2.886e-05, allocations: 8.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4709/0.471, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1711/0.6422, allocations: 87.07 MB / 0.5509 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.6425, allocations: 71.97 kB / 0.551 GB, free: 12.16 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03415/0.6767, allocations: 7.444 MB / 0.5583 GB, free: 4.707 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.6767, allocations: 0 / 0.5583 GB, free: 4.707 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.603e-05/0.6768, allocations: 4 kB / 0.5583 GB, free: 4.703 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008261/0.6776, allocations: 469.8 kB / 0.5587 GB, free: 4.199 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.6777, allocations: 12.03 kB / 0.5587 GB, free: 4.188 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.886e-05/0.6778, allocations: 23.72 kB / 0.5588 GB, free: 4.164 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006737/0.6785, allocations: 282.4 kB / 0.559 GB, free: 3.844 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.6785, allocations: 0 / 0.559 GB, free: 3.844 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.6785, allocations: 7.938 kB / 0.559 GB, free: 3.836 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001513/0.6787, allocations: 31.98 kB / 0.5591 GB, free: 3.805 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.679, allocations: 99.36 kB / 0.5592 GB, free: 3.695 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.679, allocations: 3.938 kB / 0.5592 GB, free: 3.691 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.679, allocations: 0 / 0.5592 GB, free: 3.691 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.679, allocations: 4 kB / 0.5592 GB, free: 3.688 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007882/0.6798, allocations: 433.4 kB / 0.5596 GB, free: 3.223 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.6801, allocations: 97.52 kB / 0.5597 GB, free: 3.109 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.874e-05/0.6802, allocations: 41.83 kB / 0.5597 GB, free: 3.062 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.6803, allocations: 3.938 kB / 0.5597 GB, free: 3.059 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002605/0.6805, allocations: 109 kB / 0.5598 GB, free: 2.934 MB / 395.1 MB Notification: Performance of pre-optimization done (n=12): time 2.825e-06/0.6805, allocations: 0 / 0.5598 GB, free: 2.934 MB / 395.1 MB Notification: Performance of matching and sorting (n=16): time 0.001074/0.6816, allocations: 300.1 kB / 0.5601 GB, free: 2.633 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.6817, allocations: 85.05 kB / 0.5602 GB, free: 2.531 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005785/0.6823, allocations: 310.2 kB / 0.5605 GB, free: 2.227 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.6824, allocations: 29.69 kB / 0.5605 GB, free: 2.191 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.6825, allocations: 186.8 kB / 0.5607 GB, free: 2.004 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.493e-05/0.6826, allocations: 51.3 kB / 0.5608 GB, free: 1.953 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-06/0.6826, allocations: 0 / 0.5608 GB, free: 1.953 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.6828, allocations: 314.8 kB / 0.5611 GB, free: 1.637 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.6829, allocations: 43.98 kB / 0.5611 GB, free: 1.594 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.683, allocations: 59.44 kB / 0.5612 GB, free: 1.523 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.6832, allocations: 40.12 kB / 0.5612 GB, free: 1.484 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6832, allocations: 0 / 0.5612 GB, free: 1.484 MB / 395.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004287/0.6836, allocations: 145.5 kB / 0.5613 GB, free: 1.336 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.6837, allocations: 12.06 kB / 0.5613 GB, free: 1.324 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.6837, allocations: 3.953 kB / 0.5613 GB, free: 1.32 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.6837, allocations: 0 / 0.5613 GB, free: 1.32 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.684, allocations: 39.91 kB / 0.5614 GB, free: 1.281 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.684, allocations: 0 / 0.5614 GB, free: 1.281 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.6842, allocations: 4 kB / 0.5614 GB, free: 1.277 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.6843, allocations: 12 kB / 0.5614 GB, free: 1.266 MB / 395.1 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 () * 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.0001288/0.6844, allocations: 112.9 kB / 0.5615 GB, free: 1.148 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.6845, allocations: 27.7 kB / 0.5615 GB, free: 1.121 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005767/0.6851, allocations: 195.5 kB / 0.5617 GB, free: 0.9219 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.6851, allocations: 3.953 kB / 0.5617 GB, free: 0.918 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.6851, allocations: 4 kB / 0.5617 GB, free: 0.9141 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.6851, allocations: 3.984 kB / 0.5617 GB, free: 0.9102 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.6863, allocations: 0.6091 MB / 0.5623 GB, free: 256 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.6863, allocations: 4 kB / 0.5623 GB, free: 252 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.6865, allocations: 24.27 kB / 0.5623 GB, free: 228 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.6865, allocations: 0 / 0.5623 GB, free: 228 kB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.6865, allocations: 11.98 kB / 0.5624 GB, free: 216 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.6865, allocations: 11.94 kB / 0.5624 GB, free: 204 kB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6865, allocations: 0 / 0.5624 GB, free: 204 kB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.6871, allocations: 394 kB / 0.5627 GB, free: 15.78 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.6873, allocations: 116.8 kB / 0.5629 GB, free: 15.64 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.918e-05/0.6874, allocations: 4 kB / 0.5629 GB, free: 15.64 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.6876, allocations: 4 kB / 0.5629 GB, free: 15.64 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/0.6877, allocations: 23.91 kB / 0.5629 GB, free: 15.61 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.6878, allocations: 11.95 kB / 0.5629 GB, free: 15.6 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0004201/0.6882, allocations: 250 kB / 0.5631 GB, free: 15.36 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6882, allocations: 0 / 0.5631 GB, free: 15.36 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005208/0.6887, allocations: 47.94 kB / 0.5632 GB, free: 15.31 MB / 411.1 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) * 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.00121/0.69, allocations: 402.4 kB / 0.5636 GB, free: 14.96 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003556/0.6903, allocations: 111.8 kB / 0.5637 GB, free: 14.85 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6904, allocations: 0 / 0.5637 GB, free: 14.85 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.6905, allocations: 60.11 kB / 0.5637 GB, free: 14.79 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000634/0.6912, allocations: 52.77 kB / 0.5638 GB, free: 14.73 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009968/0.6922, allocations: 378 kB / 0.5641 GB, free: 14.33 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.6927, allocations: 0.7555 MB / 0.5649 GB, free: 13.55 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.6928, allocations: 31.42 kB / 0.5649 GB, free: 13.52 MB / 411.1 MB Notification: Performance of SimCode: time 9.11e-07/0.6928, allocations: 0 / 0.5649 GB, free: 13.52 MB / 411.1 MB Notification: Performance of Templates: time 0.008715/0.7015, allocations: 3.2 MB / 0.568 GB, free: 10.33 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches