Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.001521, allocations: 188.9 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.915/1.915, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001134/0.001134, allocations: 93.97 kB / 270.9 MB, free: 8.371 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.5129/0.5129, allocations: 43.55 MB / 362.7 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006728/0.0006731, allocations: 16 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1393, allocations: 58.86 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.452/0.5914, allocations: 87.68 MB / 0.5644 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.5917, allocations: 71.95 kB / 0.5644 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02344/0.6152, allocations: 5.253 MB / 0.5696 GB, free: 9.754 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6152, allocations: 4 kB / 0.5696 GB, free: 9.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.6153, allocations: 0 / 0.5696 GB, free: 9.75 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.0006433/0.6159, allocations: 418.2 kB / 0.57 GB, free: 9.301 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.616, allocations: 12.02 kB / 0.57 GB, free: 9.289 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.616, allocations: 11.34 kB / 0.57 GB, free: 9.281 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.6164, allocations: 216.2 kB / 0.5702 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.6165, allocations: 4 kB / 0.5702 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.6165, allocations: 4 kB / 0.5702 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.6167, allocations: 57.67 kB / 0.5703 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.6167, allocations: 0 / 0.5703 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.6167, allocations: 0 / 0.5703 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.6167, allocations: 1.031 kB / 0.5703 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.6169, allocations: 19.98 kB / 0.5703 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.6174, allocations: 296.7 kB / 0.5706 GB, free: 8.602 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.6176, allocations: 62.62 kB / 0.5706 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.6177, allocations: 0 / 0.5706 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.6179, allocations: 71.5 kB / 0.5707 GB, free: 8.449 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.6179, allocations: 0 / 0.5707 GB, free: 8.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007909/0.6187, allocations: 173.6 kB / 0.5708 GB, free: 8.273 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.6187, allocations: 59.36 kB / 0.5709 GB, free: 8.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.619, allocations: 161.3 kB / 0.5711 GB, free: 8.039 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.619, allocations: 29.7 kB / 0.5711 GB, free: 8.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.6191, allocations: 162.5 kB / 0.5712 GB, free: 7.844 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.6192, allocations: 19.8 kB / 0.5713 GB, free: 7.824 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-06/0.6192, allocations: 0 / 0.5713 GB, free: 7.824 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.6193, allocations: 322.8 kB / 0.5716 GB, free: 7.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.664e-05/0.6194, allocations: 19.98 kB / 0.5716 GB, free: 7.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.6196, allocations: 41.7 kB / 0.5716 GB, free: 7.434 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.6197, allocations: 20 kB / 0.5716 GB, free: 7.414 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6197, allocations: 0 / 0.5716 GB, free: 7.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002976/0.62, allocations: 101.6 kB / 0.5717 GB, free: 7.309 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.6201, allocations: 4 kB / 0.5717 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.6201, allocations: 4 kB / 0.5717 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.6201, allocations: 4 kB / 0.5718 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.6202, allocations: 12 kB / 0.5718 GB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.6203, allocations: 8.016 kB / 0.5718 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.247e-05/0.6204, allocations: 7.953 kB / 0.5718 GB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.6204, allocations: 0 / 0.5718 GB, free: 7.27 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.0001378/0.6205, allocations: 126 kB / 0.5719 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.6206, allocations: 11.91 kB / 0.5719 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.621, allocations: 118.3 kB / 0.572 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.621, allocations: 4 kB / 0.572 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.621, allocations: 3.938 kB / 0.572 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.621, allocations: 4 kB / 0.572 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000688/0.6217, allocations: 407.2 kB / 0.5724 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6218, allocations: 7.938 kB / 0.5724 GB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.6218, allocations: 12 kB / 0.5724 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.6219, allocations: 3.984 kB / 0.5724 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.6219, allocations: 0 / 0.5724 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.6219, allocations: 15.88 kB / 0.5725 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6219, allocations: 32 / 0.5725 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.6223, allocations: 218 kB / 0.5727 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.711e-05/0.6224, allocations: 93 kB / 0.5728 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.6224, allocations: 3.953 kB / 0.5728 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.6226, allocations: 4 kB / 0.5728 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.6226, allocations: 15.98 kB / 0.5728 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.6226, allocations: 4 kB / 0.5728 GB, free: 6.117 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001713/0.6228, allocations: 129.5 kB / 0.5729 GB, free: 5.992 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6228, allocations: 0 / 0.5729 GB, free: 5.992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004093/0.6233, allocations: 31.98 kB / 0.5729 GB, free: 5.961 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.001386/0.6247, allocations: 484.1 kB / 0.5734 GB, free: 5.586 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003326/0.625, allocations: 63.95 kB / 0.5735 GB, free: 5.523 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.625, allocations: 0 / 0.5735 GB, free: 5.523 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.6252, allocations: 31.94 kB / 0.5735 GB, free: 5.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.6256, allocations: 29.19 kB / 0.5735 GB, free: 5.465 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006561/0.6262, allocations: 270.3 kB / 0.5738 GB, free: 5.164 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.6266, allocations: 0.7043 MB / 0.5745 GB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/0.6266, allocations: 19.44 kB / 0.5745 GB, free: 4.414 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6267, allocations: 0 / 0.5745 GB, free: 4.414 MB / 394.7 MB Notification: Performance of Templates: time 0.005458/0.6321, allocations: 1.897 MB / 0.5763 GB, free: 2.527 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches