Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002214/0.002219, 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.969/1.969, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001128/0.001127, allocations: 93.25 kB / 270.9 MB, free: 8.391 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.5576/0.5576, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004877, allocations: 23.98 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1244, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4603/0.5848, allocations: 87.71 MB / 0.5644 GB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.5851, allocations: 75.95 kB / 0.5645 GB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02456/0.6097, allocations: 5.427 MB / 0.5698 GB, free: 9.422 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6097, allocations: 4 kB / 0.5698 GB, free: 9.418 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.6098, allocations: 4 kB / 0.5698 GB, free: 9.414 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.0006625/0.6104, allocations: 430.4 kB / 0.5702 GB, free: 8.949 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.6105, allocations: 12.02 kB / 0.5702 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.6106, allocations: 19.25 kB / 0.5702 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.611, allocations: 207.6 kB / 0.5704 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.611, allocations: 0 / 0.5704 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.611, allocations: 4 kB / 0.5704 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.6112, allocations: 57.67 kB / 0.5705 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.6112, allocations: 0 / 0.5705 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.6113, allocations: 0 / 0.5705 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.6113, allocations: 7.875 kB / 0.5705 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.6114, allocations: 27.97 kB / 0.5705 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.6119, allocations: 293.8 kB / 0.5708 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.6122, allocations: 66.61 kB / 0.5708 GB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.6123, allocations: 3.938 kB / 0.5708 GB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.6125, allocations: 67.52 kB / 0.5709 GB, free: 8.086 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.175e-06/0.6125, allocations: 0 / 0.5709 GB, free: 8.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008321/0.6133, allocations: 181 kB / 0.5711 GB, free: 7.902 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.6134, allocations: 59.36 kB / 0.5711 GB, free: 7.832 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.6137, allocations: 188.8 kB / 0.5713 GB, free: 7.641 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.6137, allocations: 25.7 kB / 0.5713 GB, free: 7.609 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.6138, allocations: 162.6 kB / 0.5715 GB, free: 7.449 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.6139, allocations: 27.64 kB / 0.5715 GB, free: 7.422 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.477e-06/0.6139, allocations: 4 kB / 0.5715 GB, free: 7.418 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.614, allocations: 310.8 kB / 0.5718 GB, free: 7.105 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.585e-05/0.6141, allocations: 23.98 kB / 0.5719 GB, free: 7.082 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.6143, allocations: 37.7 kB / 0.5719 GB, free: 7.039 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.6144, allocations: 27.94 kB / 0.5719 GB, free: 7.012 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6144, allocations: 0 / 0.5719 GB, free: 7.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002902/0.6147, allocations: 93.66 kB / 0.572 GB, free: 6.914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.6147, allocations: 4 kB / 0.572 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.6147, allocations: 4.781 kB / 0.572 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.6148, allocations: 0 / 0.572 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.6149, allocations: 19.92 kB / 0.572 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.6149, allocations: 4.031 kB / 0.572 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.986e-05/0.615, allocations: 12.98 kB / 0.572 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.6151, allocations: 4 kB / 0.5721 GB, free: 6.867 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.0001341/0.6152, allocations: 121.8 kB / 0.5722 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.6153, allocations: 15.81 kB / 0.5722 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/0.6157, allocations: 123.1 kB / 0.5723 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.6157, allocations: 288 / 0.5723 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6157, allocations: 0 / 0.5723 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.6157, allocations: 4 kB / 0.5723 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007718/0.6165, allocations: 427.2 kB / 0.5727 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.6165, allocations: 3.984 kB / 0.5727 GB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.421e-05/0.6166, allocations: 8 kB / 0.5727 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.6166, allocations: 0 / 0.5727 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.6167, allocations: 4 kB / 0.5727 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.6167, allocations: 7.938 kB / 0.5727 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6167, allocations: 3.938 kB / 0.5727 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.6171, allocations: 221.9 kB / 0.5729 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.6172, allocations: 97 kB / 0.573 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.6172, allocations: 3.953 kB / 0.573 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.6174, allocations: 8 kB / 0.5731 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.6174, allocations: 11.92 kB / 0.5731 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.6175, allocations: 8 kB / 0.5731 GB, free: 5.699 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002169/0.6177, allocations: 152.9 kB / 0.5732 GB, free: 5.551 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6177, allocations: 0 / 0.5732 GB, free: 5.551 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003709/0.6181, allocations: 31.94 kB / 0.5732 GB, free: 5.52 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.001408/0.6195, allocations: 486.3 kB / 0.5737 GB, free: 5.145 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003287/0.6199, allocations: 59.92 kB / 0.5738 GB, free: 5.086 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6199, allocations: 0 / 0.5738 GB, free: 5.086 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.62, allocations: 35.86 kB / 0.5738 GB, free: 5.051 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.6205, allocations: 27.97 kB / 0.5738 GB, free: 5.023 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007164/0.6212, allocations: 282.2 kB / 0.5741 GB, free: 4.723 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.6215, allocations: 0.7121 MB / 0.5748 GB, free: 3.984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.6216, allocations: 15.44 kB / 0.5748 GB, free: 3.973 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6216, allocations: 0 / 0.5748 GB, free: 3.973 MB / 394.7 MB Notification: Performance of Templates: time 0.005651/0.6273, allocations: 1.965 MB / 0.5767 GB, free: 2.016 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches