Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 110.4 kB / 17.78 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 187.1 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2063/0.2063, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.91 kB / 470.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3982, allocations: 60.82 MB / 0.519 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002849/0.4011, allocations: 1.719 MB / 0.5207 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.403, allocations: 1.481 MB / 0.5221 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/0.4031, allocations: 4.875 kB / 0.5221 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.4034, allocations: 35.94 kB / 0.5221 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.4037, allocations: 59.34 kB / 0.5222 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.404, allocations: 113.5 kB / 0.5223 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.4042, allocations: 97.19 kB / 0.5224 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.4043, allocations: 7.344 kB / 0.5224 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.4044, allocations: 45.98 kB / 0.5224 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.4046, allocations: 39.94 kB / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.4047, allocations: 4.688 kB / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.4048, allocations: 58.78 kB / 0.5225 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.4049, allocations: 18.5 kB / 0.5226 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.4049, allocations: 37.66 kB / 0.5226 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.4052, allocations: 121.9 kB / 0.5227 GB, free: 1.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4052, allocations: 0 / 0.5227 GB, free: 1.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4052, allocations: 1.062 kB / 0.5227 GB, free: 1.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.4052, allocations: 0 / 0.5227 GB, free: 1.062 MB / 382.1 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.0005043/0.4057, allocations: 398.6 kB / 0.5231 GB, free: 0.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.4058, allocations: 9.812 kB / 0.5231 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.4058, allocations: 9.609 kB / 0.5231 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.406, allocations: 212.4 kB / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.4061, allocations: 1.469 kB / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.4061, allocations: 14.77 kB / 0.5233 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.4063, allocations: 70.72 kB / 0.5234 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4063, allocations: 5.156 kB / 0.5234 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.4063, allocations: 0 / 0.5234 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.4063, allocations: 1.75 kB / 0.5234 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.493e-05/0.4064, allocations: 17.34 kB / 0.5234 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.4067, allocations: 288.8 kB / 0.5237 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.4069, allocations: 59.67 kB / 0.5238 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.97e-05/0.407, allocations: 20.03 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.407, allocations: 1.922 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.4072, allocations: 69.5 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.4072, allocations: 0 / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005583/0.4078, allocations: 167.2 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.4078, allocations: 84.16 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.408, allocations: 151.4 kB / 0.5242 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.408, allocations: 26.86 kB / 0.5243 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.4081, allocations: 92.72 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.4081, allocations: 30.78 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.4082, allocations: 30.58 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4083, allocations: 324 kB / 0.5247 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.802e-05/0.4084, allocations: 18.77 kB / 0.5247 GB, free: 15.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.029e-05/0.4084, allocations: 45.44 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.4086, allocations: 56.95 kB / 0.5248 GB, free: 15.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4086, allocations: 0 / 0.5248 GB, free: 15.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001873/0.4088, allocations: 104.9 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4088, allocations: 6.188 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4088, allocations: 0.75 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4088, allocations: 1.062 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.4089, allocations: 15.33 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.4089, allocations: 5.656 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.409, allocations: 6.938 kB / 0.525 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.409, allocations: 2.375 kB / 0.525 GB, free: 15.03 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.4091, allocations: 126.4 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.4092, allocations: 8.938 kB / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.896e-05/0.4092, allocations: 17.45 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4092, allocations: 2.25 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4092, allocations: 1.172 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.4093, allocations: 4.594 kB / 0.5251 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005259/0.4098, allocations: 395.6 kB / 0.5255 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4098, allocations: 5.312 kB / 0.5255 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.4098, allocations: 12.67 kB / 0.5255 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.4099, allocations: 1.094 kB / 0.5255 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.4099, allocations: 7.094 kB / 0.5255 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4099, allocations: 1.281 kB / 0.5255 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4099, allocations: 1.031 kB / 0.5255 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.4102, allocations: 199.4 kB / 0.5257 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/0.4102, allocations: 88.77 kB / 0.5258 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.4103, allocations: 6.359 kB / 0.5258 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.651e-05/0.4104, allocations: 3.188 kB / 0.5258 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.4104, allocations: 5.969 kB / 0.5258 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.4104, allocations: 8.578 kB / 0.5258 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.4106, allocations: 116.6 kB / 0.5259 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4106, allocations: 0 / 0.5259 GB, free: 14.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.4109, allocations: 31.81 kB / 0.526 GB, free: 14.15 MB / 398.1 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00134/0.4122, allocations: 0.5004 MB / 0.5264 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.4125, allocations: 69.17 kB / 0.5265 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4125, allocations: 0 / 0.5265 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.031e-05/0.4126, allocations: 32.23 kB / 0.5265 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.4129, allocations: 27.88 kB / 0.5266 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.4136, allocations: 197.8 kB / 0.5268 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.414, allocations: 0.6961 MB / 0.5274 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.2e-05/0.4141, allocations: 18.09 kB / 0.5275 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.4142, allocations: 18.05 kB / 0.5275 GB, free: 13 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4142, allocations: 0.7812 kB / 0.5275 GB, free: 13 MB / 398.1 MB Notification: Performance of Templates: time 0.006308/0.4205, allocations: 1.99 MB / 0.5294 GB, free: 12.26 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches