Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002297/0.002297, allocations: 185.4 kB / 16.4 MB, free: 5.746 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.939/1.939, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001094/0.001094, allocations: 93.2 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.5052/0.5052, allocations: 43.56 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006419/0.000642, allocations: 15.98 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1265, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4717/0.5983, allocations: 87.72 MB / 0.5644 GB, free: 15.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.5986, allocations: 75.97 kB / 0.5645 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02557/0.6242, allocations: 5.646 MB / 0.57 GB, free: 9.328 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6243, allocations: 4 kB / 0.57 GB, free: 9.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.077e-05/0.6243, allocations: 4 kB / 0.57 GB, free: 9.32 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.0007415/0.625, allocations: 434.2 kB / 0.5704 GB, free: 8.852 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.6251, allocations: 8.031 kB / 0.5704 GB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.6252, allocations: 19.25 kB / 0.5704 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.6256, allocations: 227.6 kB / 0.5706 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.6257, allocations: 0 / 0.5706 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.6257, allocations: 8 kB / 0.5707 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.6259, allocations: 53.66 kB / 0.5707 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.626, allocations: 0 / 0.5707 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.626, allocations: 4 kB / 0.5707 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.626, allocations: 8.969 kB / 0.5707 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.6261, allocations: 16.86 kB / 0.5707 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.6267, allocations: 316.7 kB / 0.571 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.627, allocations: 58.67 kB / 0.5711 GB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.627, allocations: 4 kB / 0.5711 GB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.6272, allocations: 71.45 kB / 0.5712 GB, free: 7.957 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.564e-06/0.6272, allocations: 0 / 0.5712 GB, free: 7.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008573/0.6281, allocations: 181.2 kB / 0.5713 GB, free: 7.773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.6282, allocations: 59.3 kB / 0.5714 GB, free: 7.703 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.6286, allocations: 222.9 kB / 0.5716 GB, free: 7.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.6286, allocations: 29.7 kB / 0.5716 GB, free: 7.445 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/0.6287, allocations: 166.6 kB / 0.5718 GB, free: 7.281 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.6288, allocations: 23.64 kB / 0.5718 GB, free: 7.258 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-06/0.6288, allocations: 4 kB / 0.5718 GB, free: 7.254 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6289, allocations: 318.8 kB / 0.5721 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.681e-05/0.6291, allocations: 19.98 kB / 0.5721 GB, free: 6.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.6292, allocations: 37.7 kB / 0.5722 GB, free: 6.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.6293, allocations: 28.05 kB / 0.5722 GB, free: 6.844 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.6293, allocations: 0 / 0.5722 GB, free: 6.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003102/0.6296, allocations: 93.62 kB / 0.5723 GB, free: 6.746 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.6297, allocations: 4.188 kB / 0.5723 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.779e-05/0.6297, allocations: 4.031 kB / 0.5723 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.6297, allocations: 3.938 kB / 0.5723 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.6299, allocations: 19.98 kB / 0.5723 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.6299, allocations: 0 / 0.5723 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.63, allocations: 7.953 kB / 0.5723 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.6301, allocations: 7.984 kB / 0.5723 GB, free: 6.699 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.0001695/0.6302, allocations: 137.8 kB / 0.5725 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.6303, allocations: 15.81 kB / 0.5725 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.6307, allocations: 131 kB / 0.5726 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.6308, allocations: 0 / 0.5726 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6308, allocations: 0 / 0.5726 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.6308, allocations: 0 / 0.5726 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007737/0.6316, allocations: 431.2 kB / 0.573 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6316, allocations: 0 / 0.573 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.559e-05/0.6317, allocations: 15.98 kB / 0.573 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.6317, allocations: 7.938 kB / 0.573 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.6317, allocations: 4.031 kB / 0.573 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.6317, allocations: 3.953 kB / 0.573 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6317, allocations: 0 / 0.573 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.6321, allocations: 218 kB / 0.5733 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.552e-05/0.6323, allocations: 100.9 kB / 0.5734 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.6323, allocations: 3.953 kB / 0.5734 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.6324, allocations: 12 kB / 0.5734 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.6325, allocations: 7.984 kB / 0.5734 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.6325, allocations: 4 kB / 0.5734 GB, free: 5.516 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002823/0.6328, allocations: 188.2 kB / 0.5736 GB, free: 5.332 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6328, allocations: 0 / 0.5736 GB, free: 5.332 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003825/0.6332, allocations: 27.94 kB / 0.5736 GB, free: 5.305 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.001384/0.6346, allocations: 484.7 kB / 0.574 GB, free: 4.926 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003327/0.635, allocations: 63.91 kB / 0.5741 GB, free: 4.863 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.635, allocations: 0 / 0.5741 GB, free: 4.863 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.6352, allocations: 40.11 kB / 0.5741 GB, free: 4.824 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.6356, allocations: 28.23 kB / 0.5742 GB, free: 4.793 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007776/0.6364, allocations: 334.5 kB / 0.5745 GB, free: 4.441 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.6368, allocations: 0.7121 MB / 0.5752 GB, free: 3.703 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.969e-05/0.6368, allocations: 23.42 kB / 0.5752 GB, free: 3.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6369, allocations: 0 / 0.5752 GB, free: 3.68 MB / 394.7 MB Notification: Performance of Templates: time 0.006067/0.6429, allocations: 2.073 MB / 0.5772 GB, free: 1.617 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches