Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001258, allocations: 107.8 kB / 18.45 MB, free: 4.602 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.001264/0.001264, allocations: 186.3 kB / 19.38 MB, free: 3.68 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.335/1.335, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2263/0.2263, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 67.88 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3538, allocations: 60.81 MB / 0.5197 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003027/0.3569, allocations: 1.727 MB / 0.5213 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.3583, allocations: 0.8817 MB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.478e-05/0.3584, allocations: 0 / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.3588, allocations: 105.6 kB / 0.5223 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.3591, allocations: 84.48 kB / 0.5224 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.3594, allocations: 110.4 kB / 0.5225 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.3596, allocations: 116.3 kB / 0.5226 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3598, allocations: 18.59 kB / 0.5226 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.3599, allocations: 57.45 kB / 0.5227 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.36, allocations: 58.75 kB / 0.5227 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.3601, allocations: 8.172 kB / 0.5227 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.3602, allocations: 68.25 kB / 0.5228 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.013e-05/0.3603, allocations: 20.95 kB / 0.5228 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.192e-05/0.3603, allocations: 47.14 kB / 0.5229 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.3606, allocations: 138.6 kB / 0.523 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3606, allocations: 0.7812 kB / 0.523 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3606, allocations: 0.8438 kB / 0.523 GB, free: 1.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.629e-06/0.3606, allocations: 0 / 0.523 GB, free: 1.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004912/0.3611, allocations: 434.3 kB / 0.5234 GB, free: 1.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3612, allocations: 9.281 kB / 0.5234 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.3612, allocations: 16.23 kB / 0.5234 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.3615, allocations: 226.2 kB / 0.5237 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3615, allocations: 2.203 kB / 0.5237 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.3615, allocations: 11.59 kB / 0.5237 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.3617, allocations: 57.5 kB / 0.5237 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3617, allocations: 0 / 0.5237 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3617, allocations: 5.156 kB / 0.5237 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.3617, allocations: 5.266 kB / 0.5237 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.042e-05/0.3618, allocations: 20.5 kB / 0.5238 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.3622, allocations: 314.7 kB / 0.5241 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.3624, allocations: 61.38 kB / 0.5241 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.3625, allocations: 20.48 kB / 0.5241 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.3625, allocations: 5.797 kB / 0.5241 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.3627, allocations: 88.02 kB / 0.5242 GB, free: 360 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.3627, allocations: 0 / 0.5242 GB, free: 360 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007109/0.3634, allocations: 233.8 kB / 0.5244 GB, free: 256 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.3634, allocations: 56.72 kB / 0.5245 GB, free: 188 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.3637, allocations: 239.4 kB / 0.5247 GB, free: 48 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.3637, allocations: 27.3 kB / 0.5248 GB, free: 16 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.3638, allocations: 114.6 kB / 0.5249 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.3638, allocations: 35.92 kB / 0.5249 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.3639, allocations: 28.09 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.364, allocations: 329.2 kB / 0.5252 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.176e-05/0.3641, allocations: 25.48 kB / 0.5253 GB, free: 15.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.713e-05/0.3642, allocations: 49.06 kB / 0.5253 GB, free: 15.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.3644, allocations: 88.12 kB / 0.5254 GB, free: 15.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3644, allocations: 0 / 0.5254 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002541/0.3646, allocations: 128.7 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3647, allocations: 9.594 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3647, allocations: 0 / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3647, allocations: 1.188 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.091e-05/0.3648, allocations: 21 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3648, allocations: 5.875 kB / 0.5256 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.605e-05/0.3648, allocations: 2.297 kB / 0.5256 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.3649, allocations: 4.281 kB / 0.5256 GB, free: 15.38 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 (13): * Single equations (assignments): 13 * 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.0001141/0.365, allocations: 140.4 kB / 0.5257 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.365, allocations: 18.05 kB / 0.5257 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.3651, allocations: 19.55 kB / 0.5257 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3651, allocations: 1.906 kB / 0.5257 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3651, allocations: 3.938 kB / 0.5257 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3651, allocations: 4.641 kB / 0.5257 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005474/0.3657, allocations: 455.5 kB / 0.5262 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.3657, allocations: 0 / 0.5262 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/0.3657, allocations: 17.8 kB / 0.5262 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3657, allocations: 1.531 kB / 0.5262 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.3657, allocations: 4.5 kB / 0.5262 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3658, allocations: 1.562 kB / 0.5262 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3658, allocations: 0 / 0.5262 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.366, allocations: 245.3 kB / 0.5264 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.3661, allocations: 93.62 kB / 0.5265 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.3661, allocations: 8.344 kB / 0.5265 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.3662, allocations: 3.234 kB / 0.5265 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.3663, allocations: 10.03 kB / 0.5265 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.3663, allocations: 5.984 kB / 0.5265 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001669/0.3665, allocations: 181.8 kB / 0.5267 GB, free: 14.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.014e-06/0.3665, allocations: 4 kB / 0.5267 GB, free: 14.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.3668, allocations: 38.67 kB / 0.5268 GB, free: 14.4 MB / 398.1 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 (11): * Single equations (assignments): 9 * 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.001211/0.368, allocations: 0.4979 MB / 0.5272 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.3683, allocations: 86.83 kB / 0.5273 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3683, allocations: 0 / 0.5273 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.823e-05/0.3684, allocations: 42.72 kB / 0.5274 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.3688, allocations: 39.77 kB / 0.5274 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005998/0.3694, allocations: 323.7 kB / 0.5277 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.3697, allocations: 0.7207 MB / 0.5284 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.3698, allocations: 18.94 kB / 0.5284 GB, free: 13.16 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3698, allocations: 4 kB / 0.5284 GB, free: 13.16 MB / 398.1 MB Notification: Performance of Templates: time 0.005485/0.3753, allocations: 2.251 MB / 0.5306 GB, free: 12.2 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches