Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008354/0.0008354, allocations: 97.97 kB / 292.2 MB, free: 10.92 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.3666/0.3666, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003241, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3807, allocations: 61.9 MB / 0.5096 GB, free: 37.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.5059, allocations: 89.52 MB / 0.597 GB, free: 5.605 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.5062, allocations: 87.91 kB / 0.5971 GB, free: 5.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01633/0.5225, allocations: 6.16 MB / 0.6031 GB, free: 15.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5226, allocations: 0 / 0.6031 GB, free: 15.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.5226, allocations: 4 kB / 0.6031 GB, free: 15.36 MB / 426.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.0005722/0.5232, allocations: 407 kB / 0.6035 GB, free: 14.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.5232, allocations: 8.031 kB / 0.6035 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.5233, allocations: 7.906 kB / 0.6035 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.5236, allocations: 216.1 kB / 0.6037 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.5236, allocations: 4 kB / 0.6037 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.5237, allocations: 4 kB / 0.6037 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.5238, allocations: 71.38 kB / 0.6038 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5238, allocations: 4 kB / 0.6038 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.5239, allocations: 0 / 0.6038 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5239, allocations: 0 / 0.6038 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.228e-05/0.524, allocations: 19.98 kB / 0.6038 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.5244, allocations: 292.8 kB / 0.6041 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.5246, allocations: 62.67 kB / 0.6041 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.5247, allocations: 0 / 0.6041 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.5248, allocations: 67.52 kB / 0.6042 GB, free: 14.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.857e-06/0.5248, allocations: 0 / 0.6042 GB, free: 14.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005835/0.5254, allocations: 181.2 kB / 0.6044 GB, free: 13.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.5255, allocations: 81.05 kB / 0.6045 GB, free: 13.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.5256, allocations: 147.3 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.5257, allocations: 33.7 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.5257, allocations: 92.12 kB / 0.6047 GB, free: 13.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.5257, allocations: 19.72 kB / 0.6047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.5258, allocations: 8 kB / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5259, allocations: 319.1 kB / 0.605 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/0.5259, allocations: 19.98 kB / 0.6051 GB, free: 13.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.447e-05/0.526, allocations: 46.56 kB / 0.6051 GB, free: 13.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.148e-05/0.5261, allocations: 28.02 kB / 0.6051 GB, free: 13.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5261, allocations: 0 / 0.6051 GB, free: 13.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001823/0.5263, allocations: 101.5 kB / 0.6052 GB, free: 12.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.5263, allocations: 8 kB / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5263, allocations: 3.938 kB / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5263, allocations: 0 / 0.6052 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.313e-05/0.5264, allocations: 15.98 kB / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.5264, allocations: 4 kB / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.5265, allocations: 7.984 kB / 0.6053 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.5265, allocations: 4 kB / 0.6053 GB, free: 12.89 MB / 426.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.0001041/0.5266, allocations: 130.2 kB / 0.6054 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.5267, allocations: 19.78 kB / 0.6054 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.5269, allocations: 114.3 kB / 0.6055 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.5269, allocations: 4 kB / 0.6055 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.5269, allocations: 0 / 0.6055 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5269, allocations: 0 / 0.6055 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.5274, allocations: 407.3 kB / 0.6059 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5274, allocations: 4 kB / 0.6059 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.5275, allocations: 8 kB / 0.6059 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5275, allocations: 0 / 0.6059 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.5275, allocations: 7.984 kB / 0.6059 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5275, allocations: 4.281 kB / 0.6059 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5275, allocations: 3.953 kB / 0.6059 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.5278, allocations: 221.9 kB / 0.6062 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.378e-05/0.5279, allocations: 93 kB / 0.6062 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.5279, allocations: 0 / 0.6062 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/0.528, allocations: 7.953 kB / 0.6063 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.528, allocations: 12.36 kB / 0.6063 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.528, allocations: 0 / 0.6063 GB, free: 11.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.313e-05/0.5281, allocations: 125.5 kB / 0.6064 GB, free: 11.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5281, allocations: 0 / 0.6064 GB, free: 11.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002746/0.5284, allocations: 32 kB / 0.6064 GB, free: 11.61 MB / 426.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.001244/0.5297, allocations: 0.5208 MB / 0.6069 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.5299, allocations: 67.89 kB / 0.607 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5299, allocations: 0 / 0.607 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.53, allocations: 24 kB / 0.607 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.5302, allocations: 32.09 kB / 0.607 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.5307, allocations: 210 kB / 0.6072 GB, free: 10.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.531, allocations: 0.7121 MB / 0.6079 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.886e-05/0.531, allocations: 20.83 kB / 0.608 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.5311, allocations: 15.44 kB / 0.608 GB, free: 10.15 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5311, allocations: 0 / 0.608 GB, free: 10.15 MB / 426.7 MB Notification: Performance of Templates: time 0.004606/0.5357, allocations: 1.893 MB / 0.6098 GB, free: 8.277 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches