Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 109.5 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.001202/0.001202, allocations: 188 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.428/1.428, 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.2247/0.2247, allocations: 44.19 MB / 336.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.89 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3911, allocations: 60.82 MB / 0.519 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002756/0.3939, allocations: 1.713 MB / 0.5207 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.3953, allocations: 0.8817 MB / 0.5215 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.882e-05/0.3954, allocations: 1.156 kB / 0.5215 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.3958, allocations: 49.42 kB / 0.5216 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.3961, allocations: 60.88 kB / 0.5216 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.3965, allocations: 109.1 kB / 0.5217 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.3967, allocations: 97.16 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3968, allocations: 11.22 kB / 0.5218 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.965e-05/0.3969, allocations: 41.73 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.741e-05/0.3969, allocations: 25.56 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.397, allocations: 7.781 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.3971, allocations: 46.8 kB / 0.5219 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.733e-05/0.3972, allocations: 23.91 kB / 0.522 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.3972, allocations: 46.5 kB / 0.522 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.3975, allocations: 124.5 kB / 0.5221 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3975, allocations: 1.766 kB / 0.5221 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3975, allocations: 0 / 0.5221 GB, free: 1.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.3975, allocations: 3.938 kB / 0.5221 GB, free: 1.531 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.0005198/0.398, allocations: 433.8 kB / 0.5225 GB, free: 1.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3981, allocations: 9.062 kB / 0.5226 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/0.3981, allocations: 20.05 kB / 0.5226 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.3984, allocations: 218.1 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3984, allocations: 6.344 kB / 0.5228 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.3985, allocations: 11.19 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.3986, allocations: 49.56 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3986, allocations: 4.453 kB / 0.5229 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3986, allocations: 5.156 kB / 0.5229 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3987, allocations: 0.75 kB / 0.5229 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.02e-05/0.3987, allocations: 18.38 kB / 0.5229 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.3991, allocations: 297.9 kB / 0.5232 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.3992, allocations: 59.28 kB / 0.5232 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.865e-05/0.3993, allocations: 21.34 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.3993, allocations: 3.984 kB / 0.5232 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.3994, allocations: 74.66 kB / 0.5233 GB, free: 420 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3995, allocations: 0 / 0.5233 GB, free: 420 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005126/0.4, allocations: 182.6 kB / 0.5235 GB, free: 324 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.4, allocations: 57.11 kB / 0.5235 GB, free: 256 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.4003, allocations: 257.9 kB / 0.5238 GB, free: 108 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.4003, allocations: 31.83 kB / 0.5238 GB, free: 72 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.4003, allocations: 114.8 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.4004, allocations: 26.77 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.887e-05/0.4005, allocations: 25.53 kB / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4006, allocations: 328.3 kB / 0.5243 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-05/0.4007, allocations: 25.45 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.4008, allocations: 35.77 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.4009, allocations: 61.3 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4009, allocations: 0.625 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001943/0.4011, allocations: 106.8 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4011, allocations: 6.219 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4011, allocations: 0 / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.4012, allocations: 1.25 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.931e-05/0.4012, allocations: 15.27 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4013, allocations: 2 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.939e-05/0.4013, allocations: 7.172 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.4013, allocations: 10.34 kB / 0.5245 GB, free: 15.45 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.0001094/0.4015, allocations: 139.9 kB / 0.5247 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.4015, allocations: 15.38 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.4015, allocations: 19.61 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4015, allocations: 1.75 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4016, allocations: 0.6562 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.4016, allocations: 4.875 kB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006998/0.4023, allocations: 405.4 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4023, allocations: 2.234 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.4023, allocations: 12.41 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4023, allocations: 1.438 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.4024, allocations: 9.906 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4024, allocations: 1.031 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4024, allocations: 1.188 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.4026, allocations: 206.7 kB / 0.5253 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.4027, allocations: 93.45 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.4027, allocations: 10.03 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.4028, allocations: 7.453 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.4028, allocations: 5.734 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.4029, allocations: 7.531 kB / 0.5255 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.4031, allocations: 199.5 kB / 0.5256 GB, free: 14.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4031, allocations: 1.844 kB / 0.5256 GB, free: 14.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003129/0.4034, allocations: 25.39 kB / 0.5257 GB, free: 14.53 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.001095/0.4045, allocations: 464.9 kB / 0.5261 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.4047, allocations: 56.36 kB / 0.5262 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4047, allocations: 5.438 kB / 0.5262 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.08e-05/0.4048, allocations: 31.3 kB / 0.5262 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.4051, allocations: 31.98 kB / 0.5262 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005934/0.4057, allocations: 272.8 kB / 0.5265 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.4061, allocations: 0.7239 MB / 0.5272 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.873e-05/0.4062, allocations: 16.39 kB / 0.5272 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.4062, allocations: 24.78 kB / 0.5272 GB, free: 13.37 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4063, allocations: 0 / 0.5272 GB, free: 13.37 MB / 398.1 MB Notification: Performance of Templates: time 0.006078/0.4123, allocations: 1.775 MB / 0.529 GB, free: 12.75 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches