Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001415, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 221.5 MB / 230.7 MB, free: 7.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008432/0.0008431, allocations: 94.05 kB / 281.6 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2034/0.2034, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.195e-05/2.197e-05, allocations: 8.203 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1252, allocations: 61.92 MB / 0.4947 GB, free: 1.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3793/0.5045, allocations: 88.58 MB / 0.5812 GB, free: 7.926 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.5049, allocations: 71.95 kB / 0.5813 GB, free: 7.855 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01531/0.5202, allocations: 5.723 MB / 0.5868 GB, free: 2.152 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5202, allocations: 0 / 0.5868 GB, free: 2.152 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.5203, allocations: 8 kB / 0.5868 GB, free: 2.145 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.0005975/0.5209, allocations: 426 kB / 0.5873 GB, free: 1.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.5209, allocations: 15.98 kB / 0.5873 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.521, allocations: 19.75 kB / 0.5873 GB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.5214, allocations: 250.1 kB / 0.5875 GB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.5214, allocations: 11.95 kB / 0.5875 GB, free: 1.352 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.5214, allocations: 8 kB / 0.5875 GB, free: 1.344 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.959e-05/0.5215, allocations: 19.98 kB / 0.5876 GB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.5217, allocations: 105 kB / 0.5877 GB, free: 1.203 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.5217, allocations: 0 / 0.5877 GB, free: 1.203 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.5217, allocations: 0 / 0.5877 GB, free: 1.203 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.5217, allocations: 0 / 0.5877 GB, free: 1.203 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.522, allocations: 191.1 kB / 0.5878 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.5221, allocations: 93.34 kB / 0.5879 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.808e-05/0.5222, allocations: 41.73 kB / 0.588 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.5222, allocations: 0 / 0.588 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.5224, allocations: 109 kB / 0.5881 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.5224, allocations: 0 / 0.5881 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000273/0.5227, allocations: 125.4 kB / 0.5882 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.5228, allocations: 136.5 kB / 0.5883 GB, free: 412 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.523, allocations: 191.1 kB / 0.5885 GB, free: 212 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.523, allocations: 29.7 kB / 0.5885 GB, free: 176 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.523, allocations: 112.1 kB / 0.5886 GB, free: 60 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.5231, allocations: 31.55 kB / 0.5887 GB, free: 28 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.5231, allocations: 0 / 0.5887 GB, free: 28 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5232, allocations: 326.9 kB / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.5233, allocations: 24 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.862e-05/0.5234, allocations: 67.39 kB / 0.5891 GB, free: 15.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.209e-05/0.5234, allocations: 36.11 kB / 0.5891 GB, free: 15.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5234, allocations: 0 / 0.5891 GB, free: 15.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001856/0.5236, allocations: 117.4 kB / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.5237, allocations: 7.953 kB / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.5237, allocations: 3.984 kB / 0.5892 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.5237, allocations: 4 kB / 0.5892 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.5238, allocations: 28.08 kB / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.5238, allocations: 7.938 kB / 0.5893 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.492e-05/0.5239, allocations: 7.984 kB / 0.5893 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.5239, allocations: 4 kB / 0.5893 GB, free: 15.37 MB / 410.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 () * 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 9.123e-05/0.524, allocations: 112.9 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.5241, allocations: 15.81 kB / 0.5894 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.5243, allocations: 155.3 kB / 0.5896 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.5243, allocations: 0 / 0.5896 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.5244, allocations: 12.06 kB / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.5244, allocations: 3.984 kB / 0.5896 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.5245, allocations: 194.1 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5246, allocations: 0 / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.627e-05/0.5246, allocations: 11.98 kB / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.5246, allocations: 4 kB / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.5246, allocations: 0 / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.5246, allocations: 0 / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5246, allocations: 3.953 kB / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.5249, allocations: 187.4 kB / 0.59 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.451e-05/0.525, allocations: 104.8 kB / 0.5901 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.525, allocations: 3.984 kB / 0.5901 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.228e-05/0.5251, allocations: 7.953 kB / 0.5901 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.5251, allocations: 7.984 kB / 0.5901 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.5251, allocations: 4 kB / 0.5901 GB, free: 14.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001408/0.5253, allocations: 165.5 kB / 0.5902 GB, free: 14.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5253, allocations: 0 / 0.5902 GB, free: 14.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002679/0.5256, allocations: 47.92 kB / 0.5903 GB, free: 14.26 MB / 410.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) * 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.0008892/0.5265, allocations: 394.6 kB / 0.5907 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.5267, allocations: 71.92 kB / 0.5907 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5267, allocations: 0 / 0.5907 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.519e-05/0.5267, allocations: 40 kB / 0.5908 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.5271, allocations: 45.14 kB / 0.5908 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.5275, allocations: 194.5 kB / 0.591 GB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.5277, allocations: 0.7163 MB / 0.5917 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.18e-05/0.5278, allocations: 33.8 kB / 0.5917 GB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.5279, allocations: 31.42 kB / 0.5918 GB, free: 12.77 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5279, allocations: 4 kB / 0.5918 GB, free: 12.77 MB / 410.7 MB Notification: Performance of Templates: time 0.005048/0.533, allocations: 2.437 MB / 0.5941 GB, free: 10.35 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches