Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,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.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,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.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009076/0.0009074, allocations: 171 kB / 16.76 MB, free: 4.934 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.701/1.701, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0008479/0.0008479, allocations: 86.34 kB / 271.3 MB, free: 8.242 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.3916/0.3916, allocations: 43.57 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004482/0.0004483, allocations: 16 kB / 432.6 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1433, allocations: 58.85 MB / 491.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3542/0.4976, allocations: 87.8 MB / 0.5657 GB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.4979, allocations: 75.97 kB / 0.5658 GB, free: 13.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01648/0.5144, allocations: 5.863 MB / 0.5715 GB, free: 8.113 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5145, allocations: 7.938 kB / 0.5715 GB, free: 8.105 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.5145, allocations: 4 kB / 0.5715 GB, free: 8.102 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006862/0.5152, allocations: 461.8 kB / 0.572 GB, free: 7.602 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.5152, allocations: 12.02 kB / 0.572 GB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.143e-05/0.5153, allocations: 18.38 kB / 0.572 GB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.5157, allocations: 253.8 kB / 0.5722 GB, free: 7.289 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.5158, allocations: 12.38 kB / 0.5722 GB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.5158, allocations: 4.359 kB / 0.5722 GB, free: 7.273 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.516, allocations: 97.64 kB / 0.5723 GB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.516, allocations: 192 / 0.5723 GB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.5161, allocations: 7.938 kB / 0.5723 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.5161, allocations: 0 / 0.5723 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.5162, allocations: 35.91 kB / 0.5724 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002703/0.5165, allocations: 226.4 kB / 0.5726 GB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.5168, allocations: 113.2 kB / 0.5727 GB, free: 6.715 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.74e-05/0.5169, allocations: 41.7 kB / 0.5727 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.5169, allocations: 0 / 0.5727 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.5171, allocations: 113 kB / 0.5729 GB, free: 6.539 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.5171, allocations: 0 / 0.5729 GB, free: 6.539 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004812/0.5176, allocations: 178.2 kB / 0.573 GB, free: 6.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.935e-05/0.5177, allocations: 136.5 kB / 0.5732 GB, free: 6.195 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.518, allocations: 215.8 kB / 0.5734 GB, free: 5.973 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.518, allocations: 25.7 kB / 0.5734 GB, free: 5.941 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.425e-05/0.5181, allocations: 116.1 kB / 0.5735 GB, free: 5.824 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.5182, allocations: 23.7 kB / 0.5735 GB, free: 5.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.5182, allocations: 0 / 0.5735 GB, free: 5.801 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5183, allocations: 327.6 kB / 0.5738 GB, free: 5.473 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.5184, allocations: 31.98 kB / 0.5739 GB, free: 5.441 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.5185, allocations: 73.12 kB / 0.5739 GB, free: 5.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.5187, allocations: 95.84 kB / 0.574 GB, free: 5.246 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5187, allocations: 4.031 kB / 0.574 GB, free: 5.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002758/0.519, allocations: 137.4 kB / 0.5742 GB, free: 5.102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.519, allocations: 9.5 kB / 0.5742 GB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5191, allocations: 4 kB / 0.5742 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.5191, allocations: 7.875 kB / 0.5742 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.5192, allocations: 27.92 kB / 0.5742 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5192, allocations: 0 / 0.5742 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.044e-05/0.5193, allocations: 15.84 kB / 0.5742 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.5193, allocations: 12.06 kB / 0.5742 GB, free: 5.027 MB / 394.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.0001277/0.5195, allocations: 133.8 kB / 0.5744 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.5195, allocations: 19.75 kB / 0.5744 GB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.5199, allocations: 162.5 kB / 0.5745 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.5199, allocations: 4 kB / 0.5745 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.5199, allocations: 0 / 0.5745 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5199, allocations: 0 / 0.5745 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.5201, allocations: 229.5 kB / 0.5748 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5201, allocations: 0 / 0.5748 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.431e-05/0.5202, allocations: 12.23 kB / 0.5748 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.5202, allocations: 7.938 kB / 0.5748 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.5202, allocations: 8 kB / 0.5748 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5202, allocations: 0 / 0.5748 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5202, allocations: 4 kB / 0.5748 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.5205, allocations: 189.5 kB / 0.575 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.507e-05/0.5206, allocations: 96.91 kB / 0.5751 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.5207, allocations: 7.938 kB / 0.5751 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.5207, allocations: 11.98 kB / 0.5751 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.5208, allocations: 4 kB / 0.5751 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.5208, allocations: 7.984 kB / 0.5751 GB, free: 4.047 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001776/0.521, allocations: 165.5 kB / 0.5752 GB, free: 3.887 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.521, allocations: 0 / 0.5752 GB, free: 3.887 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002753/0.5213, allocations: 47.98 kB / 0.5753 GB, free: 3.84 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: 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.001085/0.5224, allocations: 456.1 kB / 0.5757 GB, free: 3.492 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.5227, allocations: 87.89 kB / 0.5758 GB, free: 3.406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5227, allocations: 0 / 0.5758 GB, free: 3.406 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.5228, allocations: 56.03 kB / 0.5759 GB, free: 3.352 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.5232, allocations: 53.31 kB / 0.5759 GB, free: 3.301 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005647/0.5237, allocations: 293.2 kB / 0.5762 GB, free: 2.992 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.5241, allocations: 0.7165 MB / 0.5769 GB, free: 2.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000111/0.5242, allocations: 33.52 kB / 0.5769 GB, free: 2.215 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.5242, allocations: 31.42 kB / 0.577 GB, free: 2.188 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5243, allocations: 0 / 0.577 GB, free: 2.188 MB / 394.7 MB Notification: Performance of Templates: time 0.006743/0.531, allocations: 2.561 MB / 0.5795 GB, free: 15.64 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches