Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 180.1 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.969/1.969, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001113/0.001113, allocations: 84.88 kB / 262.1 MB, free: 13.88 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.2934/0.2934, allocations: 43.48 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.512e-05, allocations: 8 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4033, allocations: 58.84 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.5672, allocations: 86.83 MB / 0.5507 GB, free: 12.45 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.5675, allocations: 71.97 kB / 0.5508 GB, free: 12.38 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02787/0.5954, allocations: 6.423 MB / 0.557 GB, free: 5.965 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5955, allocations: 0 / 0.557 GB, free: 5.965 MB / 395.1 MB Notification: Performance of Transformations before backend: time 5.111e-05/0.5955, allocations: 16 kB / 0.5571 GB, free: 5.949 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.001041/0.5966, allocations: 0.5908 MB / 0.5576 GB, free: 5.312 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5966, allocations: 12.03 kB / 0.5576 GB, free: 5.301 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.5968, allocations: 43.44 kB / 0.5577 GB, free: 5.258 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.5981, allocations: 499 kB / 0.5582 GB, free: 4.73 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.5981, allocations: 0 / 0.5582 GB, free: 4.73 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.5982, allocations: 7.938 kB / 0.5582 GB, free: 4.723 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001469/0.5983, allocations: 31.98 kB / 0.5582 GB, free: 4.691 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.5985, allocations: 79.31 kB / 0.5583 GB, free: 4.602 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5986, allocations: 4 kB / 0.5583 GB, free: 4.598 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.5986, allocations: 0 / 0.5583 GB, free: 4.598 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.5986, allocations: 3.984 kB / 0.5583 GB, free: 4.594 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.5992, allocations: 362.8 kB / 0.5586 GB, free: 4.199 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.5995, allocations: 97.28 kB / 0.5587 GB, free: 4.086 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.203e-05/0.5996, allocations: 33.72 kB / 0.5588 GB, free: 4.047 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.5996, allocations: 0 / 0.5588 GB, free: 4.047 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.5999, allocations: 105.2 kB / 0.5589 GB, free: 3.926 MB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 1.903e-06/0.5999, allocations: 0 / 0.5589 GB, free: 3.926 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005259/0.6005, allocations: 164.9 kB / 0.559 GB, free: 3.758 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/0.6006, allocations: 81.11 kB / 0.5591 GB, free: 3.66 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/0.6026, allocations: 0.9005 MB / 0.56 GB, free: 2.754 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.6027, allocations: 29.7 kB / 0.56 GB, free: 2.719 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.6029, allocations: 242.6 kB / 0.5602 GB, free: 2.48 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.189e-05/0.603, allocations: 23.72 kB / 0.5603 GB, free: 2.457 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-06/0.603, allocations: 4 kB / 0.5603 GB, free: 2.453 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.6032, allocations: 322.8 kB / 0.5606 GB, free: 2.129 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.353e-05/0.6032, allocations: 24 kB / 0.5606 GB, free: 2.105 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.6034, allocations: 55.36 kB / 0.5606 GB, free: 2.039 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.6035, allocations: 23.98 kB / 0.5607 GB, free: 2.016 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6035, allocations: 4 kB / 0.5607 GB, free: 2.012 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003208/0.6038, allocations: 113.5 kB / 0.5608 GB, free: 1.895 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.6039, allocations: 4 kB / 0.5608 GB, free: 1.891 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.904e-06/0.6039, allocations: 0 / 0.5608 GB, free: 1.891 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.6039, allocations: 4 kB / 0.5608 GB, free: 1.887 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.6041, allocations: 19.98 kB / 0.5608 GB, free: 1.867 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.6042, allocations: 4 kB / 0.5608 GB, free: 1.863 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.6044, allocations: 8.188 kB / 0.5608 GB, free: 1.855 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.6044, allocations: 15.92 kB / 0.5608 GB, free: 1.84 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001356/0.6046, allocations: 120.9 kB / 0.5609 GB, free: 1.715 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.6047, allocations: 55.34 kB / 0.561 GB, free: 1.66 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000524/0.6053, allocations: 189.9 kB / 0.5612 GB, free: 1.465 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.6053, allocations: 0 / 0.5612 GB, free: 1.465 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.6053, allocations: 7.938 kB / 0.5612 GB, free: 1.457 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.6053, allocations: 0 / 0.5612 GB, free: 1.457 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.6058, allocations: 357.8 kB / 0.5615 GB, free: 1.07 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.6059, allocations: 0 / 0.5615 GB, free: 1.07 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.055e-05/0.606, allocations: 15.94 kB / 0.5615 GB, free: 1.055 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.606, allocations: 8 kB / 0.5616 GB, free: 1.047 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.606, allocations: 0 / 0.5616 GB, free: 1.047 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.606, allocations: 7.938 kB / 0.5616 GB, free: 1.039 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.606, allocations: 0 / 0.5616 GB, free: 1.039 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.6065, allocations: 218.9 kB / 0.5618 GB, free: 0.7969 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/0.607, allocations: 188.4 kB / 0.5619 GB, free: 0.5938 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.659e-05/0.6071, allocations: 11.98 kB / 0.562 GB, free: 0.582 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.6073, allocations: 8 kB / 0.562 GB, free: 0.5742 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.6073, allocations: 11.98 kB / 0.562 GB, free: 0.5625 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.6074, allocations: 4 kB / 0.562 GB, free: 0.5586 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001387/0.6087, allocations: 0.7175 MB / 0.5627 GB, free: 15.84 MB / 411.1 MB Notification: Performance of sort global known variables: time 2.835e-06/0.6088, allocations: 0 / 0.5627 GB, free: 15.84 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005167/0.6093, allocations: 75.94 kB / 0.5628 GB, free: 15.77 MB / 411.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001085/0.6104, allocations: 359.4 kB / 0.5631 GB, free: 15.46 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.000269/0.6107, allocations: 79.86 kB / 0.5632 GB, free: 15.38 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6107, allocations: 0 / 0.5632 GB, free: 15.38 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.6108, allocations: 39.98 kB / 0.5632 GB, free: 15.34 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/0.6115, allocations: 69.31 kB / 0.5633 GB, free: 15.28 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.6134, allocations: 0.8152 MB / 0.5641 GB, free: 14.42 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/0.6141, allocations: 0.8585 MB / 0.5649 GB, free: 13.54 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.6143, allocations: 39.44 kB / 0.565 GB, free: 13.5 MB / 411.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6143, allocations: 0 / 0.565 GB, free: 13.5 MB / 411.1 MB Notification: Performance of Templates: time 0.01482/0.6291, allocations: 5.578 MB / 0.5704 GB, free: 7.922 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches