Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") 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.8 kB / 16.41 MB, free: 5.723 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.894/1.894, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001081/0.001081, allocations: 85.8 kB / 270.9 MB, free: 8.375 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.5351/0.5351, allocations: 43.56 MB / 362.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004724, allocations: 12 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1241, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4664/0.5907, allocations: 87.94 MB / 0.5646 GB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.591, allocations: 73.22 kB / 0.5647 GB, free: 14.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02714/0.6182, allocations: 5.969 MB / 0.5705 GB, free: 8.781 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6182, allocations: 0.6562 kB / 0.5705 GB, free: 8.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.6183, allocations: 4 kB / 0.5705 GB, free: 8.777 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.0006837/0.6189, allocations: 409.9 kB / 0.5709 GB, free: 8.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.619, allocations: 12.02 kB / 0.5709 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.7e-05/0.6191, allocations: 11.34 kB / 0.5709 GB, free: 8.316 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.6195, allocations: 206.8 kB / 0.5711 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.6195, allocations: 7.938 kB / 0.5711 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.6195, allocations: 3.984 kB / 0.5711 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.6198, allocations: 75.39 kB / 0.5712 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.6198, allocations: 0 / 0.5712 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.6198, allocations: 1.031 kB / 0.5712 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6198, allocations: 0 / 0.5712 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.62, allocations: 23.98 kB / 0.5712 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/0.6205, allocations: 292.8 kB / 0.5715 GB, free: 7.617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.6207, allocations: 58.67 kB / 0.5716 GB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.6208, allocations: 128 / 0.5716 GB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.621, allocations: 67.33 kB / 0.5716 GB, free: 7.473 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.621, allocations: 4 kB / 0.5716 GB, free: 7.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008337/0.6218, allocations: 177.3 kB / 0.5718 GB, free: 7.289 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.6219, allocations: 85.05 kB / 0.5719 GB, free: 7.188 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.6222, allocations: 142.3 kB / 0.572 GB, free: 7.043 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.6222, allocations: 33.7 kB / 0.5721 GB, free: 7.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.639e-05/0.6223, allocations: 154.6 kB / 0.5722 GB, free: 6.852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.6223, allocations: 23.7 kB / 0.5722 GB, free: 6.828 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/0.6223, allocations: 0 / 0.5722 GB, free: 6.828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6225, allocations: 318.8 kB / 0.5725 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.37e-05/0.6226, allocations: 19.98 kB / 0.5725 GB, free: 6.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.6227, allocations: 46.56 kB / 0.5726 GB, free: 6.434 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.6228, allocations: 20 kB / 0.5726 GB, free: 6.414 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.3e-05/0.6229, allocations: 0 / 0.5726 GB, free: 6.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003063/0.6232, allocations: 101.5 kB / 0.5727 GB, free: 6.309 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.6232, allocations: 4 kB / 0.5727 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.6233, allocations: 8.703 kB / 0.5727 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.6233, allocations: 0 / 0.5727 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.6234, allocations: 15.98 kB / 0.5727 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6235, allocations: 4.062 kB / 0.5727 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.775e-05/0.6236, allocations: 4 kB / 0.5727 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.6236, allocations: 7.938 kB / 0.5727 GB, free: 6.266 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.0001395/0.6237, allocations: 121.8 kB / 0.5729 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.6238, allocations: 11.91 kB / 0.5729 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.6242, allocations: 118.6 kB / 0.573 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.6242, allocations: 3.953 kB / 0.573 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.6242, allocations: 11.94 kB / 0.573 GB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.6242, allocations: 0 / 0.573 GB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006822/0.6249, allocations: 403.2 kB / 0.5734 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.625, allocations: 0 / 0.5734 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.733e-05/0.625, allocations: 11.95 kB / 0.5734 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-06/0.6251, allocations: 4 kB / 0.5734 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.6251, allocations: 8.359 kB / 0.5734 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.6251, allocations: 0 / 0.5734 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.6251, allocations: 16.02 kB / 0.5734 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.6255, allocations: 213.9 kB / 0.5736 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.07e-05/0.6256, allocations: 96.91 kB / 0.5737 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.6256, allocations: 4 kB / 0.5737 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.6258, allocations: 0 / 0.5737 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.6258, allocations: 19.97 kB / 0.5737 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.6259, allocations: 4 kB / 0.5738 GB, free: 5.121 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001524/0.626, allocations: 121.3 kB / 0.5739 GB, free: 5.004 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.626, allocations: 0 / 0.5739 GB, free: 5.004 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004257/0.6265, allocations: 36 kB / 0.5739 GB, free: 4.969 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.001515/0.628, allocations: 0.4999 MB / 0.5744 GB, free: 4.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003406/0.6284, allocations: 63.91 kB / 0.5745 GB, free: 4.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6284, allocations: 0 / 0.5745 GB, free: 4.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.6285, allocations: 36.11 kB / 0.5745 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.6289, allocations: 23.94 kB / 0.5745 GB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006234/0.6296, allocations: 245.9 kB / 0.5747 GB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.6299, allocations: 0.7082 MB / 0.5754 GB, free: 3.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.63, allocations: 19.42 kB / 0.5755 GB, free: 3.422 MB / 394.7 MB Notification: Performance of SimCode: time 1.343e-06/0.63, allocations: 0 / 0.5755 GB, free: 3.422 MB / 394.7 MB Notification: Performance of Templates: time 0.005906/0.6359, allocations: 2.06 MB / 0.5775 GB, free: 1.367 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches