Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,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.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,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.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001547, allocations: 185.8 kB / 16.4 MB, free: 5.695 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.948/1.948, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001114/0.001114, allocations: 90.91 kB / 270.8 MB, free: 8.379 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.5298/0.5298, allocations: 43.55 MB / 362.7 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005122/0.0005123, allocations: 12 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1223, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.46/0.5824, allocations: 87.57 MB / 0.5642 GB, free: 15.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.5827, allocations: 75.22 kB / 0.5643 GB, free: 14.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02802/0.6108, allocations: 6.474 MB / 0.5706 GB, free: 8.512 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.6108, allocations: 0 / 0.5706 GB, free: 8.512 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.14e-05/0.6109, allocations: 8 kB / 0.5706 GB, free: 8.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001403/0.6123, allocations: 0.7065 MB / 0.5713 GB, free: 7.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.6124, allocations: 12.02 kB / 0.5713 GB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.6126, allocations: 54.78 kB / 0.5714 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.6138, allocations: 479.1 kB / 0.5719 GB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.6139, allocations: 4 kB / 0.5719 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.6139, allocations: 0 / 0.5719 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.6142, allocations: 91.36 kB / 0.5719 GB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.6142, allocations: 0 / 0.5719 GB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.6142, allocations: 4 kB / 0.5719 GB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.6143, allocations: 4.969 kB / 0.572 GB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.6145, allocations: 35.97 kB / 0.572 GB, free: 7.031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006331/0.6151, allocations: 374.2 kB / 0.5723 GB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.6155, allocations: 109.3 kB / 0.5724 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.6156, allocations: 4.094 kB / 0.5725 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003192/0.6159, allocations: 113 kB / 0.5726 GB, free: 6.355 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.484e-06/0.6159, allocations: 4 kB / 0.5726 GB, free: 6.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000883/0.6168, allocations: 197 kB / 0.5728 GB, free: 6.152 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.6169, allocations: 85.11 kB / 0.5728 GB, free: 6.051 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.6191, allocations: 0.9121 MB / 0.5737 GB, free: 5.133 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.6192, allocations: 29.7 kB / 0.5738 GB, free: 5.098 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.6195, allocations: 242.6 kB / 0.574 GB, free: 4.859 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.512e-05/0.6195, allocations: 27.56 kB / 0.574 GB, free: 4.832 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.6196, allocations: 4 kB / 0.574 GB, free: 4.828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.6197, allocations: 326.8 kB / 0.5743 GB, free: 4.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.6199, allocations: 31.92 kB / 0.5744 GB, free: 4.469 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.6201, allocations: 62.03 kB / 0.5744 GB, free: 4.398 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.6203, allocations: 28.5 kB / 0.5744 GB, free: 4.371 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6203, allocations: 4 kB / 0.5744 GB, free: 4.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004674/0.6208, allocations: 133.5 kB / 0.5746 GB, free: 4.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.6209, allocations: 8 kB / 0.5746 GB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6209, allocations: 0 / 0.5746 GB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.6209, allocations: 0 / 0.5746 GB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.6211, allocations: 23.98 kB / 0.5746 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.6211, allocations: 0 / 0.5746 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.6214, allocations: 23.77 kB / 0.5746 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.6215, allocations: 16.05 kB / 0.5746 GB, free: 4.16 MB / 394.7 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 () * Number of clocked 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.0004078/0.6219, allocations: 221.5 kB / 0.5749 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.6221, allocations: 55.42 kB / 0.5749 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006744/0.6227, allocations: 197.4 kB / 0.5751 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.6228, allocations: 0 / 0.5751 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.6228, allocations: 4 kB / 0.5751 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.6228, allocations: 0 / 0.5751 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000588/0.6234, allocations: 381.2 kB / 0.5755 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.6234, allocations: 7.984 kB / 0.5755 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.477e-05/0.6235, allocations: 12 kB / 0.5755 GB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.6235, allocations: 4 kB / 0.5755 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.6236, allocations: 0 / 0.5755 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.6236, allocations: 0 / 0.5755 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6236, allocations: 4 kB / 0.5755 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006983/0.6243, allocations: 227.8 kB / 0.5757 GB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004015/0.6247, allocations: 196.3 kB / 0.5759 GB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.6248, allocations: 11.94 kB / 0.5759 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.625, allocations: 11.98 kB / 0.5759 GB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.6251, allocations: 8 kB / 0.5759 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.6252, allocations: 7.984 kB / 0.5759 GB, free: 2.727 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001545/0.6267, allocations: 0.7253 MB / 0.5766 GB, free: 2.004 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6267, allocations: 0 / 0.5766 GB, free: 2.004 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00056/0.6273, allocations: 87.98 kB / 0.5767 GB, free: 1.918 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: 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) * Number of clocked states: 0 () * 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.001278/0.6286, allocations: 418.9 kB / 0.5771 GB, free: 1.598 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004685/0.6291, allocations: 87.89 kB / 0.5772 GB, free: 1.512 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.6291, allocations: 0 / 0.5772 GB, free: 1.512 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.6293, allocations: 48.17 kB / 0.5773 GB, free: 1.465 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006714/0.63, allocations: 67.16 kB / 0.5773 GB, free: 1.398 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.6324, allocations: 1.022 MB / 0.5783 GB, free: 356 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006001/0.6331, allocations: 0.8507 MB / 0.5791 GB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.6333, allocations: 39.44 kB / 0.5792 GB, free: 15.44 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6333, allocations: 0 / 0.5792 GB, free: 15.44 MB / 410.7 MB Notification: Performance of Templates: time 0.01484/0.6482, allocations: 5.492 MB / 0.5845 GB, free: 9.949 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches