Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 109.8 kB / 17.78 MB, free: 5.285 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.001124/0.001124, allocations: 183.9 kB / 18.7 MB, free: 4.371 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.463/1.463, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2396/0.2396, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 67.84 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4022, allocations: 60.82 MB / 0.519 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003302/0.4055, allocations: 1.714 MB / 0.5207 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.4069, allocations: 0.8715 MB / 0.5215 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.386e-05/0.407, allocations: 5.094 kB / 0.5215 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.4073, allocations: 38.45 kB / 0.5215 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.4075, allocations: 63.2 kB / 0.5216 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.4078, allocations: 106.5 kB / 0.5217 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.408, allocations: 95.64 kB / 0.5218 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.4081, allocations: 16.47 kB / 0.5218 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.518e-05/0.4082, allocations: 41.69 kB / 0.5219 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.254e-05/0.4083, allocations: 30.44 kB / 0.5219 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.4084, allocations: 7.531 kB / 0.5219 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.4085, allocations: 46.47 kB / 0.5219 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.4085, allocations: 19.11 kB / 0.522 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.824e-05/0.4086, allocations: 33.22 kB / 0.522 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.4088, allocations: 114.9 kB / 0.5221 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4088, allocations: 0.875 kB / 0.5221 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4088, allocations: 0 / 0.5221 GB, free: 1.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.4088, allocations: 0.9688 kB / 0.5221 GB, free: 1.789 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.000511/0.4094, allocations: 418.2 kB / 0.5225 GB, free: 1.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4094, allocations: 13.34 kB / 0.5225 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.4095, allocations: 14.95 kB / 0.5225 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.4097, allocations: 211.1 kB / 0.5227 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.4097, allocations: 1.938 kB / 0.5227 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.4097, allocations: 7.781 kB / 0.5227 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.4099, allocations: 53.44 kB / 0.5228 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4099, allocations: 1.5 kB / 0.5228 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4099, allocations: 0.8438 kB / 0.5228 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4099, allocations: 1.469 kB / 0.5228 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.404e-05/0.41, allocations: 29.19 kB / 0.5228 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.4103, allocations: 286.9 kB / 0.5231 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.4105, allocations: 52.75 kB / 0.5231 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/0.4106, allocations: 24.52 kB / 0.5232 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.4106, allocations: 1.594 kB / 0.5232 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.4108, allocations: 68.98 kB / 0.5232 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.4108, allocations: 0 / 0.5232 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005507/0.4113, allocations: 185.3 kB / 0.5234 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.4114, allocations: 56.56 kB / 0.5235 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.4116, allocations: 193.1 kB / 0.5236 GB, free: 412 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.4116, allocations: 31.67 kB / 0.5237 GB, free: 376 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.4116, allocations: 104.2 kB / 0.5238 GB, free: 276 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.4117, allocations: 25.34 kB / 0.5238 GB, free: 256 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.4117, allocations: 26.36 kB / 0.5238 GB, free: 232 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4118, allocations: 326.8 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.054e-05/0.4119, allocations: 20.83 kB / 0.5242 GB, free: 15.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.731e-05/0.412, allocations: 39.84 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.4121, allocations: 61.89 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4121, allocations: 0 / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001975/0.4123, allocations: 101.7 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.4123, allocations: 10.06 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.4123, allocations: 0 / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4124, allocations: 2.391 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.4125, allocations: 14.73 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4125, allocations: 0.6094 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.026e-05/0.4125, allocations: 12.28 kB / 0.5244 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.4125, allocations: 5.844 kB / 0.5244 GB, free: 15.76 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.0001159/0.4127, allocations: 127.5 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.4127, allocations: 13.91 kB / 0.5245 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.4127, allocations: 16.33 kB / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4127, allocations: 0.75 kB / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4128, allocations: 1.781 kB / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4128, allocations: 4.734 kB / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.4132, allocations: 400.2 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4133, allocations: 0 / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.4133, allocations: 11.53 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.4133, allocations: 1.188 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.4133, allocations: 6.25 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.4133, allocations: 1.156 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4133, allocations: 1.984 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.4136, allocations: 207.9 kB / 0.5252 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.4137, allocations: 85.59 kB / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.4137, allocations: 5.781 kB / 0.5252 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.4138, allocations: 7.469 kB / 0.5252 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.4138, allocations: 5.734 kB / 0.5253 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.4139, allocations: 8.125 kB / 0.5253 GB, free: 14.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.414, allocations: 152.1 kB / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.414, allocations: 0 / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000271/0.4143, allocations: 25.66 kB / 0.5254 GB, free: 14.86 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.001175/0.4155, allocations: 475.8 kB / 0.5259 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.4157, allocations: 59.25 kB / 0.5259 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4157, allocations: 5.156 kB / 0.5259 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.694e-05/0.4158, allocations: 24.16 kB / 0.526 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.4161, allocations: 30.25 kB / 0.526 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005044/0.4167, allocations: 221.8 kB / 0.5262 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.417, allocations: 0.7162 MB / 0.5269 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.631e-05/0.4171, allocations: 17.33 kB / 0.5269 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.4171, allocations: 14.81 kB / 0.5269 GB, free: 13.73 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4171, allocations: 1.969 kB / 0.5269 GB, free: 13.73 MB / 398.1 MB Notification: Performance of Templates: time 0.00554/0.4227, allocations: 1.709 MB / 0.5286 GB, free: 13.12 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches