Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, 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.00115/0.00115, 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.373/1.373, allocations: 222.9 MB / 242.4 MB, free: 15.21 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.2129/0.2129, allocations: 44.18 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 71.88 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3836, allocations: 60.82 MB / 0.519 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003686/0.3873, allocations: 1.704 MB / 0.5207 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.3888, allocations: 0.8787 MB / 0.5215 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.389, allocations: 1.125 kB / 0.5215 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.3893, allocations: 36.59 kB / 0.5215 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.3896, allocations: 55.8 kB / 0.5216 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.3899, allocations: 117.5 kB / 0.5217 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.3901, allocations: 96.02 kB / 0.5218 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3902, allocations: 12.19 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3903, allocations: 41.3 kB / 0.5219 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.3904, allocations: 30.09 kB / 0.5219 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.3904, allocations: 3.812 kB / 0.5219 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.3905, allocations: 42.31 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.3906, allocations: 18.48 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.3906, allocations: 37.55 kB / 0.522 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.3908, allocations: 114.9 kB / 0.5221 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3909, allocations: 0 / 0.5221 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3909, allocations: 1.406 kB / 0.5221 GB, free: 1.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.3909, allocations: 0.75 kB / 0.5221 GB, free: 1.559 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.0004796/0.3914, allocations: 403.3 kB / 0.5225 GB, free: 1.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3914, allocations: 10.8 kB / 0.5225 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.3915, allocations: 9.312 kB / 0.5225 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.3917, allocations: 210.7 kB / 0.5227 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.3917, allocations: 5.156 kB / 0.5227 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.3917, allocations: 7.25 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.3919, allocations: 58.19 kB / 0.5228 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3919, allocations: 4.656 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.392, allocations: 1.188 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.392, allocations: 3.938 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.252e-05/0.392, allocations: 18.17 kB / 0.5228 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.3923, allocations: 283 kB / 0.5231 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.3925, allocations: 63.75 kB / 0.5231 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/0.3926, allocations: 20.95 kB / 0.5231 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.3926, allocations: 1.25 kB / 0.5231 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.3927, allocations: 65.59 kB / 0.5232 GB, free: 492 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.3927, allocations: 4 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000544/0.3933, allocations: 177 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.3933, allocations: 56.91 kB / 0.5234 GB, free: 328 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.3935, allocations: 186.1 kB / 0.5236 GB, free: 196 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.3935, allocations: 31.39 kB / 0.5236 GB, free: 160 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.3936, allocations: 99.62 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.3936, allocations: 25.17 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.3937, allocations: 23.8 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3938, allocations: 329 kB / 0.5241 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-05/0.3939, allocations: 25.56 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.147e-05/0.394, allocations: 43.27 kB / 0.5242 GB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.3941, allocations: 57.61 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3941, allocations: 0 / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000245/0.3944, allocations: 106.2 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3944, allocations: 4.625 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3944, allocations: 2.031 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3944, allocations: 5.109 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.3946, allocations: 15.67 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3946, allocations: 1.125 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.435e-05/0.3947, allocations: 10.58 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.3947, allocations: 3.047 kB / 0.5244 GB, free: 15.55 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.0001103/0.3948, allocations: 125.4 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.3949, allocations: 17.92 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.946e-05/0.3949, allocations: 15.34 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3949, allocations: 0.6562 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3949, allocations: 1.438 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.395, allocations: 4.547 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.3954, allocations: 390 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3954, allocations: 3.938 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.532e-05/0.3955, allocations: 9.047 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3955, allocations: 5.438 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3955, allocations: 6.156 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3955, allocations: 1.906 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3955, allocations: 0 / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.3958, allocations: 206 kB / 0.5251 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.003e-05/0.3958, allocations: 83.38 kB / 0.5252 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.3959, allocations: 14.2 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.396, allocations: 8.875 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.396, allocations: 3.891 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.3961, allocations: 4.266 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.3963, allocations: 144.5 kB / 0.5254 GB, free: 14.67 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3963, allocations: 0 / 0.5254 GB, free: 14.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004329/0.3967, allocations: 25.67 kB / 0.5254 GB, free: 14.66 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.001394/0.3981, allocations: 475.9 kB / 0.5258 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.3984, allocations: 56.77 kB / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3984, allocations: 0 / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.494e-05/0.3985, allocations: 29.16 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.399, allocations: 33.84 kB / 0.5259 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004994/0.3996, allocations: 223.2 kB / 0.5262 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.3998, allocations: 0.7051 MB / 0.5268 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.174e-05/0.3999, allocations: 16.58 kB / 0.5269 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.4, allocations: 16.06 kB / 0.5269 GB, free: 13.52 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4, allocations: 0 / 0.5269 GB, free: 13.52 MB / 398.1 MB Notification: Performance of Templates: time 0.005139/0.4051, allocations: 1.734 MB / 0.5286 GB, free: 12.95 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches