Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.923/1.923, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008241/0.000824, allocations: 98.83 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2408/0.2408, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003438, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1455, allocations: 58.86 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4503/0.5958, allocations: 87.75 MB / 0.5645 GB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.5961, allocations: 76.8 kB / 0.5645 GB, free: 11.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01515/0.6113, allocations: 5.856 MB / 0.5702 GB, free: 7.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6113, allocations: 0 / 0.5702 GB, free: 7.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.6114, allocations: 0 / 0.5702 GB, free: 7.27 MB / 378.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.0006597/0.612, allocations: 457.8 kB / 0.5707 GB, free: 6.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.6121, allocations: 12.03 kB / 0.5707 GB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.6122, allocations: 19.8 kB / 0.5707 GB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.6126, allocations: 256.3 kB / 0.571 GB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.6126, allocations: 4.734 kB / 0.571 GB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.6127, allocations: 4.562 kB / 0.571 GB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.6129, allocations: 97.7 kB / 0.5711 GB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.613, allocations: 7.922 kB / 0.5711 GB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.613, allocations: 5.25 kB / 0.5711 GB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.613, allocations: 0 / 0.5711 GB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.6131, allocations: 31.55 kB / 0.5711 GB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.6134, allocations: 228.4 kB / 0.5713 GB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.6137, allocations: 114.4 kB / 0.5714 GB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.6137, allocations: 0 / 0.5714 GB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.6139, allocations: 106.2 kB / 0.5715 GB, free: 5.859 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.6139, allocations: 0 / 0.5715 GB, free: 5.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000446/0.6144, allocations: 173.2 kB / 0.5717 GB, free: 5.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.643e-05/0.6145, allocations: 136.5 kB / 0.5718 GB, free: 5.555 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.6147, allocations: 207.3 kB / 0.572 GB, free: 5.375 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.6148, allocations: 25.7 kB / 0.572 GB, free: 5.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.6148, allocations: 114.2 kB / 0.5722 GB, free: 5.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.6149, allocations: 22.89 kB / 0.5722 GB, free: 5.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-06/0.6149, allocations: 2.938 kB / 0.5722 GB, free: 5.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.6151, allocations: 332.7 kB / 0.5725 GB, free: 4.902 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.447e-05/0.6151, allocations: 33.98 kB / 0.5725 GB, free: 4.879 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.975e-05/0.6153, allocations: 67.81 kB / 0.5726 GB, free: 4.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.629e-05/0.6153, allocations: 39.38 kB / 0.5726 GB, free: 4.781 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6154, allocations: 0 / 0.5726 GB, free: 4.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002451/0.6156, allocations: 139.4 kB / 0.5728 GB, free: 4.664 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.6156, allocations: 10.66 kB / 0.5728 GB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6156, allocations: 0 / 0.5728 GB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.6157, allocations: 0 / 0.5728 GB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.6158, allocations: 27.92 kB / 0.5728 GB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.6158, allocations: 3.938 kB / 0.5728 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.388e-05/0.6159, allocations: 23.64 kB / 0.5728 GB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.6159, allocations: 4 kB / 0.5728 GB, free: 4.602 MB / 378.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.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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.0001256/0.616, allocations: 133.3 kB / 0.573 GB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.6161, allocations: 20.42 kB / 0.573 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003261/0.6164, allocations: 160.5 kB / 0.5731 GB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.6164, allocations: 7.938 kB / 0.5731 GB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.6164, allocations: 3.984 kB / 0.5731 GB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.6165, allocations: 0 / 0.5731 GB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.6167, allocations: 228.7 kB / 0.5734 GB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.6167, allocations: 0 / 0.5734 GB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.6167, allocations: 12 kB / 0.5734 GB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.6168, allocations: 4 kB / 0.5734 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.6168, allocations: 3.938 kB / 0.5734 GB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.6168, allocations: 7.984 kB / 0.5734 GB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6168, allocations: 0 / 0.5734 GB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.6171, allocations: 185.4 kB / 0.5736 GB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.074e-05/0.6172, allocations: 112.2 kB / 0.5737 GB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.6172, allocations: 7.984 kB / 0.5737 GB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.6173, allocations: 4 kB / 0.5737 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.6174, allocations: 11.92 kB / 0.5737 GB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.6174, allocations: 4 kB / 0.5737 GB, free: 3.703 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001599/0.6176, allocations: 168.5 kB / 0.5739 GB, free: 3.566 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6176, allocations: 0 / 0.5739 GB, free: 3.566 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002822/0.6179, allocations: 47.73 kB / 0.5739 GB, free: 3.527 MB / 378.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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.001094/0.619, allocations: 466 kB / 0.5744 GB, free: 3.125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.6192, allocations: 91.14 kB / 0.5744 GB, free: 3.059 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6192, allocations: 0 / 0.5744 GB, free: 3.059 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.6194, allocations: 43.8 kB / 0.5745 GB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.6197, allocations: 51.66 kB / 0.5745 GB, free: 2.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.6203, allocations: 302 kB / 0.5748 GB, free: 2.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.6206, allocations: 0.7166 MB / 0.5755 GB, free: 1.938 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.6208, allocations: 38.02 kB / 0.5756 GB, free: 1.898 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.6208, allocations: 27.42 kB / 0.5756 GB, free: 1.871 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.6208, allocations: 0 / 0.5756 GB, free: 1.871 MB / 378.7 MB Notification: Performance of Templates: time 0.005541/0.6264, allocations: 2.54 MB / 0.5781 GB, free: 15.35 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches