Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.926/1.926, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001106/0.001106, allocations: 92.42 kB / 270.9 MB, free: 8.395 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.5067/0.5067, allocations: 43.55 MB / 362.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005046/0.0005046, allocations: 16 kB / 431.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.132, allocations: 58.86 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4661/0.5982, allocations: 87.67 MB / 0.5644 GB, free: 14.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003857/0.5986, allocations: 71.97 kB / 0.5644 GB, free: 14.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02489/0.6235, allocations: 5.283 MB / 0.5696 GB, free: 9.594 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.6236, allocations: 0 / 0.5696 GB, free: 9.594 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.6236, allocations: 1.766 kB / 0.5696 GB, free: 9.594 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.0006607/0.6243, allocations: 418.4 kB / 0.57 GB, free: 9.141 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.6243, allocations: 12.02 kB / 0.57 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.6244, allocations: 11.34 kB / 0.57 GB, free: 9.121 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.6248, allocations: 225.8 kB / 0.5702 GB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.6248, allocations: 4 kB / 0.5702 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.6249, allocations: 0 / 0.5702 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.6251, allocations: 54.36 kB / 0.5703 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.6251, allocations: 0 / 0.5703 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.6251, allocations: 4 kB / 0.5703 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.6251, allocations: 1.031 kB / 0.5703 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.6253, allocations: 19.98 kB / 0.5703 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.6258, allocations: 308.8 kB / 0.5706 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.6261, allocations: 65.42 kB / 0.5707 GB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.6261, allocations: 0 / 0.5707 GB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.6264, allocations: 67.5 kB / 0.5707 GB, free: 8.277 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.6264, allocations: 7.938 kB / 0.5707 GB, free: 8.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008208/0.6272, allocations: 169.3 kB / 0.5709 GB, free: 8.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.6273, allocations: 55.36 kB / 0.5709 GB, free: 8.031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.6276, allocations: 173.3 kB / 0.5711 GB, free: 7.855 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.6276, allocations: 25.7 kB / 0.5711 GB, free: 7.824 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.6277, allocations: 162.6 kB / 0.5713 GB, free: 7.664 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/0.6277, allocations: 27.64 kB / 0.5713 GB, free: 7.637 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/0.6278, allocations: 4 kB / 0.5713 GB, free: 7.633 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.6279, allocations: 314.8 kB / 0.5716 GB, free: 7.316 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.628, allocations: 23.98 kB / 0.5716 GB, free: 7.293 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.6281, allocations: 41.69 kB / 0.5717 GB, free: 7.246 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.6282, allocations: 20 kB / 0.5717 GB, free: 7.227 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6282, allocations: 0 / 0.5717 GB, free: 7.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003167/0.6286, allocations: 102.3 kB / 0.5718 GB, free: 7.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.6286, allocations: 4 kB / 0.5718 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.6286, allocations: 4.031 kB / 0.5718 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.6286, allocations: 0 / 0.5718 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.6288, allocations: 19.98 kB / 0.5718 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.6288, allocations: 0 / 0.5718 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.833e-05/0.6289, allocations: 7.953 kB / 0.5718 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.629, allocations: 0 / 0.5718 GB, free: 7.086 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.0001513/0.6291, allocations: 130.7 kB / 0.572 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.6292, allocations: 11.91 kB / 0.572 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004104/0.6296, allocations: 123.1 kB / 0.5721 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.6296, allocations: 0 / 0.5721 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6296, allocations: 288 / 0.5721 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.6296, allocations: 0 / 0.5721 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007471/0.6304, allocations: 423.1 kB / 0.5725 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6304, allocations: 3.938 kB / 0.5725 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.882e-05/0.6305, allocations: 12 kB / 0.5725 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.6305, allocations: 4.031 kB / 0.5725 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.6306, allocations: 0 / 0.5725 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.6306, allocations: 7.953 kB / 0.5725 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6306, allocations: 4.312 kB / 0.5725 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.631, allocations: 221.9 kB / 0.5727 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.419e-05/0.6311, allocations: 85.02 kB / 0.5728 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.6311, allocations: 15.95 kB / 0.5728 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.6313, allocations: 7.984 kB / 0.5728 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.6313, allocations: 4 kB / 0.5728 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.6314, allocations: 7.984 kB / 0.5728 GB, free: 5.926 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002022/0.6316, allocations: 140.8 kB / 0.573 GB, free: 5.789 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6316, allocations: 0 / 0.573 GB, free: 5.789 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003994/0.632, allocations: 39.92 kB / 0.573 GB, free: 5.75 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.001359/0.6334, allocations: 482.3 kB / 0.5735 GB, free: 5.379 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003524/0.6338, allocations: 55.97 kB / 0.5735 GB, free: 5.324 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6338, allocations: 3.938 kB / 0.5735 GB, free: 5.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.6339, allocations: 32.11 kB / 0.5736 GB, free: 5.289 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.6344, allocations: 27.92 kB / 0.5736 GB, free: 5.262 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/0.6351, allocations: 282.5 kB / 0.5739 GB, free: 4.949 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.6355, allocations: 0.7082 MB / 0.5746 GB, free: 4.215 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/0.6356, allocations: 19.44 kB / 0.5746 GB, free: 4.199 MB / 394.7 MB Notification: Performance of SimCode: time 1.163e-06/0.6356, allocations: 0 / 0.5746 GB, free: 4.199 MB / 394.7 MB Notification: Performance of Templates: time 0.005814/0.6414, allocations: 1.919 MB / 0.5764 GB, free: 2.285 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches