Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 180 kB / 18.09 MB, free: 3.633 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.248/1.248, allocations: 223.3 MB / 242.1 MB, free: 11.67 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.0009011/0.0009011, allocations: 103.1 kB / 293.3 MB, free: 10.79 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.3418/0.3418, allocations: 44.15 MB / 388.5 MB, free: 38.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003785, allocations: 12 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3693, allocations: 61.88 MB / 0.5107 GB, free: 38.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.4923, allocations: 89.37 MB / 0.598 GB, free: 5.715 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.4926, allocations: 79.95 kB / 0.5981 GB, free: 5.641 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01578/0.5084, allocations: 6.018 MB / 0.604 GB, free: 15.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5084, allocations: 0 / 0.604 GB, free: 15.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.5084, allocations: 8 kB / 0.604 GB, free: 15.61 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005234/0.509, allocations: 434.8 kB / 0.6044 GB, free: 15.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.509, allocations: 8.031 kB / 0.6044 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.5091, allocations: 12.84 kB / 0.6044 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.5094, allocations: 234.9 kB / 0.6046 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.5094, allocations: 4.375 kB / 0.6046 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.5094, allocations: 384 / 0.6046 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.5096, allocations: 66.17 kB / 0.6047 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.5096, allocations: 192 / 0.6047 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5096, allocations: 7.938 kB / 0.6047 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.5096, allocations: 0 / 0.6047 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.343e-05/0.5097, allocations: 27.97 kB / 0.6047 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.5101, allocations: 312.7 kB / 0.605 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.5104, allocations: 74.42 kB / 0.6051 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.5104, allocations: 20.97 kB / 0.6051 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.5105, allocations: 3.984 kB / 0.6051 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.5106, allocations: 67.39 kB / 0.6052 GB, free: 14.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.5106, allocations: 0 / 0.6052 GB, free: 14.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007189/0.5114, allocations: 249.3 kB / 0.6054 GB, free: 13.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.5114, allocations: 59.39 kB / 0.6055 GB, free: 13.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.5116, allocations: 218.7 kB / 0.6057 GB, free: 13.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.5117, allocations: 29.7 kB / 0.6057 GB, free: 13.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.5117, allocations: 104.2 kB / 0.6058 GB, free: 13.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.5118, allocations: 47.44 kB / 0.6059 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.5118, allocations: 0 / 0.6059 GB, free: 13.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.5119, allocations: 338.7 kB / 0.6062 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.915e-05/0.512, allocations: 27.98 kB / 0.6062 GB, free: 13.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.848e-05/0.5121, allocations: 45.7 kB / 0.6063 GB, free: 13.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.5122, allocations: 77.7 kB / 0.6063 GB, free: 12.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.5122, allocations: 0 / 0.6063 GB, free: 12.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002291/0.5124, allocations: 129.5 kB / 0.6065 GB, free: 12.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5125, allocations: 8 kB / 0.6065 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5125, allocations: 0 / 0.6065 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.5125, allocations: 4.031 kB / 0.6065 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.78e-05/0.5126, allocations: 19.98 kB / 0.6065 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.5126, allocations: 7.938 kB / 0.6065 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.5127, allocations: 4 kB / 0.6065 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.5127, allocations: 4 kB / 0.6065 GB, free: 12.78 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 (13): * Single equations (assignments): 13 * 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.0001009/0.5128, allocations: 141.6 kB / 0.6066 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.5128, allocations: 15.81 kB / 0.6067 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.5131, allocations: 152 kB / 0.6068 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5131, allocations: 7.938 kB / 0.6068 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5131, allocations: 0 / 0.6068 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5131, allocations: 3.938 kB / 0.6068 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.5137, allocations: 480 kB / 0.6073 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5137, allocations: 0 / 0.6073 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.066e-05/0.5138, allocations: 15.94 kB / 0.6073 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.5138, allocations: 8.062 kB / 0.6073 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.5138, allocations: 7.938 kB / 0.6073 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.5138, allocations: 4 kB / 0.6073 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5138, allocations: 3.984 kB / 0.6073 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.5141, allocations: 233 kB / 0.6075 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.5142, allocations: 104.9 kB / 0.6076 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.5142, allocations: 11.94 kB / 0.6076 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.5143, allocations: 0 / 0.6076 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.5144, allocations: 11.98 kB / 0.6076 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.5144, allocations: 7.938 kB / 0.6077 GB, free: 11.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001573/0.5145, allocations: 172.3 kB / 0.6078 GB, free: 11.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5146, allocations: 0 / 0.6078 GB, free: 11.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.5148, allocations: 47.92 kB / 0.6079 GB, free: 11.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001216/0.5161, allocations: 0.5157 MB / 0.6084 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.5163, allocations: 79.84 kB / 0.6084 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5163, allocations: 0 / 0.6084 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.982e-05/0.5164, allocations: 47.92 kB / 0.6085 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.5168, allocations: 28.72 kB / 0.6085 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006358/0.5174, allocations: 320.1 kB / 0.6088 GB, free: 10.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.5178, allocations: 0.716 MB / 0.6095 GB, free: 9.719 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.87e-05/0.5179, allocations: 24.56 kB / 0.6095 GB, free: 9.695 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.518, allocations: 23.44 kB / 0.6096 GB, free: 9.672 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.518, allocations: 0 / 0.6096 GB, free: 9.672 MB / 426.7 MB Notification: Performance of Templates: time 0.004816/0.5228, allocations: 2.004 MB / 0.6115 GB, free: 7.688 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches